Commit Graph

406 Commits (d8f8737d0584f20b6a3ba53152a5b500ba70342f)

Author SHA1 Message Date
Michail Vourlakos 3b7f4f4997 [wayland] improve previews behavior 7 years ago
Michail Vourlakos 5ea2cfa79e [wayland] - fix previews crash
-- disable the use of PlasmaCore.WindowThumbnail
under Wayland in order to fix a crash that was
appearing after a while when the user was using
previews

BUG: 392865
7 years ago
Michail Vourlakos 6de8417007 fix #970,dont show previews when sliding in/out 7 years ago
Michail Vourlakos 6d7d53e454 improve removal animation
-- when removing a task and there are surrounding
separators then the hidden spacers are updated
immediately for the neighbour tasks. In such case
in order to not break the removal animation a small
margin must applied.
7 years ago
Michail Vourlakos 39d837da1d increase separators update signals
--add a delayer in order to syncLaunchers to avoid
a crash when multiple docks exist that are synced
together.
7 years ago
Michail Vourlakos 544642903b fix warnings under wayland 7 years ago
Michail Vourlakos 18fb040b84 dont break the bouncing animation 7 years ago
Michail Vourlakos 9c15b90f78 update tasks edges when task becomes shown/hidden 7 years ago
Michail Vourlakos e9b3cf2ed7 Use a new architecture for internal separators
--the old architecture that was trying to keep
an internal separators record couldnt catch up
and at the same time could create issues with
internal separators at different activities.
7 years ago
Michail Vourlakos d4685cd492 disable functionality for onlylaunchers
--when only launchers are shown and the user
has chosen to disable any active indicator
then the plasmoid should behave only as
a smart launchers list with no window
capabilities
7 years ago
Michail Vourlakos eec2927f88 updates for hidden tasks and int.separators 7 years ago
Michail Vourlakos b8c07b8523 fixes for disable Windows Functionality 7 years ago
Michail Vourlakos 2742be427b fix #901,show windows only from launchers
--add an option to tasks filters in order to
hide windows that do not have launchers
7 years ago
Michail Vourlakos 1a5fed2e67 fix positioning of internal separators
--when the user has enabled reverse active
indicators
7 years ago
Michail Vourlakos a0e4c029a9 use plasma desktop version at plasmoid 7 years ago
Michail Vourlakos f5b56e3559 improvements for publishing geometries 7 years ago
Michail Vourlakos 7ce5938312 add internal separator through drag n' drop 7 years ago
Michail Vourlakos e9580dbe1e fixes in animations when dragging a task 7 years ago
Michail Vourlakos 4370878b12 support pretty big badge messages counter
--following plasma paradigm we now support
badge messages until 9.999 and even more to
be shown to the user as indicator
7 years ago
Michail Vourlakos 5cb27f0ae4 fix initialization value 7 years ago
Michail Vourlakos 6fc6a1f142 fix warnings 7 years ago
Michail Vourlakos 5f538274a2 fix ToolTipInstance warnings for no model present 7 years ago
Michail Vourlakos f655a81512 fix warnings on startup from ToolTipInstance 7 years ago
Michail Vourlakos 9b77d8d2a5 fix binding look for TooltipInstance 7 years ago
Michail Vourlakos 2bb2c23d01 use default previews for launchers
-- use default previews for launchers
when the user has enabled the tasks
previews functionality
-- fix some warnings for previews
7 years ago
Michail Vourlakos f939d57a8f increase text size for previews 7 years ago
Michail Vourlakos d14d21531a improvements for task previews
--always delete a previous timer for checking
preview showing before creating a new one
--always make sure the before showing a preview
the dock isnt hidden
7 years ago
Michail Vourlakos 35f53e6428 animations improvements
--animate tasks hidden spacers properly
when a task is inAttention and the user
enters the mouse at first time when the task
isnt zoomed
--improve tasks hidden spacers animated
behaviors
--improve applets hidden spacers animated
behaviors
7 years ago
Michail Vourlakos 452e93c33e improve update of hoveredIndexes
--when the plasmoid is hovered when the
applets hoveredIndex should be initialized
and when an applet is hovered then the plamoids
hoveredIndex should be initialized to -1.
7 years ago
Michail Vourlakos 3fe9d2bc4e hide preview when closing last preview from btn
BUG: 391898
7 years ago
Michail Vourlakos b2d917026f enable directRenderDelayer after hiding 7 years ago
Michail Vourlakos 0bb70c1595 drop fastEntering for directRenderDelayer
--the directRenderDelayer is used during first
entering in order to delay the activation of
directRendering. The cons of previous fastEntering
implementation added the necessity for this
replacement.
7 years ago
Michail Vourlakos 5b77c09faa improve fastEntering tracking
--take into account both hoveredIndexes
(applet & containment) for fastEntering
identify.
7 years ago
Michail Vourlakos ec3a68b81e disable some debug messages 7 years ago
Michail Vourlakos 4cf4351b80 improve all luminance calculations
--provide more accurate calculations for luminance
based on algorithm at:
https://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
7 years ago
Michail Vourlakos 2266461609 improve removal animation duration 7 years ago
Michail Vourlakos 6379b401b7 increase wheel sensitivity
--this is used for the audiobadge in order to
be more natural its behavior to the users
expectations
7 years ago
Michail Vourlakos a32eb124da fix #892,reduce scrolling speed for audio badges 7 years ago
Michail Vourlakos f8b5bc5c25 fix #890,use only pulseaudio stream to track audio 7 years ago
Michail Vourlakos 7055b44a6e fix #890,dont show audio for paused mpris player
--improvements from plasma taskmanager mpris code
--check for mprisplayer status, when the player
is paused dont show the audio badge
7 years ago
Michail Vourlakos 9166293348 fix previews dialog for wayland 7 years ago
Michail Vourlakos 6bb7f0ab51 improve context menus for wayland 7 years ago
Michail Vourlakos a6d92153f9 fix #881,load launchers correctly in plasma panel 7 years ago
Michail Vourlakos aaecd4de15 improve mouse par.effect sensitivity for tasks 7 years ago
Michail Vourlakos 1ff161a030 updates and improvements at applets glob.shortcuts 7 years ago
Michail Vourlakos 103b901125 support showing applets numbers with badges
-- this is used mainly from globalshortcuts triggering
7 years ago
Michail Vourlakos e92b570a4f add BadgeText in Latte lib from the plasmoid
-- move BadgeText in Latte lib in order to be able
to be used from plasmoid and containment at the
same time
7 years ago
Michail Vourlakos 316b6fb6df call checkRestoreZoom properly for contextMenu
--latte plasmoid has its own build-in contextMenu. Call
properly the checkRestoreZoom for that contextMenu
7 years ago
Michail Vourlakos 7dbb71167b use plasma theme for audio badges 7 years ago
Michail Vourlakos 3b71e0e4d8 disabe globalDirectRender after task bouncing 7 years ago
Michail Vourlakos 5b3c00ff8c improve code for enable/disable checkRestoreZoom 7 years ago
Michail Vourlakos 7c5d550e9c fix #871,improve clearing zoom indicators
--accept clearZooms only in both hoveredIndexes
are -1 (for plasmoid and containment)
7 years ago
Michail Vourlakos b12cf1446a orchestrate better directRender for plasmoid
--use same techniques with the containment in order
to activate/deactivate the directRender through
the latte plasmoid
7 years ago
Michail Vourlakos a018dd8fa8 remove no needed check 7 years ago
Michail Vourlakos 90ee9ef00b fix #873,show confiw window for plasmoid
--show option for config window for the plasmoid
in the context menu, when the Latte plasmoid insnt
inside a Latte dock
7 years ago
Michail Vourlakos 9fdb1b598d increase parabolic effect speed 7 years ago
Michail Vourlakos 53633290fc block parabolic animations onEnter event
--calculations for parabolic effect are blocked
at the onEntered events because the mouse position
is faulty and breaks the animations
7 years ago
Michail Vourlakos 05e08e57c5 delay a bit the directRender activation
--previously directRender was activating also when
from the first entered element the mouse moved fast
enough to the second element. But this could happen
also accidentaly some times. This improvements indicates
also the mouse position in the second element to be
near the center of that element
7 years ago
Michail Vourlakos b41ecad4af fix #858,lower window preview a bit 7 years ago
Michail Vourlakos 80a3461a9c accept negative values from mouseareas onEnter
--This can be a Qt bug, on Entered event mouseX/Y
are set as very big negative values
7 years ago
Michail Vourlakos e258df6e56 assign always a valid index for hovered task 7 years ago
Michail Vourlakos 431ec79088 force all DropShadows to fast mode 7 years ago
Michail Vourlakos 591aa035af improve workaround commenting 7 years ago
Michail Vourlakos 776df3e29d fix #846,empty tasks after activity changes
--in some cases after activity changes some tasks
are shown empty because some ghost tasks are created.
This was tracked down to hidden TaskDelegates spacers.
7 years ago
Michail Vourlakos b1cd5920f2 fix #846,dont show task empty space
--libtaskmanager sometimes adds items and
hasnt set its full settings. After the addition
it updates some of the settings. This fix
is trying to fix that circumstances by not having
any blocking warnings
7 years ago
Michail Vourlakos 3462562a81 fix #857,improve par.effect with tooltips
--window previews were lowered in order to touch
the task for which are presenting issues. This way
the mouse confirms alway the taskContainsMouse flag
--title tooltips are shown only when the dock has
ended its sliding-in animations
7 years ago
Michail Vourlakos 8c0ada943b remove deprecated code
--this code was creating also an issue sometimes
that wasnt showing tasks at all on startup
7 years ago
Michail Vourlakos f4370ccc21 improve identification of immediate launchers
--when a window is closing if there is already
an assigned launcher then the launcher must be
shown without animation
7 years ago
Michail Vourlakos 8f44e68a75 fix #846,dont delay any show/remove of separators 7 years ago
Michail Vourlakos be2c4ed669 fix missing negative symbol 7 years ago
Michail Vourlakos 62f847ecac fix #856,update hoveredindex after animations end
--this way we are trying to delay a bit the directRender
mode when the dock is hidden
7 years ago
Michail Vourlakos 61227abaeb ALWAYS Restore Task Animation
--VERY IMPORTANT CODE, fixes a bug when cycling the mouse
very fast inside and outside the dock, in some rare cases
the restoreAnimation didnt end!!
7 years ago
Michail Vourlakos 2f45aa9129 dont delay clearing zoom for task 7 years ago
Michail Vourlakos 5593b515f4 update zoom-out animations 7 years ago
Michail Vourlakos c129743aa9 use a new zoom-in animation type 7 years ago
Michail Vourlakos 2957c50dd0 Revert "update zoom-in animation type"
This reverts commit cc6779d0c4.
7 years ago
Michail Vourlakos cc6779d0c4 update zoom-in animation type 7 years ago
Michail Vourlakos 15cff730ab stop restoreAnimation in directRendering
--issue #852, when directRendering is activated
some of the tasks could be in restoreAnimation,
in such case they stop their animation are moved
to directRendering mode
7 years ago
Michail Vourlakos 8cf6f49bb9 improvements to parabolic effect
--issue #852, improve how the two states of zoom-in
and directRendering are indetified and triggered.
The initialization of hovering indexes now is
trigerred only for window mouse out events.
7 years ago
Michail Vourlakos f9afa1bc1f move completely to containmentactions 7 years ago
Michail Vourlakos 82e77f7b23 more improvements to containmentactions 7 years ago
Michail Vourlakos afe9a2e09d rename latteconfigdialog to settingsdialog 7 years ago
Michail Vourlakos 2987e406db block signalUpdateScale if task/applet containMouse 7 years ago
Michail Vourlakos 2a78437996 add some resistance in activating directRendering
--add some resistance for the functionality added for
issue #852
7 years ago
Michail Vourlakos 31caea4a51 fix #852,go to directRenderMode faster
--in order to go faster to directRenderMode in some
cases, the following criteria was added. If the zoomScale
of a task is greater than 1 and the mouse enters that task
then directRendering is enabled.
7 years ago
Michail Vourlakos 584c7c36a0 fix #840,dont combine different spacers 7 years ago
Michail Vourlakos 8fb12bdbcf improvements to new Latte config window 7 years ago
Michail Vourlakos b64bb1f9d2 use very high sensitivity for parabolic effect 7 years ago
Michail Vourlakos 18066f41f7 fix parabolic effect breakage
--when there is only one applet on the left, the
parabolic effect from Tasks was breaking
7 years ago
Michail Vourlakos a2fc2edc30 publish internal separators indexes after dragging 7 years ago
Michail Vourlakos 67ce3441a4 MultipleLayouts:launchers signals made layout aware 7 years ago
Michail Vourlakos e4cd47ca3e MultipleLayouts:update Layouts menu 7 years ago
Michail Vourlakos e56478fb8a publish tasks geometries only for current layout
--this is used mainly from Multiple Layouts in order
to publish tasks geometries only those plasmoids that
belong to the current layout
7 years ago
Michail Vourlakos 274c6a653d add managedLayout to dockView
--this way a dock can belong to specific Layout
and this could be changed runtime in a multi-layout
runtime environment
7 years ago
Michail Vourlakos e9be1a9108 fix #833,block attention bouncing inAttention
--fixed a typo to check the above case and at more
checks also to be sure
7 years ago
Michail Vourlakos 6c17065766 fix bouncing anchoring for rare cases
-- when a task that wasnt launcher was inAttention
state and was bouncing and the user was clicking it,
the animation wasnt that clear at its middle, there
was a small breakage.
7 years ago
Michail Vourlakos 0a6e00c9e7 improve 3d contrast for GlowPoint 7 years ago
Michail Vourlakos 4692b87bb5 improve GlowPoint contrast 7 years ago
Michail Vourlakos fa1ef2f17d move GlowPoint to latte library
--this way we can use the same code between
plasmoid and containment
7 years ago
Michail Vourlakos 1d6c5f074f fix #816,add more task shortcuts
--added shortcuts for tasks 10-19
7 years ago
Michail Vourlakos bc7a9eac9a fix #811,timers to check previews/menus/tooltips
--there were cases that window previews/tasks context menu/
title tooltips were shown at the same time. This patch fixes this
by adding timers to catch these case and show the above on
priority. The priority used is tasks context menu/window
previews/title tooltips
7 years ago
Michail Vourlakos 7645dc9007 improvements for tasks dragging
--dont change the ratio size of the task during
dragging
--clear parabolic effect during dragging
7 years ago
Michail Vourlakos 5ad5620e4e dont animate task additions after dragging 7 years ago
Michail Vourlakos c169858b71 improve glow painting
--reduce a lot the painting issues that didnt
paint glow parts correctly
7 years ago
Michail Vourlakos 894098db7d improve signaling for internal separators 7 years ago
Michail Vourlakos 3359f5e829 set activities for internal separators
--the internal separators should be able to positioned
always perfect comparing to the other launchers around them.
Only way this could be achieved is by giving them the
possibility to be applied to specific Activities...
For the user to assign internal separators to specific
Activities should right click them in editMode...
7 years ago
Michail Vourlakos 61ace37ec6 update task edges indexes on startup 7 years ago
Michail Vourlakos b81f103def dont move launcher of origin dock in ext.signal 7 years ago
Michail Vourlakos e89d9f17e6 fix #789,hide indicator item when inAttention
--the inAttention animation is being played by a
separate Loader, with this patch we hide the underground
original indicator in case it creates a visual
breakage in some cases
7 years ago
Michail Vourlakos 03312bbe9d fix #783,shrink a bit the tasks number 7 years ago
Michail Vourlakos 45d39d1f2f show task number correctly after bouncing animation
--when the user was using shortcuts to activate launchers
the number wasnt appearing at all after showing the window
7 years ago
Michail Vourlakos 39d63f178e fix #782,update behavior for active grouped tasks
--in the initial design there was only a line for the
active task and the user could choose if wants to show
a second dot to indicate that this is a group of windows.
This behavior was updated in order to take into account
if the user has chosen to show only dots even for the
active task.
7 years ago
Michail Vourlakos 920de6cd6e fix RTL layout for vertical and alignments 7 years ago
Michail Vourlakos 39a9bf4301 support RTL for badges in plasmoid 7 years ago
Michail Vourlakos 5f148b950e support RTL to tooltips and previews 7 years ago
Michail Vourlakos 32c74f818e fix parabolic effect for RTL 7 years ago
Michail Vourlakos f8f78566f9 apply layout mirroring for RTL 7 years ago
Michail Vourlakos d5df98d5aa improve audio badges heuristics
--added one more heuristic for app name comparison
for audio badges based on the launcher name
e.g firefox from firefox.desktop
7 years ago
Michail Vourlakos e92bc99223 fix #744,improve more contrast for audio badges 7 years ago
Michail Vourlakos ce54958ff7 fix #774,improve contrast for audio badges 7 years ago
Michail Vourlakos d22a8e2086 fix #773,crash that was happening from badges
--audio and progress badges where causing crashes
when the user was trying to remove a dock that had
shown any of those badges
7 years ago
Michail Vourlakos face57d58a update audiostreams on user settings changes 7 years ago
Michail Vourlakos afd34b19cc fix #770,broken parab.effect when no int.separator 7 years ago
Michail Vourlakos c108cd4953 improve shadow positioning in glow 7 years ago
Michail Vourlakos c258deb07d show glow when task inAttention state
--this applies when the user has activated glow
only for the active task, in that case glowing
is also applied when the task is inAttention
7 years ago
Michail Vourlakos 7b8efcaed7 implement fully active indicator types/glows 7 years ago
Michail Vourlakos 5388b709a8 update plasmoid to support glowOnlyOnActive 7 years ago
Michail Vourlakos a9c1f9cd08 update glowing at plasmoid GlowItem 7 years ago
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 07d51156bf fix noRealTask breaking parabolicEffect 7 years ago
Michail Vourlakos 63304d91d7 fix single task case for parabolic effect
--when there was only one task in the plasmoid
the parabolic effect was breaking with neighbour
applets
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 9d949b9387 fix first/last task indexes for no intern.sep case 7 years ago
Michail Vourlakos 1eca9875f9 drop internal separatorPos for new architecture 7 years ago
Michail Vourlakos 3ff20749b0 fix parabolicManager algorithm for multi-ints 7 years ago
Michail Vourlakos aea1f73bd8 update int.separators size in editMode 7 years ago
Michail Vourlakos f101334443 add/remove intern.separators from context menu 7 years ago
Michail Vourlakos 9d8c99768f update containment spacer to multiple internal 7 years ago
Michail Vourlakos 963c135468 update plasmoid ParabolicManager to new separators
--drop the old internalSeparatorPos from the plasmoid
ParabolicManager and substitute it with multiple
internal separators heuristics
7 years ago
Michail Vourlakos 1a777d9ee4 drop internalSeparatorPos from plasmoid
--the internalSeparatorPos approach was removed
from the plasmoid. The next steps are:
1. ParabolicManagers to update their logic in order
to take into account multiple internal separators
2. To hide all consequent separators either as applets
all internal separators
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