Commit Graph

157 Commits (fc8a531837f835b421465a9d5369e505c6024020)

Author SHA1 Message Date
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
Michail Vourlakos 9f20ceb83e remove globalSettings from qml part
--globalSettings remain only for the layouts in the
config window
8 years ago
Michail Vourlakos f2de335d35 move functionality to new architecture
--add functionality for layoutManager
--add widgets action and alternative layout action to
layoutManager
--remove more functionality that belongs to globalSettings
8 years ago
Michail Vourlakos 7d77ab5195 expose user specified shadows to qml 8 years ago
Michail Vourlakos c8878792bb fix #532,dont allow to add a second Tasks plasmoid 8 years ago
Michail Vourlakos 319f30d2cc fix showing debug window 8 years ago
Michail Vourlakos db78a5b622 fix #498,translate 0% margin to 0px margins 8 years ago
Michail Vourlakos c5dda73d5b fix #497, fix crash on startup
--this was crashing Latte on startup because
the WindowsModel was loaded too early when
the user had set "Show Background only for
maximized windows"
8 years ago
Michail Vourlakos 162d84e31d fix #495,Disable panel shadow for maximized windows 8 years ago
Michail Vourlakos 424f0e0e1c dont allow forceTransparentPanel on !compositing 8 years ago
Michail Vourlakos 05c2123708 go faster to directRender state
--improve more the parabolic animation and
fix an issue that was based on the time window
between smooth animation and directRender when
the mouse activates the parabolic effect in the
begin.
8 years ago
Michail Vourlakos 4eb0645474 fix #489,option for mouse wheel actions 8 years ago
Michail Vourlakos fbf952f606 fix binding loops that broke separators experience 8 years ago
Michail Vourlakos b79b375715 access internal plasma separator from contextmenu
--all the functionality concerning the internal separator
is moved completely into the plasmoid. Now the add/remove
of the internal separator can be found through the Tasks
contextmenu as long as we are in editMode (that is showing
the configuration window)
8 years ago
Michail Vourlakos 988448345f add margins to applet separators
--fix for indicating the separator on startup
--improvements in parabolic signaling
8 years ago
Michail Vourlakos a16ed0e9ef add clearing functions for parabolic managers 8 years ago
Michail Vourlakos 6fa6f70e41 add ParabolicManager for containment
--all messages concerning parabolic effect are calculated
and send through the ParabolicManager. This will help
a lot in maintainance and in many cases in the future
such as, separators, hidden applets and clearing zoom
properly
8 years ago
Michail Vourlakos ebc70d12b2 fix #182,improve automatic shring/grow
--@AndydeCleyre contribution, the automatic growing/
shrinking for applets now uses always the maximum
length as a limit for the calculations
8 years ago
Michail Vourlakos 1c76e29b3f fix #472,support latte applet active indicators
--expose the functionality through the configuration
window. The user can choose no latte type internal
active applets indicators, only show to latte internal
applets and show at all applets
8 years ago
Michail Vourlakos 8d0b64cd6d support applets activate line 8 years ago
Michail Vourlakos 28b777dd15 fix warning check 8 years ago
Michail Vourlakos 84e390c312 reduce warnings 8 years ago
Michail Vourlakos 9b4bde2958 reduce warnings 8 years ago