1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-25 14:03:58 +03:00

19 Commits

Author SHA1 Message Date
Michail Vourlakos
24806d8909 drop TaskManager for drag/double click panel
--use the visibilitymanager in order to drag
and maximize/restore an active window. Update
also the wayland functions for these features.
2018-10-28 21:10:08 +02:00
Michail Vourlakos
e63a43afe5 enable requestMove through the visibilitymanager 2018-10-28 10:03:49 +02:00
Michail Vourlakos
8d014c9e6e active windows that touch panel have higher priority 2018-10-26 18:47:13 +03:00
Michail Vourlakos
f6b4aa55cf support background painting based on window scheme
--support painting based on the active window scheme.
Added a schemecolors class for this and updated
abstractwindowinterface to provide tracking for windows
color schemes.
2018-10-23 20:42:12 +03:00
Michail Vourlakos
37dbab99bf remove no needed public api from visibilitymanager 2018-10-14 22:31:48 +03:00
Michail Vourlakos
203c740980 IMPORTANT FIX:show dodged dock at corner cases
When there was only one latte dock and the last
active window was closed, the dock wasnt showing
afterwards. The dodge logic now has been improved
in order to not lose any window manager signals
that could help indicate when to show/hide a
dodge capable dock

BUG: 398052
FIXED-IN: 0.8.1
2018-09-01 17:45:08 +03:00
Michail Vourlakos
cc0e0e7c47 simplify dodge(s) code and comment it 2018-08-31 16:49:47 +03:00
Michail Vourlakos
66817695fe raise docks when there isnt any active window
--there are cases that the window manager doesnt
return any active window at all. In such cases
we can assume that our docks/panels dont have to
be hidden.

BUG: 398052
FIXED-IN: 0.8.1
2018-08-31 15:29:49 +03:00
Yuri Chornoivan
7323068f36 Fix minor EBN issues 2018-08-30 08:47:53 +03:00
Michail Vourlakos
bb8835f156 identify maximized window screen differently
--there are cases that the window geometry isnt consistent
for maximized windows. That was breaking the previous
implementation of dynamic background because of:
https://bugs.kde.org/show_bug.cgi?id=397700
the new implementation is using only the window center in
order to identify the screen in which a window is
present

BUG: 397344
FIXED-IN: 0.8.1
2018-08-21 15:09:23 +03:00
Michail Vourlakos
7bceb7e4b7 Identify snapped windows independent of screen
--the old code wasnt screen independent for identifying
windows that touch the panel edge. There were cases
that when a window was touching a panel edge at
screen A to faulty identify that is touching
screen B also. The code now is more robust and it
can also handle cases that window is touching two or
more different panels in different screens.

BUG: 397076
FIXED-IN: 0.8.1
2018-08-02 14:23:01 +03:00
Michail Vourlakos
5e4134b1ee improve visibility should consider per screen
--maximized windows shouldnt provide solidness
at docks using improve visibility in different
screens.
2018-04-05 19:57:55 +03:00
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
2018-03-31 10:57:03 +03:00
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
2018-03-30 11:17:03 +03:00
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.
2018-03-08 18:08:55 +02:00
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.
2018-03-01 23:53:28 +02:00
Michail Vourlakos
c2e72b7f67 do not update struts during location change 2018-02-12 20:19:46 +02:00
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.
2018-02-12 16:11:33 +02:00
Michail Vourlakos
acb77c6cd4 update header files and move files around 2018-02-03 11:37:09 +02:00