1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-04-01 22:50:07 +03:00

1138 Commits

Author SHA1 Message Date
Michail Vourlakos
3789f3c178 improve adding applets through dragging responsive
--fix all events identifications from DragMove and
DragExit etc. in containment::qml part and all drags
flags are calculated only at DragEnter! This fixes
the DragMove signaling and all DragMove signals are
sent correctly.
It needs to be fixed also for Tasks plasmoid because
every time the mouse hovers the Tasks Plasmoid then
the DragMove signals are NOT SENT as they should.
2019-05-16 23:20:51 +03:00
Michail Vourlakos
927c518a6d track applets mouse click events differently
--the applets mouse click events are now tracked
for View::MouseSignals tracking mechanism. This
way no MouseArea is used overlaied over the applets
for the mouse click events. In that way the applets
are using their own built-in functionality for mouse
click events and at the same time for Latte is tracking
only the neutral areas for this meaning the applets external
margins in order to obey Fitt's Law

BUG: 406215
2019-05-16 22:27:09 +03:00
Michail Vourlakos
93528d3164 fixes for clearing parabolic effect zoom
--case 1: first left applet neighbour of Tasks was not
clearing its zoom if the mouse was entering too fast
the Tasks applet from the applet direction
--case 2: first task in Tasks was not clearing its zoom
when the applet triggering the clear zoom effect was too
far from the Tasks

BUG: 401294
2019-05-16 17:44:25 +03:00
Michail Vourlakos
be25a3b145 improve debug graphics mode visuals 2019-05-14 22:20:32 +03:00
Michail Vourlakos
844dc8096c fix startup warnings 2019-05-12 17:07:24 +03:00
Michail Vourlakos
eb96b52866 disable hover/clicked animations for applets
--in order to show built-in hover/clicked animations
for applets, the applets must be Squared/with no
Plasma behavior and the chosen Indicator to not
provide hover or click animation
2019-05-12 03:07:46 +03:00
Michail Vourlakos
ae4578433c dont track windows for AutoHide mode
--add initialization of values for views
tracking hints when enabled becomes false
--add some debug messages to be used when
we want to test out things
2019-05-12 00:52:56 +03:00
Michail Vourlakos
a6b8fbcaff consider view::hidden state after slide-out 2019-05-11 09:08:18 +03:00
Michail Vourlakos
a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
2019-05-09 17:12:57 +03:00
Michail Vourlakos
29157f4636 refactor:rename managedLayout to layout/viewLayout 2019-05-09 00:13:17 +03:00
Michail Vourlakos
6f47b7c4c8 rename Rectangled TO Square for Indicators 2019-05-08 21:48:35 +03:00
l10n daemon script
e8d79632bd SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-05-08 05:41:19 +02:00
Michail Vourlakos
9e9990e2df increase criteria for applets size parab.effect
--the criteria in order to track when an applet can
be zoomed or not have increased. The limit is now
specified from (iconSize+thickMargins) for applets
2019-05-02 10:10:54 +03:00
Michail Vourlakos
4092a98654 dont show hidden applets in liveEditMode 2019-05-02 10:01:06 +03:00
Michail Vourlakos
ac6454892e fix type for vertical indicators 2019-05-02 01:10:19 +03:00
Michail Vourlakos
98fd21131e Revert "fixes for applets margins/indicators"
This reverts commit 99ff8c198eb4d8fb04f28eb9483f797b611e69a5.
2019-05-02 01:04:55 +03:00
Michail Vourlakos
c38e3016de update hidden state after slide-in
BUG: 406415
2019-05-02 00:10:29 +03:00
Michail Vourlakos
fc9b683faf restore main layout anchoring animation 2019-05-01 23:48:03 +03:00
Michail Vourlakos
99ff8c198e fixes for applets margins/indicators 2019-05-01 20:39:12 +03:00
Michail Vourlakos
d1fc95d934 dont follow Fitt's Law when not at the scredge 2019-05-01 20:15:37 +03:00
Michail Vourlakos
5fbdf19b78 fixes for edit mode 2019-05-01 17:39:52 +03:00
Michail Vourlakos
13cb58d54a improve badges borders colors 2019-04-23 19:00:53 +03:00
Michail Vourlakos
a2566d1414 move dodgeAllWindows to windowtracker 2019-04-23 10:55:27 +03:00
Michail Vourlakos
95e141346e update applets container
--fix separators, spacers corner cases behavior
--dont apply hidden spacers for separators and
spacers
--remove the plasma panel spacer reference which
is deprecated and not used any more
2019-04-22 12:36:46 +03:00
Michail Vourlakos
77f7d27c83 enable lock button for systray 2019-04-22 00:10:52 +03:00
Michail Vourlakos
d8c294aada compute better scrolling area thickness 2019-04-21 16:27:49 +03:00
Michail Vourlakos
f572970a95 add option for Tasks scrolling 2019-04-21 16:27:49 +03:00
Michail Vourlakos
4b92a87c41 update fill(s) applets appropriately
--more specific when maxLength is changed
in editMode and !inconfigureAppletsMode
2019-04-21 16:27:49 +03:00
Michail Vourlakos
6710be3ae5 update plasmoid to support scrolling 2019-04-21 16:27:48 +03:00
l10n daemon script
32904be361 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-04-20 05:58:30 +02:00
Michail Vourlakos
f33b61d6cf simplify original applet behavior enablement
--restores tooltips for systray when the Latte
tooltips are not enabled

BUG: 405591
2019-04-17 22:01:17 +03:00
Michail Vourlakos
9ce7ba35bb simplify mouse signals from Latte::Views 2019-04-17 20:17:28 +03:00
Michail Vourlakos
8a99a9249b improvements for !compositing mode
--fixed struts gap for !compositing mode in order
to handle the strange kwin behavior. Kwin under
!compositing removes 1px. from the struts specified
by windows
--plenty of fixes concerning automatic coloring
under !compositing mode
2019-04-17 09:39:54 +03:00
Michail Vourlakos
43a007c39b fix coloring in !compositing && inConfigureApplets
--when the panel trasparency was set under 40% the
coloring was broken in some layouts
2019-04-17 09:06:48 +03:00
Michail Vourlakos
d3ab078070 improve panelSpacing for !compositing 2019-04-17 08:57:44 +03:00
Michail Vourlakos
499c4eb1d1 update !compositing panelbackground used until now
--following plasma approach and use always
even for !compositing mode the widgets/panel-background
svg file. This way when Latte and Plasma panels are
combined there is uniformity between them.

BUG: 406597
2019-04-16 23:55:39 +03:00
Michail Vourlakos
7a11670e33 introduce AppletsContainer for LayoutsContainer 2019-04-16 23:55:39 +03:00
Michail Vourlakos
4fe515fb8e fixe !compositing behaveAsPanel sizes calculations
--this patch positions correctly behaveAsPanel view
types in !compositing mode concerning and taking into
account maxLength and offset
--the patch introduces also an AppletsContainer to
substitute all three layouts of LayoutsContainer
2019-04-16 23:55:38 +03:00
Michail Vourlakos
6505e8797f send mouse signals from View to containment
--this is side-way path for mouse events and
more specific the mouse pressed, released
events to be sent from parent window to its
qml containment part. This way it is possible
to keep the original plasma applet behavior
such as original plasma tooltips and provide
Latte specific functionality such as animated
clicks from indicators.

NOTE: An investigation - testing took place in
order to check if this approach could be also used
for mouseMove events to be used for applets parabolic
effect. The result was that this was not possible because
there were too many signals and too much calculations
too identify for which applet the signal belonged to.
The parabolic effect was not fluid in that case and
could not catch up.
2019-04-15 22:00:22 +03:00
Michail Vourlakos
bcbc822541 animate editBackground for disabledAnimations
--fix warnings
2019-04-15 21:13:16 +03:00
Michail Vourlakos
da3a60357a disable par.effect when animations are disabled 2019-04-15 21:13:16 +03:00
Michail Vourlakos
21825369bb small adjustements
--save applets layout when the user chooses a
different alignment
--dont animate offset if the edit background is
not shown in full thickness
2019-04-15 21:13:16 +03:00
Michail Vourlakos
105655310a improve edit mode sliding in animation 2019-04-14 09:40:48 +03:00
Michail Vourlakos
2963a1fc2f apply all colors from applyTheme
--infrastructure is now ready to expose to
applets the full color paletter and not
make compromises by choosing only from
original plasma theme for some of the
exposed colors
--dont reverse colors for selection group.
It creates a much nicer effect from user point
of view to keep the highlighting colors the
same for both the normal and reversed plasma
themes.
2019-04-14 00:37:16 +03:00
Michail Vourlakos
1d1f881032 identify original plasma applet behavior better 2019-04-14 00:18:31 +03:00
Michail Vourlakos
ecb7bd8e35 simplify code 2019-04-13 23:53:14 +03:00
Michail Vourlakos
67a4a4ab14 remove deprecated options
--reversed, dotsOnActive and
threeColors that were related
to Latte indicator
2019-04-13 20:37:44 +03:00
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