Bug 439562 - Latte-Dock should treat fullscreen windows as maximized
Summary: Latte-Dock should treat fullscreen windows as maximized
Status: RESOLVED INTENTIONAL
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-06 15:50 UTC by flyos
Modified: 2021-07-06 16:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description flyos 2021-07-06 15:50:45 UTC
SUMMARY
When having a fullscreen window, it can be interesting to have a dock/panel in autohide coming above the window when the cursor is on the edge to look for various things (new messages, time, etc.). This behaviour is possible in many case by checking "Can be above fullscreen window". When Latte is set in "Autohide" or "Dodge Active", this works well: the dock/panel is not visible over a fullscreen window, but appears when the pointer is moved to the relevant edge of the screen.

However, when using "Dodge Maximized", this doesn't work as expected, since a fullscreen window is not, strictly speaking, a maximised window, unless the window was maximised before being set in a fullscreen mode. As a result, in "Dodge Maximized", we have only access to two behaviours (if the original window isn't maximised):
1. if "Can be above fullscreen window" is unchecked, the dock/panel is NEVER shown and cannot be triggered with the pointer on the edge (since it is technically not in hide mode),
2. if "Can be above fullscreen window" is checked, the dock/panel is ALWAYS shown, thus visible above the fullscreen window (potentially in the way of a video).

ANALYSIS
This behaviour makes perfect sense if you consider that a fullscreen window isn't a maximised window. However, for all intent and purpose, I would say that in the eye of the user, a fullscreen window is "maximised". In my humble opinion, most users would expect "Dodge Maximized" and "Can be above fullscreen window" to behave like "Autohide" and "Dodge Active" for fullscreen windows, whether the original window was maximised or not.

POSSIBLE FIX
Since, to the best of my knowledge, only "Dodge Maximized" make use of whether a window is maximised or not, making Latte-Dock treat "Fullscreen" windows as "Maximized" (i.e. both at the same time) would fix this issue without impacting the other modes.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210704
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.11.6-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Memory: 15.0 Gio of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION
Latte-Dock: 20210629.git.fd5b4e53
Comment 1 Michail Vourlakos 2021-07-06 16:07:24 UTC
Can be above Fullscreen windows is just a tricky situation that is not meant to break other paradigms. It exists there for tiling wms etc.

Fullscreen windows are considered always above everything else. So the issue is not an issue.

Can be above fullscreen windows are not taken into account because they are considered to be always on top of everything.
Comment 2 flyos 2021-07-06 16:23:01 UTC
I see. Well, it's a shame in my opinion, because it's a very nice and useful behaviour in practice, but I get that breaking the system paradigms isn't something you'd want to play with, indeed.

I'll set the bug as "RESOLVED INTENTIONAL" then, if that's OK with you.