Commit Graph

279 Commits (138343a9cd4a960f70825c07df49862295f19a8a)

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