https://bugs.kde.org/show_bug.cgi?id=439562

            Bug ID: 439562
           Summary: Latte-Dock should treat fullscreen windows as
                    maximized
           Product: lattedock
           Version: git (master)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: mvourla...@gmail.com
          Reporter: fl...@mailoo.org
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to