Created attachment 156665 [details] The end result of fullscreening a window with the gap at the bottom visible SUMMARY STEPS TO REPRODUCE 1. Move a window to a second monitor that does not have a taskbar 2. Set it to fullscreen OBSERVED RESULT The window scales to a size at which it should scale to would there be a taskbar. But since there is no task bar the fullscreen window doesn't fill the whole screen and leaves a gap to the bottom edge of the display. EXPECTED RESULT The window fills the entire screen and doesn't leave a gap. SOFTWARE/OS VERSIONS OS: 6.1.12-zen1-1-zen (64-bit) KDE Plasma Version: 5.27.1 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8
Is this on X11 or Wayland? Does it reproduce on both, or just one? Can you post a screenshot that shows your screen arrangement?
(In reply to Nate Graham from comment #1) > Is this on X11 or Wayland? Does it reproduce on both, or just one? > > Can you post a screenshot that shows your screen arrangement? This is on X11. I already added an attachment of my second screen, I will add one more showing the full two screens.
Created attachment 156699 [details] Showing the bug of the window not scaling in relation to both screens
I just discovered where the issue might come from while having an issue with games launching on my non primary monitor. In the settings i switched around the primary display between my two monitors a few times or generally just toggled settings, also disabled the non-primary display and that fixed this issue as well as the game starting on the wrong monitor. I am guessing that the issue initially begun when switching my Primary HDMI to my TV for watching a movie and going back to my normal display.
I think this has something to do with the window management on KDE Desktop. I looked around the repositories a bit, but couldn't really see where this part is implemented (still new to the structure and the 1100 repositories :v). Could anyone point me to the repository / code place where the Primary monitor is set when changing it in system settings?
The issue will be in KWin, with respect to how it calculates the area that a maximized window can fill.
I haven't ran into this issue again, and it seems to be unreproducible by now.