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

            Bug ID: 462315
           Summary: kwin_x11: erratic windows resize when switching screen
                    OFF then ON
    Classification: Plasma
           Product: kwin
           Version: 5.26.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-x11-standalone
          Assignee: kwin-bugs-n...@kde.org
          Reporter: casta+...@xwing.info
  Target Milestone: ---

Created attachment 154083
  --> https://bugs.kde.org/attachment.cgi?id=154083&action=edit
video showing window resize when powering on the screen

SUMMARY

Use case: when not in front of my desktop, I usually shut down the screen. So
X11 is left without screen.
When restarting the screen, I see strange windows resize. For some applications
(mostly GTK), it leads to application freeze with this message: Gtk-WARNING **:
infinite surface size not supported 


On screen powering _on_, I get this that seems interesting:
nov. 27 14:45:31 dagobah kscreen_backend_launcher[1044]: kscreen.xrandr:
Requested screen size is QSize(0, 0)
nov. 27 14:45:31 dagobah kscreen_backend_launcher[1044]: kscreen.xrandr:
Requested screen size is QSize(2560, 1440)


I also have this :
$ journalctl --user --identifier kwin_x11
nov. 27 14:45:30 dagobah kwin_x11[153806]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 3283, resource id: 71941410, major code: 3
(GetWindowAttributes), minor code: 0
nov. 27 14:45:30 dagobah kwin_x11[153806]: qt.qpa.xcb: QXcbConnection: XCB
error: 9 (BadDrawable), sequence: 3284, resource id: 71941410, major code: 14
(GetGeometry), minor code: 0
nov. 27 14:45:31 dagobah kwin_x11[153806]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 3525, resource id: 71941430, major code: 3
(GetWindowAttributes), minor code: 0
nov. 27 14:45:31 dagobah kwin_x11[153806]: qt.qpa.xcb: QXcbConnection: XCB
error: 9 (BadDrawable), sequence: 3526, resource id: 71941430, major code: 14
(GetGeometry), minor code: 0
nov. 27 14:45:31 dagobah kwin_x11[153806]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 3663, resource id: 71941442, major code: 3
(GetWindowAttributes), minor code: 0
nov. 27 14:45:31 dagobah kwin_x11[153806]: qt.qpa.xcb: QXcbConnection: XCB
error: 9 (BadDrawable), sequence: 3664, resource id: 71941442, major code: 14
(GetGeometry), minor code: 0
nov. 27 14:45:32 dagobah kwin_x11[153806]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 3738, resource id: 100663300, major code: 18
(ChangeProperty), minor code: 0
nov. 27 14:45:32 dagobah kwin_x11[153806]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 3750, resource id: 100663307, major code: 18
(ChangeProperty), minor code: 0
nov. 27 14:45:32 dagobah kwin_x11[153806]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 3820, resource id: 71941455, major code: 3
(GetWindowAttributes), minor code: 0
nov. 27 14:45:32 dagobah kwin_x11[153806]: qt.qpa.xcb: QXcbConnection: XCB
error: 9 (BadDrawable), sequence: 3821, resource id: 71941455, major code: 14
(GetGeometry), minor code: 0


STEPS TO REPRODUCE
1. Shut down screen and restart it.

OBSERVED RESULT
Strange windows resize, maximized one or not. sometime with application freeze.

EXPECTED RESULT
Windows are not resized.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.9
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.5
Kernel Version: 6.0.9-gentoo (64-bit)
Graphics Platform: X11
Processors: 12 × 12th Gen Intel® Core™ i5-12500
Memory: 31.1 Gio of RAM
Graphics Processor: Mesa Intel® UHD Graphics 770
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B660I AORUS PRO DDR4
System Version: -CF

ADDITIONAL INFORMATION

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

Reply via email to