Commit Graph

196 Commits (62033157f675bee68b969fb280578dd2a0102123)

Author SHA1 Message Date
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 0c956fac77 fix #961,Improve Visibility consider WindowsGoBelow
--the following case:
[Windows Go Bellow + Top Panel + Panel Transparency<40%
+ "Improve Visibility" + "Not Forced Solid Background
for maximized windows"]
disables the colorizer because the role of the background
is done from the window titleBar.
7 years ago
Michail Vourlakos 13e8791213 add a few margins for applets tooltips 7 years ago
Michail Vourlakos ca6188bf46 remove transparency from Colorizer colors
--the plasma theme may have set for textColor
and backgroundColor, colors with transparency.
This can mess up the "Improve Visibility"
feature.
7 years ago
Michail Vourlakos 2967eea11a fix #961,Semi-Tranparent Panels at ImproveVisibility
--update issue #957 in order to take into account
semi-transparent panels. With semi-transparent panels
contrast could be a puzzle. The changes that
introduced with this patch are:
1. Enable Improve Visibility when also case [E] from
 #957 is enabled.
2. When a semi-transparent panel exists in combination
with Improve Visibility option then add a threshold
in order to indicate if the Colorizer will be applied
or not. The threshold is 40% in order to indicate if
a semi-transparent panel is solid or not.
7 years ago
Michail Vourlakos 820dff0bb5 improve calculations of panelEdgeSpacing 7 years ago
Michail Vourlakos 3ea40954fc fix #942,show dock when dragging at kwin edge
-- enable showing the dock if the user drags something
on it and the dock is hidden at a kwin edge
7 years ago
Michail Vourlakos 7ce5938312 add internal separator through drag n' drop 7 years ago
Michail Vourlakos 2b2ddfeb70 improve contrast for Launchers Area text 7 years ago
Michail Vourlakos 18151ec023 disable "visibility improvement" for !compositing 7 years ago
Michail Vourlakos 40fc0ca717 block automaticIconSize inTempHiding 7 years ago
Michail Vourlakos 607d6b4f4a hide plasmoid preview when hovering an applet 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 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 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 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 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 e370f0447f fix editShadow for compositing mode 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 5b3c00ff8c improve code for enable/disable checkRestoreZoom 7 years ago
Michail Vourlakos b607e25a4c reduce interval of checkRestoreZoom 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 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 9c18e5dbef fix warnings 7 years ago
Michail Vourlakos 97e8b58df2 dont blacklist activeWindowControl
-- the fix will come up from upstream! ;)
7 years ago
Michail Vourlakos 3195cc206c enable ruler tooltip in editing mode 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 9e4ec510f9 increase topMargin at behaveAsPlasmaPanel 7 years ago
Michail Vourlakos 65c067f428 improvements for Ruler 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 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 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 c129743aa9 use a new 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 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 09691438e2 block for 1sec automaticIconSize costly function 7 years ago
Michail Vourlakos d0064e622d dont animate iconSize in editMode & behaveAsPanel 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
Michail Vourlakos b64bb1f9d2 use very high sensitivity for parabolic effect 7 years ago
Michail Vourlakos b5ccba44b1 Move Dock from Layout to Layout
-- In the configuration window at the "New Dock"
ComboBox were added options in order for a dock
to move to another running Layout.
7 years ago
Michail Vourlakos 8244d3218e fixes for thickness calculations
--consider reverse Lines and show glow case in order
to add this in the thickness calculations
--consider the applets shadows when shrink thickness
is enabled
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 e3d1001861 indicate automatic the automatic shrinking
--if there is an applets that requests fillWidth or Height then
the automatic shrinking isnt working
7 years ago
Michail Vourlakos 10f3f6613d fix breakage of parabolic effect after slides out 7 years ago
Michail Vourlakos cb69a9c7c6 slide out/in also in user screen change 7 years ago
Michail Vourlakos f7b8cedb3c improve semantics for location change slide out/in 7 years ago
Michail Vourlakos 4692b87bb5 improve GlowPoint contrast 7 years ago
Michail Vourlakos b749a1f7e6 fix for dynamic background 7 years ago
Michail Vourlakos 99bb0a5c87 fix #817,count shadow size for mask thickness 7 years ago
Michail Vourlakos d86fdfd2ff fix #810,support smart/dynamic background
the dynamic background feature is enhanced and
becomes smarter. It understands snapped windows, windows
that touch the panel edge etc. The criteria in
order for the background to become solid are:
   - any active window that is touching the panel
edge (that includes krunner)
   - any inactive window that is snapped and touches
the panel edge (concerning its geometry: quarter-snapped or half-snapped)
   - maximized windows
   - an inactive window but keepAbove is touching
the panel edge (this catches also the yakuake case)
   - panel popups
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 43a6e18617 follow Fitt's Law when shrinking thickness
--when the latte panel behavesAsPlasmaPanel and
the user has enabled also shrinking the thickness
then Fitt's Law can be followed.
7 years ago
Michail Vourlakos 253eb7a8e2 dont count latte plasmoid as expanded
--this solves making the dock background fully shown
with no transparency at all when a task in the plasmoid
needed attention.
7 years ago
Michail Vourlakos 90f7ae8fed improve margins for shrinkThickMargins 7 years ago
Michail Vourlakos 7b27dfdf33 disable directRendering after automatic icon size 7 years ago
Michail Vourlakos 1d8eea28bb slidingIn/Out during locationChange signal 7 years ago
Michail Vourlakos ff70d4a9d2 improve/fix small issues with panel behavior 7 years ago
Michail Vourlakos 920de6cd6e fix RTL layout for vertical and alignments 7 years ago
Michail Vourlakos f8f78566f9 apply layout mirroring for RTL 7 years ago
Michail Vourlakos 3ca45d0eaa fix #772,improve shadows behavior for solid panels 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 147529dd72 fixes for tasks spacers for multiple separators 7 years ago
Michail Vourlakos 1eca9875f9 drop internal separatorPos for new architecture 7 years ago
Michail Vourlakos f5175b6135 fixes for title tooltips
--disable direct rendering when a title tooltip
becomes hidden and the mouse isnt in the dock.
This fixes an issue when the user enters the dock
and the parabolic animation wasnt playing correctly in
some cases
--do not show a title tooltip if the dock !containsMouse.
This way some tooltips that were still shown when the
mouse wasnt inside the dock is fixed.
7 years ago
Michail Vourlakos 88108ac524 add option to debug timers
--this is especially useful in order to be sure that
there are timers that create unending loops
7 years ago
Michail Vourlakos 1dd9a30139 release connect signals ondestruction
--following issue from #730 more qml code
was found that wasnt releasing connect signals
properly. That could create crashes because
already deleted qml objects could receive such
signals. That was observed after qt>=5.9.2
7 years ago
Michail Vourlakos 339b570c35 fix #713,solid background for maximized windows
--this works similar with transparency with no-maximized
windows feature but on reverse. e.g. transparency for
non-maximized windows and solidness for maximized ones
--opacity to 1 when applet is active
--when the user uses a semi transparent panel for
un-maximized active windows and the user activates
a pop up for an applet a better visual effect is the
panel to not have any transparency
--improve translation strings and options order
7 years ago
Michail Vourlakos 0835fd7b4d force show of panel background in !compositing
--force the panel background showing when !compositing
is active independent of the users choice concerning
show/or not the panel background
7 years ago
Michail Vourlakos d5f8878d56 disable directRender when showing context menus
--this way closing the context menu the parabolic
animation doesnt break
7 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 f57e714b1e fix a glitch for applets
--clicking a zoomed applet at the area below it
was creating a glitch because of the restore zoom
8 years ago
Michail Vourlakos 9760ef2a5e follow Fitt's Law when dock is inFullJustify
--improvements in order to follow Fitt's Law when
the dock is in Justify mode and 100% maximum length
8 years ago