Commit Graph

115 Commits (07d51156bfd5c245743be741daf6e72fa7a899e5)

Author SHA1 Message Date
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