https://bugs.kde.org/show_bug.cgi?id=456453
Bug ID: 456453 Summary: Windows in the 2nd screen are placed outside visible area when a panel is placed between screens and PLASMA_USE_QT_SCALING is set Product: kwin Version: 5.25.2 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwin-bugs-n...@kde.org Reporter: cuihao....@gmail.com Target Milestone: --- Created attachment 150470 --> https://bugs.kde.org/attachment.cgi?id=150470&action=edit Screen recording that illustrates the bug SUMMARY Please see the attached video. When using Xorg + dual-screen (4K & 200% scale) + PLASMA_USE_QT_SCALING=1, if I place a plasma panel to between the two screens (or exactly, the left edge of the right screen), the right screen become unusable and all windows placed on it will be immediately kicked to the right edge of the screen (outside the visible area). It's still possible to pull a window out but only moving it to the left screen can prevent it from being misplaced again. STEPS TO REPRODUCE 1. Create a fresh new user. Setup a plasma panel. 2. Move the panel to the left edge of the right screen of two screens placed horizontally. 3. Move or start a window on the right screen. OBSERVED RESULT All windows on the right screen are misplaced outside visible area (to the right of the right edge of the right screen). EXPECTED RESULT Windows are correctly placed. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux with latest packages KDE Plasma Version: 5.25.2 KDE Frameworks Version: 5.95.0 Qt Version: 5.15.5 ADDITIONAL INFORMATION The left screen is connected to Intel iGPU (i7-10700K). The right is connected to NVIDIA GTX 1650 GPU, which is also the primary GPU. Setting Intel as the primary GPU makes no change. Why am I placing the panel between two screens: I've never intended to do this. But another heisenbug which appears after 5.25 causes my panel to be moved from normal place (leftmost edge) to the wrong place (left edge of the right screen) from time to time after I unlock the screen. And whenever that happens, kwin becomes buggy in the way I said above. About PLASMA_USE_QT_SCALING: I hadn't set the environment variable before 5.25. After 5.25 I noticed everything (icon/text/button) related to plasmashell became smaller than 5.24. Someone told me the environment variable should be set to make plasmashell use the same scale as Qt. They said it's not new in 5.25 and I should have had it set before if I didn't see inconsistent scaling before 5.25. But the thing was I never set it before 5.25. -- You are receiving this mail because: You are watching all bug changes.