Commit Graph

313 Commits (2b63ff710b88073833f83c0920984b0350089e7d)

Author SHA1 Message Date
Michail Vourlakos 64838ff0f3 speed up the fastrestoreanimation
Michail Vourlakos 271810d095 use TaskDelegate activateTask to activate a task
Michail Vourlakos 9486342dc1 add a small shadow at tasks number
Michail Vourlakos ee6c831b01 fix #510,support correctly global shortcuts
--in X11 now the globalshortcuts class takes into
account if the user presses any modifier in order
to hide the dock
--if the dock is hidden whenever a relevant global
shortcut is triggered the dock is shown and number
indicators for the tasks are shown
Michail Vourlakos d4a5370ef2 use same design for all separators
Michail Vourlakos 1eeac88f36 update colors for unity counters
Michail Vourlakos 82173e0bb0 fix #509,fix typo for window actions
Michail Vourlakos b619b2e0d2 fix #443,support unity message counter
Michail Vourlakos fa89bd2053 fix #503,show previews in other winmanagers
Michail Vourlakos 88ddfe32de fix , block click animation
Michail Vourlakos 458750aa06 fix #496,crash when changing to Alternative Session
-- a rare crash when changing to Alternative Session
through Tasks context menu
Michail Vourlakos cfca7fadd4 dont paint items when shadow is activated
--this way we gain a few cpu cycles because they
are not painted when the item is painted through
the Shadow qml item
Michail Vourlakos 05c2123708 go faster to directRender state
--improve more the parabolic animation and
fix an issue that was based on the time window
between smooth animation and directRender when
the mouse activates the parabolic effect in the
begin.
Michail Vourlakos 4eb0645474 fix #489,option for mouse wheel actions
Michail Vourlakos 6941a5c011 reduce parabolic messages and debug lines
Michail Vourlakos 51b600725d fix parabolic effect and Tasks thickness
--this fixes the Tasks plasmoid thickness and
improves a small breakage in the parabolic effect.
The Tasks thickness is going to maximum when there
is a hoveredInded in plasmoid or in containment.
--the previous fix, fixes also a small breakage in
the parabolic effect animation. The breakage was
appearing when going from
applet->applet separator->task and directRender is
enabled
Michail Vourlakos 19af87417e add disabled debug messages for parabolic signals
--these debug messages can be activated in the future
in order to identify in the future cases that the
parabolic effect doesnt work as it should
Michail Vourlakos e0e5efa9f8 improve task remove animation
--this improves a lot the task remove animation
when there are separators around
Michail Vourlakos b94f2c948f protect hidden spacers on removing animation
--the remove task animation is more stable now
Michail Vourlakos ee48e70e30 fix warnings on startup
Michail Vourlakos e44917c404 internal separator look identical to applet separa
Michail Vourlakos 155e037d0f disable all spacers for all separators
--this makes the spacers to overlap with
each other
Michail Vourlakos eb5b70d9a4 dont hide internal separator yet
--hide debug messages
--dont hide internal separato yet if there
are neighbour separators next to it because
it is not positioned always correctly yet
Michail Vourlakos b843505410 hide internal separator if it is not needed
Michail Vourlakos 61539ff6c8 plasmoid trigger properly messages to applets
--this commit takes into account applets separators
and the internal separator so that the number of
separators that are subsequent do not influence the
parabolic effect animation
Michail Vourlakos fbf952f606 fix binding loops that broke separators experience
Michail Vourlakos f0e7992d2a increase separator size on dragging
--this way we can move the surrounding launchers to
catch up also edges
Michail Vourlakos b79b375715 access internal plasma separator from contextmenu
--all the functionality concerning the internal separator
is moved completely into the plasmoid. Now the add/remove
of the internal separator can be found through the Tasks
contextmenu as long as we are in editMode (that is showing
the configuration window)
Michail Vourlakos debea91ddc reduce messages for clearing parabolic effect
Michail Vourlakos 3a0ac83c46 fix #480,support properly separator widgets
Michail Vourlakos ca65e2c4f0 delay a lot more the fastrestoreanimation
--this looks a lot better when a task is in
attention and the user uses its mouse to access
that task
Michail Vourlakos 56865f36dd support applet separators around tasks plasmoid
Michail Vourlakos 988448345f add margins to applet separators
--fix for indicating the separator on startup
--improvements in parabolic signaling
Michail Vourlakos afaa7349ea fix launcher animation
--update launcher animation to work properly
with the new parabolicManager
Michail Vourlakos fa9b313c92 use more the ParabolicManagers
-- add even better clearZooms based on
signaling from ParabolicManagers
Michail Vourlakos 528a857b47 apply a proper clearing zoom for applets
--this is finally used properly through the
ParabolicManagers new architecture. Any old
problems concerning applets that didnt clearing
their zoom should be fixed totally now!!
Michail Vourlakos a16ed0e9ef add clearing functions for parabolic managers
Michail Vourlakos a9df1d6745 add ParabolicManager in the plasmoid
--move all the logic around parabolic effect signals
into one place, ParabolicManager. The ParabolicManager
is responsible for triggering all the messages to tasks
that are neighbour to the hovered task. This will
help a lot to catch cases such as separators and proper
clearing zoom.
Michail Vourlakos b30862a5be protect the attention animation from mouse hovering
--when the attention animation is played for a task
and the user hovers that task, the animation is ended
smoothly and if the mouse is still hovering the task,
the tasks are restored correctly
Michail Vourlakos 03180c61e7 force sizes initialization on formFactorChange
Michail Vourlakos 0a771531e1 fix #480,support new internal separator architect
--the internal separator codebase has been simplified
a lot and uses a new approach that provides a smoother
parabolic effect. This is part1 concerning improve separators,
in part2 applets separator will to try to be improved
Michail Vourlakos 008c57d480 fix #478,correct positioning on formFactor changed
--when changing form factor sometimes the tasks are not
positioned correctly, in such case we make a fast reinitialization
for the sizes
Michail Vourlakos 79db299a7f fix positioning of internal separator
Michail Vourlakos aab0b8d523 support new implementation for internal separator
--new architecture for the internal tasks separator,
one of which we can build upon for the future... No
breakage in the animation now, it is much smoother and
cleaner... but... it is needed to update all the pieces
around in order to work properly on all cases...
Michail Vourlakos 1ada1ebae3 fix #477,disable wheel for internal tasks separator
Michail Vourlakos 7c51065fcb fix #468,lock parabolic animation !editMode
--lock properly the parabolic animation for Tasks
plasmoid when the user right clicks the plasmoid
Michail Vourlakos 7020e58289 remove no needed check in ContextMenu
Michail Vourlakos 930c617c86 restore jump lists for plasma 5.9
Michail Vourlakos afe0dd7514 fix #471,check in plasma 5.10 functions exist
--we check not only the plasma frameworks version
but if jumplists and places functions exist also
Michail Vourlakos 84e390c312 reduce warnings
Michail Vourlakos 8fea5d6a83 reduce warnings
Michail Vourlakos c37a959ae2 reduce warnings
Michail Vourlakos 77f542a9f3 fix #470,crash the tasksmodel of maximized logic
--fixes in various typos introduced from the new
designs
Michail Vourlakos 49d20f4617 fix missing typo
Michail Vourlakos 4b76fd1004 dont show Add Widgets when Latte in the desktop
Michail Vourlakos 7365e1f4bc move plasmoid config files in their own directory
Michail Vourlakos c6a8ed09b5 refactor Task code in plasmoid
--refactore the previous enormous classes
TaskDelegate and TaskIconItem and in general
put anything relates to Task into its own
specific directory
Michail Vourlakos ede4eb6496 reduce warnings
Michail Vourlakos abc45e4c4d include statesLine metrics when task isStartup
Michail Vourlakos 515384dd48 improve heuristic of neighbour tasks
Michail Vourlakos 950cb8f073 fix #382,support jumplists and places, contextmenu
-- support the new features from plasma 5.10
and provide jumplists and places functionality
Michail Vourlakos 291f579dc9 improve the attention color animation
Michail Vourlakos 42d7ae4b5e indicate correctly the minimized windows state
--this commit is very important as we from now on
we can now the different states from windows inside
a group
Michail Vourlakos 35c90393ae improve coloring for different window states
Michail Vourlakos bed027e6e5 fix some coloring for different window states
Michail Vourlakos a4cf8055fa improve task needs attention design
--when a task needs attention the task bounces for
8500ms instead of 6500ms
--the color animation of needs attention was
improved in order to not drain the cpu cycles
--all animations concerning needs attention,bouncing
and color are stopped after the 8500ms timer
--the bounce animation is not stopped in the middle
but it waits each bounce to finish in order to make the checks
Michail Vourlakos 7c07385c10 fix #453,substitute absolute build path references
--fixes the kdesrc-build installation
Michail Vourlakos e32bac0477 fix #450,active win indicator in win previews
Michail Vourlakos 8c8e98478d update signals for updateScale in TaskIconItem
Michail Vourlakos 7e104ee3a2 mouse wheel to cycle through groupped tasks
Michail Vourlakos e0f7b9b220 fix #449,add "cycle through tasks" action
--added the new cycle through tasks behavior to
tasks actions
Michail Vourlakos 697f375f1a remember last active window in a group of tasks
--currently this is used by the super+taskno in order
to activate the correct window in every group
Michail Vourlakos d5efbce02e fix #445,fix audiostream align for right panel
Michail Vourlakos e68a9e78e1 remove more trebbling from parabolic effect
--disable all Math.round(...) from parabolic
effect calculations because this was enough in order
to miss just one pixel that was able to create
a small trebbling
Michail Vourlakos 3a9a83634f debug message for parabolic effect
Michail Vourlakos 5c6a3a9d23 fix clearzoom when hover,no hoveredcapable applets
Michail Vourlakos 3cfcc909c5 set direct render animation time to 0
Michail Vourlakos f3581a750b Revert back two last commits
--the expose of directRenderAnimationTime broke
the parabolic effect experience so I am reverting them
back
Michail Vourlakos d15b84319c fix directRenderAnimationTime
--use a small duration of 20ms for the
directRenderAnimationTime in order to add a bit
more smoothness in the parabolic animation
when directRender is activated
Michail Vourlakos 46106a5bd1 expose directRenderAnimationTime
Michail Vourlakos c1bff5a1a9 port directRender code to new signaling
Michail Vourlakos 7482182e24 set global direct render animation time
Michail Vourlakos 6fb56f90b1 fix #431,support again the internal separator
--support again the internal separator based on
the new signaling for the parabolic effect
Michail Vourlakos 00ce7931dc hide preview on clearZoom
Michail Vourlakos adba5b6f2a simplify parabolic signalling
--this finally creates a very concrete parabolic
animation experience
Michail Vourlakos fd4af3f0f1 port plasmoid into new arch for parabolic effect
Michail Vourlakos 2e72ed0a5b fix #442,clearZoom of latteApplet after fast hover
Michail Vourlakos 6eb65facca disable init messages for parabolic effect
Michail Vourlakos 1cdd5fde9a reduce flickering of parabolic effect
--reduce flickering for parabolic effect when
tasks are combined with applets
Michail Vourlakos 987cfba048 improve clearing parabolic effect calculations
--adding the internal separator made the things a little
more complicated. This commit improves the clearing
calculations in order to not conflict the messages
with each other and trying to restore all applets
and tasks that are not considered for the parabolic
effect.
Michail Vourlakos e39e796b28 remove some init signals from TaskDelegate
--these init signals were breaking the parabolic
animation in the edges between the Task plasmoid and
neighbour applets
Michail Vourlakos df9edc5754 fix #441,expose add widgets action in context menu
Michail Vourlakos 38fda1f688 smooth animation for show/hide badge infos
Michail Vourlakos a78b90fb9e fix #440,disable audio streams during dragging
--re-initialize also audio streams after dragging
has finished
Michail Vourlakos e891f0bf05 fix #440,dont show audio icon in wrong task
Michail Vourlakos 8810626422 dont calculate parabolic effect in some cases
--this is when there are no animations or when
the zoomFactor=1
Michail Vourlakos c4171dff86 fix #438,add wheel events
--by using wheel events the volume can
be increased/decreased
Michail Vourlakos d18d4eb037 update audio icon based on volume
Michail Vourlakos 044143ef92 add opacity for muted streams
Michail Vourlakos 4eebd8e34c disable audio streams for launchers