Shell: Resolution change reconnects display, which moves windows to a new workspace

Created on 20 Apr 2020  路  7Comments  路  Source: pop-os/shell

Distribution (run cat /etc/os-release):
Pop!_OS 20.04

Related Application and/or Package Version (run apt policy pop-shell or provide the latest commit if building locally):
https://github.com/pop-os/shell/commit/8ee8268f282b7951c2adf15992661c462450b875

Issue/Bug Description:
I have 2 displays set up: the laptop's internal 1920x1080 and a 2560x1440 set up above it. Here is a screenshot of what this looks like:
Screenshot from 2020-04-20 11-49-43

Now if I reduce the resolution of the top display to 1920x1080, the window grid stays the same size and spills off the edges.
Screenshot from 2020-04-20 11-50-09

And then if I increase the resolution of the top display back to 2560x1440, it gets even scarier:
Screenshot from 2020-04-20 11-50-39

Steps to reproduce (if you know):
See above

Expected behavior:
If a resolution change triggered a re-tile, it might take care of the issue.

Other Notes:
I also noticed some similar weirdness when switching the scaling factor, but it seemed less reproducible. It may be worth investigating since it seems like the same sort of issue.

bug

All 7 comments

Is this still an issue?

It looks like it now re-tiles the windows to the correct size, but the two that were on the external display get moved to a separate workspace. I wonder if a resolution change triggers the same thing that detects when a display gets removed.

That sounds like what's happening. Perhaps there needs to be a timeout when displays are disconnected and reconnected after a display change.

Oh also, the part where the window on the bottom monitor gets covered by the top bar is still present. Forgot to mention that.

I also see this when I leave a laptop w/ external monitor locked for an extended period.

Is this still an issue?

It appears to be fixed now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JoelMon picture JoelMon  路  4Comments

Dark-Matter7232 picture Dark-Matter7232  路  7Comments

carlwgeorge picture carlwgeorge  路  8Comments

ahoneybun picture ahoneybun  路  6Comments

derpmatt picture derpmatt  路  7Comments