Skip to content
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

Blurry rendering on Wayland with double monitor + fractional scaling #1332

Open
absporl opened this issue Sep 27, 2023 · 4 comments
Open

Blurry rendering on Wayland with double monitor + fractional scaling #1332

absporl opened this issue Sep 27, 2023 · 4 comments

Comments

@absporl
Copy link

absporl commented Sep 27, 2023

Describe the bug

Text and other graphics look blurry using the app. I'm using Wayland with a built-in laptop screen and an external monitor. The external monitor is a 4K display with fractional scaling set to 150%.

When I have the window on the external monitor, the app looks blurry. When I have the window on the laptop screen (scaling 100%) it looks fine.

Expected behavior

I want text to look crisp, like when using a browser. Other Electron apps (e.g. Slack) do not seem to have this problem.

Screenshots

Rendered in the app:

Rendered in the app

For comparison, rendered in Firefox:

For comparison, rendered in Firefox

Desktop (please complete the following information):

  • Operating System: Fedora 38 using GNOME + Wayland
  • Zulip Desktop Version: 5.10.2
@andersk
Copy link
Member

andersk commented Sep 27, 2023

This is because Zulip is running in XWayland. Native Wayland support in Chromium and Electron apps is still experimental, but you can enable it by passing the arguments --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations.

@erdnuesse
Copy link

this should be reopened;
because there exists ~/.config/electron-flags.conf, which zulip ignores. Everything else is a workaround, and there it would be implemented "correctly" imo, as other electron apps respect that file.
/justmy2ct

@andersk
Copy link
Member

andersk commented Oct 18, 2024

@erdnuesse This was never closed. But ~/.config/electron-flags.conf is entirely an Arch Linux invention, not an upstream thing. We aren’t involved with the Arch Linux package for Zulip Desktop; you’re welcome to ask its maintainers to update it to support that.

@erdnuesse
Copy link

Entirely my bad, I've just seen the mention, that said closed, and didn't know about the arch specificity, so I just assumed it to be a thing. Apologies for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants