Commit Graph

268 Commits (eb377767c8743573e642a62141f2dc926b2551db)

Author SHA1 Message Date
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
Michail Vourlakos 83fd7fd112 bound Tasks ListView at its limits
--block dragging the entire ListView
--make tasks dragging lighter in resistance
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
Michail Vourlakos 17324b5da9 move Close window button to the end of ContextMenu
-- try to not disturb the user workflow by providing
him the Close option which is used very often as near
as possible from the click event
Michail Vourlakos 8da7f7d3c9 v0.7 initial second stable release
Michail Vourlakos 42817d7a59 fix #664,make faster the launcher removal
Michail Vourlakos bb2f5936b4 improve parab.effect stability on first hovering
Michail Vourlakos 9811eb51f6 v0.6.98,enter beta phase for 0.7
Michail Vourlakos 02ebb701c9 separate launchers and windows in tasksModel
--this is exactly the plasma icons-only taskmanager
is using, in that what way we should have exactly the
same befavior with launchers positioning
Michail Vourlakos ac3058c777 delay window removal when closing from context menu
Michail Vourlakos 5dc595a2cb move task instantly and then send extSignal to group
Michail Vourlakos 6a47f6e811 update launchers group correctly from config win
Michail Vourlakos eefbc5e9ec fix #636,new approach for Layout,Global launchers
--changed the design totally and use only signals
between plasmoid in order to update their models. This
way the launcherList from their tasksmodel should be
updated only on the initialization phase of the Latte
plasmoid. Afterwards signaling between them takes
place, in order to inform each other for adding,
removing launchers, moving them and assigning them
to activities
Michail Vourlakos bd05c7dfed fix #636,try to protect when setting launcherlist
Michail Vourlakos 6833406509 improve dragging animations
Michail Vourlakos 54c2d2b17e play bouncing animation to the end
--for all animations speeds
Michail Vourlakos bc6903a60d update titleTooltip reference
Michail Vourlakos 9f359f37db provide Alternatives from the Latte applet
Michail Vourlakos 3dcf39aebe update metadata files
Michail Vourlakos 9f5ab1397d support combining window previews and titletips
Michail Vourlakos 45add5988f fix #622,support title tooltips for hovered applets
Michail Vourlakos 933f075dc5 add configure in the layouts context menu
Michail Vourlakos 0b344be641 dont release zoom when plasmoid context menu is shown
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
Michail Vourlakos 8abc2e517a config option for task title tooltips
Michail Vourlakos 35b4cc56b5 support title tooltips for tasks
Michail Vourlakos e8fb9e9d22 hide task number when launcher is bouncing
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
Michail Vourlakos ba3de5061f block zoom hovering on dock sliding in/out
Michail Vourlakos 94e740b901 increase to version 0.6.91
--this version supports dynamic layouts and different
layouts per activities
Michail Vourlakos 62df2cf3ca reduce size of icon for audio stream
Michail Vourlakos 0b34dcf1b3 fix , support Unique,Layout,Global launchers
Michail Vourlakos b48d1eb4ac improve layout switching in plasmoid and manager
Michail Vourlakos 7107456e31 drop deprecated switching sessions in plasmoid
Michail Vourlakos 9f20ceb83e remove globalSettings from qml part
--globalSettings remain only for the layouts in the
config window
Michail Vourlakos f2de335d35 move functionality to new architecture
--add functionality for layoutManager
--add widgets action and alternative layout action to
layoutManager
--remove more functionality that belongs to globalSettings
Michail Vourlakos badcaa5474 fix a crash when changing layouts/old sessions
--when changing layouts/old sessions from the Latte Tasks
Context menu, Latte was crashing very often. Add the switching
code into a Timer to make its execution asynchronoushly
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  but also should provide a cleaner dragging
behavior, at least for the dragging phase
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
Michail Vourlakos 7d77ab5195 expose user specified shadows to qml
Michail Vourlakos 919af662e6 fix hasAudioStream binding loop
Michail Vourlakos 558e2e3670 fix #562,pin/unpin behavior for oneactivity,task
--cleanup also the context menu from comments from
the old activities architecture
Michail Vourlakos 8794835f0b reenable a small animationstep in parabolic effect
Michail Vourlakos 0cc1e84ba8 dont play hoverAnimation when clicking
Michail Vourlakos 079604c3b6 disable mScale changes in clickAnimation
Michail Vourlakos e2fe456a7e fix #544,disableRestoreZoom is released more cases
Michail Vourlakos 5bc1e3d66d combine audiostream badge with progress badge
Michail Vourlakos 0ce0feca0a fix #526,add toggleGrouping action
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
Michail Vourlakos cf7b820e2e sync launchers correctly between docks,def session
Michail Vourlakos d75dfa1a64 reduce blur for task numbers
--fix some type conversions for CircleText
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