notification overlay at false position on portray mode screens
Affected version
gnome-shell-3.38.1-2.fc34.aarch64 gnome-control-center-3.38.2-2.fc34.aarch64 Device: pinephone OS: Fedora 34 Rawhide Screen resolution: 720x1440 ( portray mode )
Bug summary
if the date in the gnome-status-bar is pressed, the overlay window opens at -720px ( approximately,it's impossible to tell exactly ) just showing the rightmost content BUT the click detection is at the estimated CORRECT position.
Steps to reproduce
Start desktop choose 720x1440 resolution click on the date+time area
What happened
If the date in the gnome-status-bar is pressed, the overlay window opens at -720px ( approximately,it's impossible to tell exactly ) just showing the rightmost content BUT the click detection is at the estimated CORRECT position.
Means: If i press on the background image at the position where the weather should be shown, it really opens gnome-weather.
Conclusion: The "paint" function miscalculates the correct window location, but the click detection calculates it correct. So two different functions are used to estimate a position on screen. I don't think this is good idea in general.
What did you expect to happen
Placing the overlay image at the left most position if it does not fit entirely into the screen.
Of course, arranging the content of the overlay by available space on a dynamically basis, would be much better, because with 720x1440 we have a lot of space downwards.
In HTML terms, a floating layout would fix that problem easily.
Relevant logs, screenshots, screencasts etc.
http://static.bloggt-in-braunschweig.de/Gnome-Shell-Bug3.png