New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffer size is not divisible by scale - One more time... #7398
Comments
Yes, this is a Chromium bug. |
I'd be very interested in insight why this is implemented in a 'wrong' way in so many applications? Especially because wlroots code already had a workaround/fix for that. From a user's perspective, the change of removing this workaround was a very bad idea. I understand the intention of doing so, if that really needs to be implemented in every client, but maybe the timing was not the best one then? Can you please provide more information why exactly size needs to be divisible by scale and what makes it so bad to have this additional line of code preventing clients to crash that all users need to suffer. :( |
Bug reported upstream: Thanks for sway! Awesome piece of software, despite some frustration sometimes :) |
Multiple reasons:
It is not removing a workaround. It is making sure clients comply with the spec to avoid glitchy frames.
Thanks! |
Just hit this myself after upgrading to NixOS 23.05. I use a proxy for X11 applications, and they are obviously unaware of Wayland's requirements about window sizes. I tried rounding the window sizes down, but that has a bad side-effect: if GTK asks for a 1001-pixel high menu and gets a 1000 pixel allocation, it switches to squashed mode and draws two big bumper arrows at the top and bottom of the menu which you must use to scroll it! I also tried rounding up, but tooltips look bad with any rounding. Either one border is missing, or it's double thickness. It seems that Sway is perfectly capable of handling odd-number sizes, since it used to work. Is there any way to get the old behaviour back? What is the recommended way to deal with this? |
Please fill out the following:
Sway Version:
sway version 1.8
Debug Log:
Will provide if needed
Description:
Well known issue already:
Apps crash if sway output scaling is not equal to 1 #6014
imv and mpv broke with latest sway #7050
It seems to need fixes in every single client. I see this happening in my chromium when I drag an image from a website. (crashes chromium with the following log):
Is this image drag'n'drop from browser windows implementation in sway or in browser itself? Do I need to report this to chromium devs rather?
The text was updated successfully, but these errors were encountered: