Commit Graph

369 Commits (13cecfa348a1c9b2128fd1bb34c1b0a85258906e)

Author SHA1 Message Date
Michail Vourlakos 6b34a5118e add showGlow property to GlowPoints 7 years ago
Michail Vourlakos c3a9d09ecf fix int.separators indexes on dragging
--when there were many internal separators in the row
and the user was dragging a task the internal separators
indexes afterwards were broken. This fixes this by
forcing the separators to update their indexes after
the user finishes dragging.
7 years ago
Michail Vourlakos b30caca172 fix contextmenu blocking parab.effect 7 years ago
Michail Vourlakos f2f2a469d3 improve add/remove internal separators mechanism
--the user now can add an internal separator and set
its position also by taking into account in which task
the context menu is shown
--the user now can remove any internal separator wants to
by showing its context menu options in editMode
7 years ago
Michail Vourlakos a4a5a61574 load spacers debug visuals ondemand 7 years ago
Michail Vourlakos 147529dd72 fixes for tasks spacers for multiple separators 7 years ago
Michail Vourlakos 83c901de0e hide internal separators in some cases
--hide internal separators when overlap and show
only one
--hide internal separators at start or end of the
plasmoid, the user can us separator applet in those
places
--add safety array checkes in order to avoid any
crashes from accessing out-of-arrays elements
7 years ago
Michail Vourlakos c25a088c5e fixes for animations is tasks spacers 7 years ago
Michail Vourlakos 109651f2d1 update task pseudo indexes for shortcuts 7 years ago
Michail Vourlakos aea1f73bd8 update int.separators size in editMode 7 years ago
Michail Vourlakos 9d8c99768f update containment spacer to multiple internal 7 years ago
Michail Vourlakos 63fa3c4b1d drop internalSeparatorHidden from parabolicManager
--improvements for new separators architecture
7 years ago
Michail Vourlakos ae8669169b simplify hidden spacers for tasks/applets 7 years ago
Michail Vourlakos 24c9751f2e initial architecture for multiple int.separators
--make the single separator old architecture to
work correctly with the new multiple internal
separators architecture. Many things need to be
updated in order for this to work but lets make
one step at a time.
7 years ago
Michail Vourlakos 88108ac524 add option to debug timers
--this is especially useful in order to be sure that
there are timers that create unending loops
7 years ago
Michail Vourlakos 51f879d2a2 restore spacers on !containsMouse and inAttention
--when the mouse leaves the dock and a task is inAttentionAnimation
the spacers used for the animation should be restored
7 years ago
Michail Vourlakos 1dd9a30139 release connect signals ondestruction
--following issue from #730 more qml code
was found that wasnt releasing connect signals
properly. That could create crashes because
already deleted qml objects could receive such
signals. That was observed after qt>=5.9.2
7 years ago
Michail Vourlakos c6cd7d975a immediate showing tasks in !compositing
--trying to show all tasks in all states directly
when the environment is in !compositing
--block all animations (removals/showings) when
the environment is in !compositing
7 years ago
Michail Vourlakos 6e4321b650 improve attention bouncing experience
--add more animation phases in order to provide
a better experience for the inAttention bouncing
animation
--add visual debuggers for the spacers and padders
needed for the bouncing animation
7 years ago
Michail Vourlakos 2a2ccbdeda stabilize attentionAnimaton bouncing
--add also some visual spacers indicators for
debugging purposes
7 years ago
Michail Vourlakos 85c3d2dfa2 release mimicParabolic in order to not stuck 7 years ago
Michail Vourlakos 5a9e788d8f fix glitches for task inAttention bouncing 7 years ago
Michail Vourlakos 569fd5d702 animate properly margins of spacers
--this change fixes the glitch when a task
is going from in Attention bouncing to its exact
position relative to the parabolic effect
7 years ago
Michail Vourlakos 6ad899de9f remove signal binding at correct destruction 7 years ago
Michail Vourlakos 1eb36ff7de mimic ondemand the parabolic effect
--it is used to restore a task after bouncing
for taking users attention and the task
contains also the mouse
7 years ago
Michail Vourlakos 1e2ffb1b23 improve semantics 7 years ago
Michail Vourlakos 9932ae845e fix #730,crash introduced at qt 5.9.2
--move the release of signals manual bindings for
tasks delegates from onRemove event of the delegate
at Component.onDestruction. The crash was happening
when the code path(onRemove event) wasnt occuring,
so the bindings werent released.
7 years ago
Michail Vourlakos 5adfe4bca3 remove manual garbage collection from plasmoid 7 years ago
Michail Vourlakos f2b1ff48a8 remove deprecated code 7 years ago
Michail Vourlakos 397d169309 fix a glitch when changing activities
--when we go to an activity that has a launcher
and a window at the same time open that there
wasnt previously present we had a glitch
7 years ago
Michail Vourlakos 055996ebca dont play addedWindow animation when near parabAnim 7 years ago
Michail Vourlakos 4f758ee7df restore scale at tasks that change states
--tasks that change state (launcher,startup,window)
at the next state must look the same concerning
their zoom scale
7 years ago
Michail Vourlakos 7357df463e increase bouncing thickness 7 years ago
Michail Vourlakos 1a87d40611 block AddWindowAnim when task containsmouse 7 years ago
Michail Vourlakos 673d3006c2 block parabolicEffect when task inBlockingAnim 7 years ago
Michail Vourlakos 6b13c824a7 update properly onEnter in attention animation 7 years ago
Michail Vourlakos e68b3aed48 reenable show window added animation 7 years ago
Michail Vourlakos 507e42ee08 improve Attention interaction with parabolic effect 7 years ago
Michail Vourlakos 45e8401bdd fix Attention animation with parabolic effect 7 years ago
Michail Vourlakos 8ecef66d5d fix coloring in some badges
--a faulty check was using backgroundColor instead of
textColor for badges shown from global shortcuts indicators
--improve badges to understand the new url form of
plasma 5.11 launchers
7 years ago
Michail Vourlakos ff2870952e play removal animation for some windows also
--during assigning activities for a launcher
a window that had a launcher for the active
activity maybe doesnt have any more when it is removed.
in this cases the removal animation should be
played
7 years ago
Michail Vourlakos eaf49364ee fix #378, support multiple bouncing animations
--when two or more consequently launchers were bouncing
their animation was broken because they were changing
places. This patch catches these cases and provides
a proper way to show these animations.
7 years ago
Michail Vourlakos 51a1a1af5a improve margins for internal separator case
--enable task margins for neighbour separator
when the internal separator is hidden but there
is an applet separator at the edges and the task
is found two steps far from the edge e.g.
pos=1 or pos=tasksCount-2
7 years ago
Michail Vourlakos 0df95400d8 hidden internal separator at the edges
--The internal separator can be hidden when it is
found at the edges of Tasks Plasmoid, it creates a
more pleasant result. If the user wants separators at
the edges can always use the Separator plasmoid from
audoban. This fix would fix also the overlap
of internal sepator with external applet separator.
7 years ago
Michail Vourlakos faa3572d37 activate single window on scroll down always 8 years ago
Michail Vourlakos 9c03e7de33 enable missing bouncing animation flag 8 years ago
Michail Vourlakos 0f2e4e557d show correct icon when a window is removed 8 years ago
Michail Vourlakos ed327c4df3 remove code for proper icon in removal 8 years ago
Michail Vourlakos a4f31a9125 use the lastValidSourceName to paint the icon
--during removing a TaskDelegate the window is destroyed
in some cases and the icon provided by libtaskmanager
is a unknown pixmap. In such cases we should paint the
last valid one. That way it is always painted the correct
svg file even when removing a window that doesnt have
a launcher and the libtaskmanager provides an unknown
pixmap for it
8 years ago
Michail Vourlakos ec58ce6cf6 fix #679,block highlight windows for previews
--when both previews and highlight windows are enabled
then the user can use the window previews to highlight
windows
8 years ago
Michail Vourlakos a666f4f685 fix #678,provide a previewsDelay for latte plasmoid
--the user can add a previewsDelay value in ms in the
latte plasmoid General settings which can be found
in a layout file in order to change the delay which
a preview is needed to be activated. Values lower
than 150ms are ignored because they break the previews
experience by providing faulty previews
8 years ago
Michail Vourlakos b6e7173aad fix #666,dont minimize window with scroll wheel 8 years ago
Michail Vourlakos 0023e0496b fix #666,protect wheel action
--protect wheel actions in order to not trigger themselves
multiple times
--use a timer to achieve this goal in order to be able
to support also X11 systems that have previews enabled for
all windows (a behavior that normally breaks the isMinimized
state)
8 years ago
Michail Vourlakos fe0ec6ba42 fix #666,provide scroll wheel based on directions
--when the dock is hidden or in animation no mouse
wheel actions are accepted
--laucher: only the up action is accepted in order to
activate that launcher
--window: up action shows the window, if it is shown
nothing happens,
down actions, minimizes the window, it is is already
minimized nothing happens
--group: up/down to cycle through the windows
8 years ago
Michail Vourlakos 575dd5fa99 fix #669,publish tasks geometries in the same way
--there was an old code path that wasnt using the
new way of publishing tasks geometries. That is that
normalize the values in order to be always valid and
in the screen boundaries
8 years ago
Michail Vourlakos 83fd7fd112 bound Tasks ListView at its limits
--block dragging the entire ListView
--make tasks dragging lighter in resistance
8 years ago
Michail Vourlakos 2b63ff710b fix #669,block minimize geometries to screen limits
-- Magic Lamp effect doesnt like coordinates outside the screen and
width,heights of zero value... So we now normalize the geometries
sent in order to avoid such circumstances
8 years ago
Michail Vourlakos 42817d7a59 fix #664,make faster the launcher removal 8 years ago
Michail Vourlakos bb2f5936b4 improve parab.effect stability on first hovering 8 years ago
Michail Vourlakos 6833406509 improve dragging animations 8 years ago
Michail Vourlakos 54c2d2b17e play bouncing animation to the end
--for all animations speeds
8 years ago
Michail Vourlakos 9f5ab1397d support combining window previews and titletips 8 years ago
Michail Vourlakos 45add5988f fix #622,support title tooltips for hovered applets 8 years ago
Michail Vourlakos 959da04dfa improve tooltips visual parent thickness
--this way the previews and task name tooltips
are positioned much better. They dont overlap with
the panel or the tasks
8 years ago
Michail Vourlakos 8abc2e517a config option for task title tooltips 8 years ago
Michail Vourlakos 35b4cc56b5 support title tooltips for tasks 8 years ago
Michail Vourlakos e8fb9e9d22 hide task number when launcher is bouncing 8 years ago
Michail Vourlakos 8aff1cf694 reduce the thickness when bouncing launcher
--this is only for the case that the launcher is called
through a shortcut. The dock mask in that case uses the
midThickness and for that the bouncing launcher must be reduced
8 years ago
Michail Vourlakos ba3de5061f block zoom hovering on dock sliding in/out 8 years ago
Michail Vourlakos 62df2cf3ca reduce size of icon for audio stream 8 years ago
Michail Vourlakos f9ce9ffc9c fix #574,fix internal identification of tasks
--as in an older commit has been documented the qml
function childAt doesnt work propery for our ListView,
there are cases that returns an empty/null child. For this
reason we have implemented our own childAtPos function in
order to immulate the save behavior. Unfortunately there
wasnt a check in it that the items checked based on their
geometry they were actually TaskDelegate's. This fix not
only fixes bug #574 but also should provide a cleaner dragging
behavior, at least for the dragging phase
8 years ago
Michail Vourlakos 6c183e9eed improve identification of startups
--identify startups better in order to distinguish
them to those that belong to launcher and should be
shown immediately and those that dont belong in any
launcher and they shouldnt be shown
8 years ago
Michail Vourlakos 7d77ab5195 expose user specified shadows to qml 8 years ago
Michail Vourlakos 919af662e6 fix hasAudioStream binding loop 8 years ago
Michail Vourlakos 8794835f0b reenable a small animationstep in parabolic effect 8 years ago
Michail Vourlakos 0cc1e84ba8 dont play hoverAnimation when clicking 8 years ago
Michail Vourlakos 079604c3b6 disable mScale changes in clickAnimation 8 years ago
Michail Vourlakos 5bc1e3d66d combine audiostream badge with progress badge 8 years ago
Michail Vourlakos 0ce0feca0a fix #526,add toggleGrouping action 8 years ago
Michail Vourlakos be83d54339 fix #521,support syncing launchers for all docks
--this commit is the last for this to be supported.
It checks if the globalLauncherList is empty and in
such case when syncing is enabled the current dock
launchers are used
8 years ago
Michail Vourlakos cf7b820e2e sync launchers correctly between docks,def session 8 years ago
Michail Vourlakos d75dfa1a64 reduce blur for task numbers
--fix some type conversions for CircleText
8 years ago
Michail Vourlakos 64838ff0f3 speed up the fastrestoreanimation 8 years ago
Michail Vourlakos 271810d095 use TaskDelegate activateTask to activate a task 8 years ago
Michail Vourlakos 9486342dc1 add a small shadow at tasks number 8 years ago
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
8 years ago
Michail Vourlakos d4a5370ef2 use same design for all separators 8 years ago
Michail Vourlakos 1eeac88f36 update colors for unity counters 8 years ago
Michail Vourlakos b619b2e0d2 fix #443,support unity message counter 8 years ago
Michail Vourlakos fa89bd2053 fix #503,show previews in other winmanagers 8 years ago
Michail Vourlakos 88ddfe32de fix #502, block click animation 8 years ago
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
8 years ago
Michail Vourlakos 4eb0645474 fix #489,option for mouse wheel actions 8 years ago
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
8 years ago
Michail Vourlakos e0e5efa9f8 improve task remove animation
--this improves a lot the task remove animation
when there are separators around
8 years ago
Michail Vourlakos b94f2c948f protect hidden spacers on removing animation
--the remove task animation is more stable now
8 years ago
Michail Vourlakos ee48e70e30 fix warnings on startup 8 years ago
Michail Vourlakos e44917c404 internal separator look identical to applet separa 8 years ago
Michail Vourlakos 155e037d0f disable all spacers for all separators
--this makes the spacers to overlap with
each other
8 years ago
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
8 years ago
Michail Vourlakos b843505410 hide internal separator if it is not needed 8 years ago
Michail Vourlakos fbf952f606 fix binding loops that broke separators experience 8 years ago
Michail Vourlakos f0e7992d2a increase separator size on dragging
--this way we can move the surrounding launchers to
catch up also edges
8 years ago
Michail Vourlakos 3a0ac83c46 fix #480,support properly separator widgets 8 years ago
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
8 years ago
Michail Vourlakos afaa7349ea fix launcher animation
--update launcher animation to work properly
with the new parabolicManager
8 years ago
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.
8 years ago
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
8 years ago
Michail Vourlakos 03180c61e7 force sizes initialization on formFactorChange 8 years ago
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
8 years ago
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
8 years ago
Michail Vourlakos 79db299a7f fix positioning of internal separator 8 years ago
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...
8 years ago
Michail Vourlakos 1ada1ebae3 fix #477,disable wheel for internal tasks separator 8 years ago
Michail Vourlakos 7c51065fcb fix #468,lock parabolic animation !editMode
--lock properly the parabolic animation for Tasks
plasmoid when the user right clicks the plasmoid
8 years ago
Michail Vourlakos 8fea5d6a83 reduce warnings 8 years ago
Michail Vourlakos c37a959ae2 reduce warnings 8 years ago
Michail Vourlakos 77f542a9f3 fix #470,crash the tasksmodel of maximized logic
--fixes in various typos introduced from the new
designs
8 years ago
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
8 years ago