Commit Graph

343 Commits (d31c8eedd9aefe7ba55b65a90bf6fa9226606fc4)

Author SHA1 Message Date
Michail Vourlakos 42793475c5 fix #910,set added applet parent to dndSpacer one
--in Justify alignment and normal mode, setting the applet
to have as parent the root qml Item it creates a stack in
a lot of cases... By setting the applet container item
directly to more proper parent fixes any issue.
7 years ago
Michail Vourlakos b8321fb829 fix #905,smart colorize transparent panels
--enhanche the dynamic background feature and
in ordre to improve contrast with the underlying
background Latte now calculates the luminosity of the area
underneath the panel and based on that chooses the
best color to create contrast. The colors are chosen
only between textColor and backgroundColor.
7 years ago
Michail Vourlakos 4d6e986d2b use panel theme in some cases that isnt chosen
--when the user has disabled the panel background
but has enabled a solid background for maximized windows
then in such case the panel background must be enabled
for when it is needed
7 years ago
Michail Vourlakos 198ce090ef enable monochrome panel for transparent panels
-- in dynamic background it might be important for
the user to increase the contrast because the textColor
from plasma theme and the background might not provide
readable contrast. This feature adds this by giving
to the user the choice to have as monochrome layout
when the panel is transparent to theme.backgroundColor
7 years ago
Michail Vourlakos c7915677bd improve splitter icon color/contrast
--fix also splitter icon size when adding for
first time in EditMode
7 years ago
Michail Vourlakos de4cddb5d3 update internal splitter icon to use plasma theme 7 years ago
Michail Vourlakos 6bb7f0ab51 improve context menus for wayland 7 years ago
Michail Vourlakos cd3616537c set minimum maxLength to 30%
--when the user was using the mouse wheel to change
the maximum length, the maximum length could get
lower values than 30%
7 years ago
Michail Vourlakos d6740bb378 fixes for wayland 7 years ago
Michail Vourlakos 3a77754ef3 update edit mode image patterns
--increase contrast and add some noise in them
7 years ago
Michail Vourlakos db58a24040 dont count internalViewSplitters for globalShortcs
-- as mentioned at #879
-- improve also the semantics of globalShortcuts
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 db28c6bcaf use globalshortcuts with containment also
--we are trying to expose an applets calling
mechanism that is combined with the latte plasmoids
one with a nice beautiful way
7 years ago
Michail Vourlakos a75984f564 force solidness in behaveAsPlasmaPanel
--when we are able to force solidness even though
the plasma theme may never provides that, because
the svg file has some tranparencies in it. Then
for such cases we support it. Such is case is when
the panel is behaveAsPlasmaPanel and maxLength=100%
7 years ago
Michail Vourlakos 908425c00d !compositing,set correctly current geometries 7 years ago
Michail Vourlakos e370f0447f fix editShadow for compositing mode 7 years ago
Michail Vourlakos 657d86033f respect user settings for applet shadows 7 years ago
Michail Vourlakos cce68d0653 update maskArea when effectsArea is changing
--this applies only in !compositing mode, because
is that mode effectsArea is always more accurate
instead of the mask calculations!
7 years ago
Michail Vourlakos 3d6ff9583b disable animations for !compositing mode 7 years ago
Michail Vourlakos 6de4db1ba3 improvements for !compositing mode 7 years ago
Michail Vourlakos 6d08319c10 disable dynamicBackground for !compositing
--disable also the panel opacity for !compositing
7 years ago
Michail Vourlakos 444c730048 improve calculations of !compositing mode
--fixes the bug with the yellow line outside the
Latte panel because of wrong mask calculations
7 years ago
Michail Vourlakos 5b3c00ff8c improve code for enable/disable checkRestoreZoom 7 years ago
Michail Vourlakos b607e25a4c reduce interval of 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 14ffc70088 cleanup deprecated directRenderTimer/containment 7 years ago
Michail Vourlakos 7c1cd0cb70 improvements to applets parabolic effect 7 years ago
Michail Vourlakos 00241dcd8f fix breakage in par.effect from separators applets 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 3a2b0f7fd6 animate iconMargin when changes 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 764f7d06b6 fix Justify Splitters behavior
--because of new introduced functionality from MaxLength
Splitters broke. This commits fixes their behavior
7 years ago
Michail Vourlakos 1a3cb13094 use same font metrics for qml and c++ code 7 years ago
Michail Vourlakos 14fa05745f remove kwin effects when hiding editVisual 7 years ago
Michail Vourlakos f2375e6f1f animate Ruler properly 7 years ago
Michail Vourlakos c6408564d0 make the containment background aware 7 years ago
Michail Vourlakos 43fcb659af use single shadow for EditVisual
--remove also deprecated code from EditVisual
7 years ago
Michail Vourlakos 41117e9290 add background and textColor to layout
-- auto-adjust the textShadow for Ruler based on
the textColor luminosity
7 years ago
Michail Vourlakos 9c18e5dbef fix warnings 7 years ago
Michail Vourlakos 0281fc7993 fix warning from ConfigOverlay 7 years ago
Michail Vourlakos 4e4ae54896 fix warnings from PanelBox 7 years ago
Michail Vourlakos 7e6aacd158 fix warnings from Ruler 7 years ago
Michail Vourlakos 277a0b3c43 fix warnings in LayoutsContainer 7 years ago
Michail Vourlakos 97fa6f7e61 block rulerMouseArea for normal mode 7 years ago
Michail Vourlakos 97e8b58df2 dont blacklist activeWindowControl
-- the fix will come up from upstream! ;)
7 years ago
Michail Vourlakos 6738a07f4f fixes for editMode tooltips
--remove also deprecated code
7 years ago
Michail Vourlakos 3195cc206c enable ruler tooltip in editing mode 7 years ago
Michail Vourlakos bfc64dbe57 add mouse indicators for hidden scrolling actions
--mouse indicator when hovering the Latte spacer in order
to give a hint to the user that he can use the mouse wheel
to increase its size.
7 years ago
Michail Vourlakos ef8256f815 use mouse scroll to increase maxLength from Ruler 7 years ago
Michail Vourlakos 976494ed09 enable smooth animation when changing alignments 7 years ago
Michail Vourlakos dcbc720425 dont update dock geometry for panels/editMode 7 years ago
Michail Vourlakos 23008b5903 enable glow choice for behaveAsPlasmaPanel 7 years ago
Michail Vourlakos fdd7d2c975 support Latte foreground palette for ruler 7 years ago
Michail Vourlakos 9e4ec510f9 increase topMargin at behaveAsPlasmaPanel 7 years ago
Michail Vourlakos 61c28978e6 publish internal ediMode to dock
--use internal edit mode to wm's visibilitymanager.
More specific use it in AlwaysVisible mode in order
to not publish the new struts because the animations
have ended.
7 years ago
Michail Vourlakos aba33ef7d5 improve calculations for editinig thickness 7 years ago
Michail Vourlakos fbe1fd4268 update runtime behaveAsPlasmaPanel in editMode 7 years ago
Michail Vourlakos 65c067f428 improvements for Ruler 7 years ago
Michail Vourlakos 5b216845a3 update automatic icon size,starting editMode 7 years ago
Michail Vourlakos c2339043d6 improve ruler layout when changing locations 7 years ago
Michail Vourlakos 894af1867b improve calculations for editingmode 7 years ago
Michail Vourlakos 408476ce58 improve editMode triggering
--take into account the animations during
editMode activation/deactivation
7 years ago
Michail Vourlakos 96c9a22b70 lower maxLength text in dock mode 7 years ago
Michail Vourlakos 794e290ca5 position maxLength label correctly 7 years ago
Michail Vourlakos 4b822e4564 fix calculations for max values 7 years ago
Michail Vourlakos f5f254c0db enable automatic sizes in edit mode
--block also the editing background to
change size
7 years ago
Michail Vourlakos 432241dd93 improvements for new ruler 7 years ago
Michail Vourlakos 73229c5fbc give some more space in editingVisual for ruler 7 years ago
Michail Vourlakos 5feecd53b2 improve editing visuals 7 years ago
Michail Vourlakos 431ec79088 force all DropShadows to fast mode 7 years ago
Michail Vourlakos da5fc3fe1a fix #862,blacklist new activeWindowControl
--the new kde activeWindowControl becomes active
when is showing menus. That conflicts with Latte
internal heuristics in order to not show or show
dynamically panel shadows, active indicators etc.
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 5633d6694d show title tooltips only when the dock is ready 7 years ago
Michail Vourlakos 23cd5ea33e fix glitch when clicking of applet neutral areas 7 years ago
Michail Vourlakos 71087b1c3f ignode kde activeWindowContronl from activeindicator 7 years ago
Michail Vourlakos fee5000c44 dont draw ext.shadows and blur on temp/forceHiding 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 5245a01f0f update a bit the zoom-out timer intervals 7 years ago
Michail Vourlakos b8fe25de2a dont blur while inStartup or closing 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 db0d803e2d slide-in docks on startup 7 years ago
Michail Vourlakos 2987e406db block signalUpdateScale if task/applet containMouse 7 years ago
Michail Vourlakos 0ee59fc97c reduce the resistance for enabling directRendering
--references fix #852
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 09691438e2 block for 1sec automaticIconSize costly function 7 years ago
Michail Vourlakos d0064e622d dont animate iconSize in editMode & behaveAsPanel 7 years ago
Michail Vourlakos 33d253d6ce improve calculations for geometries in editMode 7 years ago
Michail Vourlakos 7bb2db306a separate edit shadow visual from its image 7 years ago
Michail Vourlakos 527fe54da7 improvements for EditMode Visual 7 years ago
Michail Vourlakos d97a819bc1 enable mouse sensitivity for parabolic effect 7 years ago