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

            Bug ID: 461142
           Summary: Maximized windows use a different monitor to determine
                    their bottom edge
    Classification: Plasma
           Product: kwin
           Version: 5.26.2
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: xrandr
          Assignee: kwin-bugs-n...@kde.org
          Reporter: jackygu...@hotmail.com
  Target Milestone: ---

Created attachment 153285
  --> https://bugs.kde.org/attachment.cgi?id=153285&action=edit
Dump of my monitor setup from KScreen.

SUMMARY
I have 2 monitors: a high-DPI laptop screen (BOE eDP-1-unknown) and an external
monitor (Samsung LF24T35).The laptop screen is scaled by 175%. Attached is a
dump from KScreen, if that is helpful.

STEPS TO REPRODUCE
1. I moved a window to the laptop screen.
2. I maximized said window.

OBSERVED RESULT
The window covers the whole width of the screen, but only covers part of the
height.
I did more digging and found that if I moved the laptop screen upwards in
System Settings, it would cover more of the height. I also inspected the
coordinates and size of the "maximized" window. The bottom edge aligned
perfectly with the top of the panel on the main monitor.

EXPECTED RESULT
The window should cover the whole laptop screen (excluding panels), as it
usually should.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.0.5-arch1-1
KDE Plasma Version: 5.26.2 (Wayland)
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
Pasted below is from `qdbus org.kde.KWin /KWin queryWindowInfo` from a
maximized window:
=========================================
activities: 1fe86127-d67b-4797-816f-87c2194fc798
caption: foot
clientMachine: 
desktopFile: foot
desktops: 3ecc69d2-d092-4829-89bf-f52f0f24af30
fullscreen: false
height: 496
keepAbove: false
keepBelow: false
localhost: true
maximizeHorizontal: 2
maximizeVertical: 1
minimized: false
noBorder: false
resourceClass: foot
resourceName: foot
role: 
shaded: false
skipPager: false
skipSwitcher: false
skipTaskbar: false
type: 0
width: 1289
x: 0
y: 544

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

Reply via email to