Commit Graph

179 Commits (d8621a9435c726aeb5ab5f1b8bd24ccf863e583d)

Author SHA1 Message Date
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
Michail Vourlakos e89afafab2 fix #662,fix typo and auto-hide break behavior
--the check to disable blockHiding takes into account
if the config window is shown or not
--a small typo when going to !editMode was fixed
8 years ago
Michail Vourlakos f2ab6cbc9c block hiding when alternatives is shown 8 years ago
Michail Vourlakos f4fa8cf0c7 position correctly new applets 8 years ago
Michail Vourlakos 8c7eee5245 fix #633,set a fixed shadow for edit box 8 years ago
Michail Vourlakos 862a20ff54 fix #630,ondrop event reparent dndspacer in end 8 years ago
Michail Vourlakos e4b03449a2 disable properly automatic icon size
-- disable always and forcefully the automatic icon
size for plasma task managers and make sure to restore
to normal icon size when only such managers are present
8 years ago
Michail Vourlakos 7e07a402da disable automatic icon size for plasma taskmanagers 8 years ago
Michail Vourlakos 41c0b094e7 fix #621,use layout fill(s) for title tooltip 8 years ago
Michail Vourlakos 88cd32fffc dont call timer if it isnt needed 8 years ago
Michail Vourlakos 45add5988f fix #622,support title tooltips for hovered applets 8 years ago
Michail Vourlakos 262b3bd238 dont restore zoom when applet context menu shown 8 years ago
Michail Vourlakos 0b344be641 dont release zoom when plasmoid context menu is shown 8 years ago
Michail Vourlakos 8abc2e517a config option for task title tooltips 8 years ago
Michail Vourlakos 81323df723 fix #576,force panel shadow at expanded applets
--there are cases that the panel shadow should be forced
shown even though the user has chosen not to. Such case
is when an applet is expanded and the user has
zoom factor:1, panel background:100%, which is much
similar with a plasma panel configuration
8 years ago
Michail Vourlakos ba3de5061f block zoom hovering on dock sliding in/out 8 years ago
Michail Vourlakos 0b34dcf1b3 fix #608, support Unique,Layout,Global launchers 8 years ago
Michail Vourlakos 7418c60a3f support more colors and update some 8 years ago