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

            Bug ID: 510928
           Summary: Some hotplugging events result in monitor layout
                    having a gap, trapping mouse on one screen
    Classification: Plasma
           Product: kwin
      Version First 6.5.0
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: multi-screen
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 186017
  --> https://bugs.kde.org/attachment.cgi?id=186017&action=edit
Screenshot of the invalid layout the was automatically applied

SUMMARY
Some hotplugging event involving a 2560x1600 16:10 laptop screen, and a 4k 16:9
TV results in a screen position layout getting set that has a gap between the
two screens. The effect of this is that the mouse (and thus windows) are
trapped on one screen.

This is particularly problematic if the settings screen is on the screen that
the mouse is trapped on the other side of the gap from. This prevents accessing
the Display Configuration page where the issue can be rectified, without some
window manager shortcuts that many may not be familiar with.

It probably has something to do with the discrepancy in aspect ratios, as the
gap is about the same size as the difference between the geometry of 16:10 and
16:9.

I've been seeing this since 6.4.*, but I also only started using mixed aspect
ratio monitors during 6.4.*, so it may have been present before then.

I'm running 6.5 now, and it is unfortunately still present :/

I have two different 16:9 TVs that I attach to this laptop, and it only seems
to happen with one of them, so there is likely some interplay with stored
screen layouts. The settings panel does note that its positioning validation
knows that the screen positioning is illegal... so, perhaps this validation
should be happening earlier in the pipeline, during the actual application of
saved positioning, and rejecting such invalid layouts, rather than applying
them anyway? Idk. Just spitballing.

STEPS TO REPRODUCE
1. Have a 16:10 laptop
2. Attach a 16:9 monitor or TV
3. Observe issue. (See above for speculation about how this state might be
reached. It may be much more common than said speculation though.)

OBSERVED RESULT


EXPECTED RESULT
There shouldn't be a gap between the screens in the display layout, and it
should be possible to get the mouse from one screen to the other, over the moat
(or, just, no moat is probably sufficient).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: CachyOS 6.17
KDE Plasma Version: Plasma 6.5 (from the Arch Extra-Testing repo)
KDE Frameworks Version: 
Qt Version: 6.10

ADDITIONAL INFORMATION

See attached image for demonstration of invalid screen geometry

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

Reply via email to