1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-03 20:58:25 +03:00

941 Commits

Author SHA1 Message Date
Michail Vourlakos
2486e3bef4 impr.original plasma applet identification criteria 2019-04-13 19:13:48 +03:00
Michail Vourlakos
99ffe9d418 improvements for indicators 2019-04-13 17:05:29 +03:00
Michail Vourlakos
03f507b09c improve liveediting for maxLength changes
--the user can now get visual feedback also for
Justify mode changes that are influenced by
maxLength and offset changes
2019-04-13 15:16:36 +03:00
Michail Vourlakos
b4e55e4e87 fix applets indicator size
--also dont count internalMargins
for isSeparator and isSpacer applets
2019-04-13 09:49:08 +03:00
Michail Vourlakos
af65e8ab48 flexible Tasks page
--introduce android clicke animation for Plasma
style
2019-04-13 08:27:59 +03:00
Michail Vourlakos
d95d861b64 add new options to indicators interface
--providesHoveredAnimation, in order to disable
the Latte one
--providesClickedAnimation, in order to disable
the Latte one
--needsMouseEventCoordinates, in order to know
when the mouse pressed e.g. creating animations
like the android way
2019-04-13 00:46:31 +03:00
Michail Vourlakos
20a57f3c15 improve edge changing animation 2019-04-12 21:58:19 +03:00
Michail Vourlakos
30174bbb00 fix parabolic effect for vertical views 2019-04-12 14:40:30 +03:00
Michail Vourlakos
8fa495ce7e update tooltips for edit settingsOverlay 2019-04-12 14:40:30 +03:00
Michail Vourlakos
5665efd31f add a publishing state to simplify things
--this way the syncGeometries calculations are
reduced
2019-04-11 23:42:51 +03:00
Michail Vourlakos
db6a4e9d0d make struts and Always Visible lighter
--support them also in Live Editing
2019-04-11 22:24:45 +03:00
Michail Vourlakos
9d76dc7284 consistent metrics between different states 2019-04-11 21:38:07 +03:00
Michail Vourlakos
86c7e72abf add option to enable/disable active window dragging 2019-04-11 20:41:08 +03:00
Michail Vourlakos
243ece638c update editVisual transparency through emptyAreas 2019-04-11 20:20:56 +03:00
Michail Vourlakos
f7484eba47 update indexes after loading Justify alignment 2019-04-11 20:07:21 +03:00
Michail Vourlakos
7e9064eb5e track last active window properly at per view 2019-04-11 20:04:22 +03:00
Michail Vourlakos
a293e8c92a introduce EnvironmentActions area
--move the EnvironmentActions login exactly
below the Layouts layer and make its size to
follow always the appropriate size and placement
2019-04-11 19:34:57 +03:00
Michail Vourlakos
fccbb64808 move LayoutsContainer in its own folder 2019-04-11 17:09:50 +03:00
Michail Vourlakos
f497d4ae62 improve updateIndexes at Justify alignment changes
--fix how applets are identifying their index when the
user switches alignments from Justify to Another and
vice versa. More specific this patch helps in order to
not break the parabolic effect between alignment changes.
2019-04-10 23:08:49 +03:00
Michail Vourlakos
d5b294b88e improve vastly Justify Live Editing experience
--the entire Justify to Another alignment experience
has been improved a lot and made much smoother than
in the past
2019-04-10 21:55:40 +03:00
Michail Vourlakos
de56372bf9 fixes for Splitters and LiveEditing 2019-04-10 18:24:56 +03:00
Michail Vourlakos
71c2036096 improvements for LiveEditing and Justify case 2019-04-10 18:24:41 +03:00
Michail Vourlakos
05c45dad5e hide justify splitters for liveEditing mode 2019-04-10 18:24:41 +03:00
Michail Vourlakos
4048edc7f9 Option to set Settings size at per screen level
--the Latte Settings window tries its best in order
to provide a nice experience concerning its width/height
ratio and a width size that is best for its contents.
There are cases that this fails so the user in the
best to set it right. Latte now provides two shortcuts
Meta+Scroll, that changes the width scale ratio and
Ctrl+Scroll, that changes the height scale ratio when
settings are in Basic mode.
The previous shortcuts must be applied when the mouse
is over the empty areas in the Settings View window.
2019-04-09 21:01:50 +03:00
Michail Vourlakos
6290ec33cf update margins for Rearrange button 2019-04-09 21:01:50 +03:00
Michail Vourlakos
260307d16f improve identification of Rearrange applets button
this improvement was mentioned at: D20249
2019-04-06 13:54:48 +03:00
Michail Vourlakos
3e19e553f1 add IndicatorInfo to have a global reference 2019-04-04 22:49:49 +03:00
Michail Vourlakos
915bb1bd39 provide visual limits for margins/padding
--based on the current indicator there minimum
thickness and indicator padding can be altered.
Providing some visual feedback for the user to
understand these limits is a good practice.
2019-04-04 18:38:54 +03:00
Michail Vourlakos
6d84b6eea2 better way to identify applet plasma behavior
--there is a combinantion of settings that enables
plasma original applet behavior.
1. the applet is locked and is not using parabolic effect
2. the zoomfactor === 1 and the user has not activated
title tooltips
2019-04-04 17:23:17 +03:00
Michail Vourlakos
1503dbe247 take into account indicator minimum paddings 2019-04-04 16:38:00 +03:00
Michail Vourlakos
89e0eaa3ee dont animate clicking for locked applets 2019-04-04 14:29:41 +03:00
Michail Vourlakos
1210e708c9 support automatic roundness to !compositing 2019-04-03 22:24:21 +03:00
Michail Vourlakos
d9a2e4c948 make text translatable 2019-04-01 18:33:36 +03:00
Michail Vourlakos
834bb56194 provide panel transparency info to indicators 2019-04-01 17:16:40 +03:00
Tranter Madi
5fe27176fa Center align shortcut badges when iconSize < 48
Summary:
When iconSize is not big enough, center aligned shortcut badges look better than top-left aligned ones.

BUG: 406037

Test Plan:
- When iconSize < 48: shortcut badges are center aligned
- When iconSize >= 48: they are top-left aligned

For example, with iconSize = 32:
Before:
{F6736365}
After:
{F6736366}

Reviewers: #latte_dock, mvourlakos

Reviewed By: mvourlakos

Subscribers: mvourlakos, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D20128
2019-03-31 13:37:45 +07:00
Michail Vourlakos
d4b2589d0c expose isPressed state to indicators 2019-03-31 02:10:57 +02:00
Michail Vourlakos
6569160195 improve icon colors for applets
--provide a background and glow color for those
applets that do not provide an icon to render
2019-03-29 22:48:36 +02:00
Michail Vourlakos
69bbb82841 improve icons colors names 2019-03-29 02:18:10 +02:00
Michail Vourlakos
262dfa6b09 Indicators protocol change attributes to level
--introduce a new class called level which contains
all the needed information concerning indicator level
and at the same time the bridge that provides information
for the specific indicator states
2019-03-27 21:03:17 +02:00
Michail Vourlakos
10ee2d9ab8 fixes for reversed state of config window 2019-03-27 21:03:17 +02:00
Michail Vourlakos
614ec3ea48 move shortcut badges at top left corner
--this way the elements are observed better and
the user is able to both watch out the items and
the shortcut that activates them
2019-03-27 21:03:16 +02:00
Michail Vourlakos
71d3979f0c separate liveEditingMode and inConfigureApplets
--try to improve experience for liveEditingMode and
inConfigureApplets. LiveEditingMode should be as much
as nearer to the standard experience and inConfigureApplets
state should provide nice coloring
2019-03-24 20:23:03 +02:00
Michail Vourlakos
7c59929b28 fixes for shadows calculations 2019-03-24 20:11:12 +02:00
Michail Vourlakos
28ef36a774 simplify indicators names 2019-03-24 18:44:27 +02:00
Michail Vourlakos
9a464226bd improve loading for indigator config ui
--in order for all indicators infrastructure to
load the plugin correctly the configuration and
the component elements of ViewPart::Indicator
must be loaded first correctly and afterwards
the relevant Indicators to follow
2019-03-24 14:54:46 +02:00
Michail Vourlakos
0b90411b1d IMPORTANT: All new Indicators architecture
--this huge commit contains all the changes needed
in order for Latte to load Indicators dynamically
from their own packages
2019-03-24 12:17:29 +02:00
Michail Vourlakos
ef0ec2831b apply Smart coloring also for locked editMode 2019-03-20 17:14:10 +02:00
Michail Vourlakos
14417a69f1 improve outline color calculations 2019-03-18 23:45:17 +02:00
Michail Vourlakos
ca80a7932f introduce LatteComponents to be consumed globally
--this is needed in order for indicators plugins in
the future to provide the same UI elements with the
rest of LatteView Settings windows
2019-03-18 19:35:53 +02:00
Michail Vourlakos
28d197484e fix warnings 2019-03-17 16:14:19 +02:00