Commit Graph

47 Commits (745b9ea07554cda9d71d10e6b937d15a90da4dde)

Author SHA1 Message Date
Michail Vourlakos 745b9ea075 dont apply too early blur effect
dont delay the corona destruction under wayland
because that creates a crash with kwin effects

BUG: 392890
7 years ago
Michail Vourlakos 94fa4177ac set hidden ghost window mask to minimum 7 years ago
Michail Vourlakos 5e4134b1ee improve visibility should consider per screen
--maximized windows shouldnt provide solidness
at docks using improve visibility in different
screens.
7 years ago
Michail Vourlakos f287d37ac0 add a dock geometry validator
-- under X11 it was identified that windows
many times especially under screen changes
dont end up at the correct position and size.
This vailidator(timer) will enforce repositionings
and resizes every 500ms if the window hasnt end up
to correct values and until this is achieved.
7 years ago
Michail Vourlakos ba2acef2c1 fix warning 7 years ago
Michail Vourlakos 0712d62a3b dont lose focus from dock tooltips
--because focus is lost from dock tooltips the
dock settings window was closing. We take into
account that case in order to not close the
dock settings window in such case
7 years ago
Michail Vourlakos bd211c9d29 disable blur under wayland 7 years ago
Michail Vourlakos 83bad3374e expose screen Tracker interval value
--different hardware can have different delays
in order to inform for screen changes. The tracker
(an internal timer that is) informs Latte after
a specific interval in order to track these changes
and respond accordingly.
7 years ago
Michail Vourlakos 6163cecb6b [wayland] add a protection for updateEffects
--Blur effect under Plasma 5.12(wayland) creates
many crashes. As it appears for 5.13 this has been
greatly improved.
7 years ago
Michail Vourlakos fb8063cdee fix #946,improve kwin screen edges under X11
--make sure that the kwin ghost window ends at
the correct geometry at all cases
7 years ago
Michail Vourlakos 9e8406c419 reenable blur for wayland
--as it appears the crash and the support
for blur has been fixed for Plasma 5.13
7 years ago
Michail Vourlakos da5cb9c61f fix #946,improve kwin edges support
--make the behaviour more robust and be more
precise at geometries used at all times
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 1f0acbc3b5 Support KWin Edges mechanism
--by default now Latte supports the KWin Edges mechanism,
this way the following issues are fixed:
fix #935, fix #721, fix #687, fix #512, fix #514
--improve dock behavior when the user user touch
gestures
--fix #144, support KWin bright placeholders
--this behavior can be disabled if the user prefers
the old one from the Tweaks page
--in !compositing no more is shown a 1px line at
the screen edge when the dock is hidden
--support KWin Edges in Multiple Layouts state under
X11
7 years ago
Michail Vourlakos a93ecfe65d change default show delay to 0ms
--the reason is the plasma default behavior
for touch gestures under X11. Many users
report that Latte isnt working correctly
with left edges. Latte isnt responsible for
this but the plasma touch gestures implementation.
By changing the default for our Show Timer to
0ms then the situation is improved a bit more
for such cases and the user of course can
always alter its value from dock settings
window.

-https://github.com/psifidotos/Latte-Dock/wiki/F.A.Q.#q-my-left-dock-behaves-strangely-from-plasma-510-and-beyond-can-i-fix-this

-https://bugs.kde.org/show_bug.cgi?id=392464
-https://bugs.kde.org/show_bug.cgi?id=382219
7 years ago
Michail Vourlakos d1320f692e wayland,hide dock config wins from taskbar 7 years ago
Michail Vourlakos 616b8139ff use recreateDock directly
--recreateDock is used when the visibility mode
changes and as such the window must be recreated
in order to work correctly. Any remaining code
found for such function in corona and layoutManager
is removed.
7 years ago
Michail Vourlakos eb3feb4a4e fix #934,change quit button to close button
--exhausted to discuss this so often so in the
end it may be my perspective wrong. Quit button
in dock settings window changed to Close button
and the Quit option moved to menu bar of the
general Latte settings window with shortcut
Ctrl+Q
7 years ago
Michail Vourlakos 11cccbf40d fix #907,always check overlap for dodgeMaximize
--the check in order to identify if a maximized window
overlaps with the dock wasnt always been executed. That
was the case for multi-screens environments.
7 years ago
Scarlett Clark 71d339516e Minor spelling corrections.
Closes: https://phabricator.kde.org/D11101
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 5db8c37cbf fix #900,dont hide panel in editMode
--when the context menu is destroyed it frees
the visibility blocker for hiding. This is true
in normal state but in editing mode it shouldnt
happen.
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 cb88d134f4 fix #889,dont crash on applcation exit
--the wayland interface couldnt orchestrate correctly
with the corona and the application exit. The whole
architecture changed and the window manager now is
provided by corona and corona is also responsible to
keep only one instance of it and close on exit.
7 years ago
Michail Vourlakos b4b68e5bb1 add wayland debug messages 7 years ago
Michail Vourlakos 0a1488b643 update wayland code based on plasma 7 years ago
Michail Vourlakos d6740bb378 fixes for wayland 7 years ago
Michail Vourlakos 7050d7ba1f fix #886 use svg for settings Latte trademark
--remove the Plasma Label that was used to set
the Latte trademark based on Tangerine font that
was distributed from app source code
--remove the Tangarine font from source code
7 years ago
Michail Vourlakos 1ff161a030 updates and improvements at applets glob.shortcuts 7 years ago
Michail Vourlakos 1e57260c5f asynchronous calls for quiting application
--this gives the time for docks to close and also
to not create any rare crashes because qml settings
window calls this code path from its Quit button.
7 years ago
Michail Vourlakos d2495b3350 apply layout's activities on config showing 7 years ago
Michail Vourlakos 1a3cb13094 use same font metrics for qml and c++ code 7 years ago
Michail Vourlakos f9b475cc8a dont handle latte containment as appler for menu 7 years ago
Michail Vourlakos c2e72b7f67 do not update struts during location change 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 73229c5fbc give some more space in editingVisual for ruler 7 years ago
Michail Vourlakos f20da16854 update license in new files 7 years ago
Michail Vourlakos a1c672a864 create independent secondary config window 7 years ago
Michail Vourlakos cbfc7da27b dont show two configuration windows(systrays) 7 years ago
Michail Vourlakos 43cc5da6fa complete containmentactions support
--this way the Layouts menu in now accesible
even from plasma taskmanagers. The codebase is also
the same for every component that is showing its
menus.
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 d3756e0ce1 add containmentactions 7 years ago
Michail Vourlakos 4b07ae7457 move dock contextmenu to dockmenumanager 7 years ago
Michail Vourlakos afe9a2e09d rename latteconfigdialog to settingsdialog 7 years ago
Michail Vourlakos acb77c6cd4 update header files and move files around 7 years ago