Commit Graph

272 Commits (df777dddcb66374f637a49af676d7d2f52c93ef4)

Author SHA1 Message Date
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 7020e58289 remove no needed check in ContextMenu 8 years ago
Michail Vourlakos 930c617c86 restore jump lists for plasma 5.9 8 years ago
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
8 years ago
Michail Vourlakos 84e390c312 reduce warnings 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 49d20f4617 fix missing typo 8 years ago
Michail Vourlakos 4b76fd1004 dont show Add Widgets when Latte in the desktop 8 years ago
Michail Vourlakos 7365e1f4bc move plasmoid config files in their own directory 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
Michail Vourlakos ede4eb6496 reduce warnings 8 years ago
Michail Vourlakos abc45e4c4d include statesLine metrics when task isStartup 8 years ago
Michail Vourlakos 515384dd48 improve heuristic of neighbour tasks 8 years ago
Michail Vourlakos 950cb8f073 fix #382,support jumplists and places, contextmenu
-- support the new features from plasma 5.10
and provide jumplists and places functionality
8 years ago
Michail Vourlakos 291f579dc9 improve the attention color animation 8 years ago
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
8 years ago
Michail Vourlakos 35c90393ae improve coloring for different window states 8 years ago
Michail Vourlakos bed027e6e5 fix some coloring for different window states 8 years ago
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
8 years ago
Michail Vourlakos 7c07385c10 fix #453,substitute absolute build path references
--fixes the kdesrc-build installation
8 years ago
Michail Vourlakos e32bac0477 fix #450,active win indicator in win previews 8 years ago
Michail Vourlakos 8c8e98478d update signals for updateScale in TaskIconItem 8 years ago
Michail Vourlakos 7e104ee3a2 mouse wheel to cycle through groupped tasks 8 years ago
Michail Vourlakos e0f7b9b220 fix #449,add "cycle through tasks" action
--added the new cycle through tasks behavior to
tasks actions
8 years ago
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
8 years ago
Michail Vourlakos d5efbce02e fix #445,fix audiostream align for right panel 8 years ago
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
8 years ago
Michail Vourlakos 3a9a83634f debug message for parabolic effect 8 years ago
Michail Vourlakos 5c6a3a9d23 fix clearzoom when hover,no hoveredcapable applets 8 years ago
Michail Vourlakos 3cfcc909c5 set direct render animation time to 0 8 years ago
Michail Vourlakos f3581a750b Revert back two last commits
--the expose of directRenderAnimationTime broke
the parabolic effect experience so I am reverting them
back
8 years ago
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
8 years ago
Michail Vourlakos 46106a5bd1 expose directRenderAnimationTime 8 years ago
Michail Vourlakos c1bff5a1a9 port directRender code to new signaling 8 years ago
Michail Vourlakos 7482182e24 set global direct render animation time 8 years ago
Michail Vourlakos 6fb56f90b1 fix #431,support again the internal separator
--support again the internal separator based on
the new signaling for the parabolic effect
8 years ago
Michail Vourlakos 00ce7931dc hide preview on clearZoom 8 years ago
Michail Vourlakos adba5b6f2a simplify parabolic signalling
--this finally creates a very concrete parabolic
animation experience
8 years ago
Michail Vourlakos fd4af3f0f1 port plasmoid into new arch for parabolic effect 8 years ago
Michail Vourlakos 2e72ed0a5b fix #442,clearZoom of latteApplet after fast hover 8 years ago
Michail Vourlakos 6eb65facca disable init messages for parabolic effect 8 years ago
Michail Vourlakos 1cdd5fde9a reduce flickering of parabolic effect
--reduce flickering for parabolic effect when
tasks are combined with applets
8 years ago
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.
8 years ago
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
8 years ago
Michail Vourlakos df9edc5754 fix #441,expose add widgets action in context menu 8 years ago
Michail Vourlakos 38fda1f688 smooth animation for show/hide badge infos 8 years ago
Michail Vourlakos a78b90fb9e fix #440,disable audio streams during dragging
--re-initialize also audio streams after dragging
has finished
8 years ago
Michail Vourlakos e891f0bf05 fix #440,dont show audio icon in wrong task 8 years ago
Michail Vourlakos 8810626422 dont calculate parabolic effect in some cases
--this is when there are no animations or when
the zoomFactor=1
8 years ago
Michail Vourlakos c4171dff86 fix #438,add wheel events
--by using wheel events the volume can
be increased/decreased
8 years ago
Michail Vourlakos d18d4eb037 update audio icon based on volume 8 years ago
Michail Vourlakos 044143ef92 add opacity for muted streams 8 years ago
Michail Vourlakos 4eebd8e34c disable audio streams for launchers 8 years ago
Michail Vourlakos 7375757883 update audio streams on launcherurl changed signals 8 years ago
Michail Vourlakos c489300819 fix #435,better calculations for Tasks borders 8 years ago
Michail Vourlakos cddfd402f7 fix internal separator hovering calculations 8 years ago
Michail Vourlakos 2ec97f1456 bypass internal separator when using task shortcut 8 years ago
Michail Vourlakos 684bfbe418 dont execute click action for separator task 8 years ago
Michail Vourlakos ca1adad7f7 make a more uniform badge visuals
--update badge visuals for audio streams
and for progress indicator
8 years ago
Michail Vourlakos 56424d8cad respect tasks icon size when show indicators 8 years ago
Michail Vourlakos fc6c4222e1 support configuration of audio indicator 8 years ago
Michail Vourlakos 4441a8471e fix #142,support audio indicators for tasks
--the user is able to toggle also mute/unmute
for the audiostream
8 years ago
Michail Vourlakos 2a006177e7 expose margins in plasmoid root object 8 years ago
Michail Vourlakos d0b2ce8c0f improve advance scales calculations
--support correct calculations for the internal
separator case. The calculations became more generic,
what has to be done now is to support same calculations
for applet updateScale also
8 years ago
Michail Vourlakos 00edd1ef5d improve initialization signals 8 years ago
Michail Vourlakos 574f2aedcb correct signaling for internal separator case 8 years ago
Michail Vourlakos 92f214d552 support removing internal tasks separator 8 years ago
Michail Vourlakos f24da87b19 fix #431,support internal tasks separator 8 years ago
Michail Vourlakos 6bb14547e5 first implementation for tasks internal separator 8 years ago
Michail Vourlakos 99c1b8db38 fix #332,add a delay to highlight windows
--added a delay in order to highlight tasks
windows. The delay used is exactly the same
with the windows previews delay
8 years ago
Michail Vourlakos b5ffae09d1 expose context menu in root element
--use the root context menu reference to
block windows previews shown up
8 years ago
Michail Vourlakos 6abf879598 fix #426,support dropping internal files from apps
--now we accept also dropping from internal files
e.g. compressed files, attachments etc..
8 years ago
Michail Vourlakos 3839ee1e9a unblock launcher in the end of bouncing animation
--there are launchers that do not trigger properly
theirs apps, so in the end of the animation the launcher
was remaining locked and wasnt animated because it was
waiting for the app window to be created. This commit
fixes this, if the launcher at the end of the bouncing
animation is not in removal stage the it is properly
unblocked
8 years ago
Michail Vourlakos e9750c4143 add a minimum mScale for click animation 8 years ago
Michail Vourlakos 261283b631 make animation times usable again
--durationTime that was used for the animations
was an integer. This was created extremely fast
animations for x1 and extremely slow animations
for x3. This fix changes that by setting the
durationTime in the qml side to real type. And
by that we are setting the following pragramatic
speeds which create a very good experience.
  x1 = 1.65
  x2 = 2
  x3 = 2.35
the above can be updated a bit based on the user
feedback and experience
8 years ago
Michail Vourlakos 2ef64f4ab3 fix #411,deactivate applets when show previews 8 years ago
Michail Vourlakos 6a5be6dbc5 fix #342, occasional instant sliding-in
--this is a lot related with the compositor
painting. By adding a delay into showing tasks
this is improved a lot
8 years ago
Michail Vourlakos 7d635c5073 use new anchoring mechanism for single windows 8 years ago
Michail Vourlakos 65eaf6d0b8 use more the new beautiful removal anchoring
--this fixes on changing activities and desktop.
the animations are much better concerning the
launchers
8 years ago
Michail Vourlakos 328f7a2fd0 fix #349,children anchoring in ListView
--ListView is anchoring its children very strange.
This was creating circumstances that the children
were anchoring themselves wrongly e.g. when removing
them and in some animations. This commit introduces
heuristics (workarounds) for these cases. The
broken anchor situations are protected by introduced
correct anchors from our qml side in listview
child items
8 years ago
Michail Vourlakos e01779c71e fix typo and animations removal animation 8 years ago
Michail Vourlakos 819e1ed51c initialize differently the tempScaling 8 years ago
Michail Vourlakos 53e4cec5ef protect taskDelegate when not visible
--set width and height to 0 when the
task is not visible
8 years ago
Michail Vourlakos 62bf03d0fc protecting more the scaling signaling 8 years ago
Michail Vourlakos 7a7b25a187 fix #349,launch application on the start
--by taking account the libtaskmanager way of doing
things. Latte is trying to delay the removal of the
launcher in order for the animation to play correctly.
At the same time if a window or startup is added is
not shown if there is a waitingLauncher(animated launcher)
until this launcher completes its animation
8 years ago
Michail Vourlakos 738dc50fff Merge branch 'v0.6' into master 8 years ago
Michail Vourlakos 534592e9dc fix #412,fix for groupDialog in plasma 5.8 8 years ago
Michail Vourlakos 4f030849f0 expose through dbus updateBadge for dock items
--apps can sent through dbus and identificator
e.g. "kmail" and a value for unread mails e.g.2
Latte afterwards will update that specific badger
8 years ago
Michail Vourlakos c932d2e858 fix element id in ContextMenu 8 years ago
Michail Vourlakos 405494ef89 show startup phase in all task cases 8 years ago
Michail Vourlakos 6a1f81713e fix animation check when removing launcher 8 years ago
Michail Vourlakos ec6a70e11e fix #343,import launchers to new architecture
--import launchers and use new architecture,
an new record in settings is appearing called
launchers59
--this patch works only from plasma 5.9 and above
--it gives many improvements such as the "pin" feature
and the explicit launchers can be placed even
between global launchers
8 years ago
Michail Vourlakos b034e748bb fix #365,support shortcuts to activate tasks
--this patch supports activation through shortcuts
--Meta+number, activates the relevant task, for
groups by default it activates the next available
window in the group
--Meta+Ctrl+number, create a new instance for that task
or launcher
--the user should know that must first enable these
shortcuts at plasma global shortcuts configuration
window
8 years ago
Michail Vourlakos cb8fa08dd2 expose action for remove Latte plasmoid in desktop 8 years ago