Open fkranhold opened 3 months ago
Can you try again with the latest Sway commit? See https://github.com/swaywm/sway/wiki/Development-Setup#compiling-as-a-subproject
I can confirm that the issue is not present any more in the latest sway commit. Thank you!
Is there an estimate when this will become part of a new sway release? Otherwise, I am thinking about switching to the sway-git package from the AUR.
Sway version
1.9
Description
Assume a laptop whose main monitor has a fractional scaling factor >1. If you open an application, suspend the laptop, close the lid, connect the laptop to an external monitor with scaling factor 1, keep the lid closed and wake the laptop up again (a procedure that is actually quite standard when working with docking stations), then that application will look completely distorted.
In the screenshot below, you see an example with a distorted alacritty terminal (left side) and a newly opened one for comparison (right side).
There is a strange way to ‘repair’ the broken applications: Namely by opening the laptop lid, moving the window back to the laptop’s main monitor, and moving it again to the external monitor. Very much as in #7762, it looks as if the application has to be told how it is to be scaled while it is visible.