question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Application blurred on Wayland with HiDPI scale

See original GitHub issue

Your Environment

  • Version used: 7.6.0 (AUR package superproductivity-bin)
  • Operating System and version: archlinux on linux 5.10.75
  • Desktop Environment: KDE Plasma 5
  • Browser Name and version: N/A

Expected Behavior

The application should not be blurred.

Current Behavior

Everything is blurred: text, images (icons), etc. Looks like scaling from 100% to 200%, rather than natively supporting scaling on Wayland. It works correctly on X11 with 200% scale, though.

Steps to Reproduce (for bugs)

  1. Start DE on Wayland sessions, with scale set to 200% (for HiDPI)
  2. Start SuperProductivity

Console Output

Not related

Error Log (Desktop only)

Not related

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
alosarjoscommented, Nov 4, 2021

@renyuneyun It will probably launch it without window decorations because electron doesn’t have support for them on wayland natively, but could you try launching the app like this:

superproductivity --enable-features=UseOzonePlatform --ozone-platform=wayland

And see if it looks ok at least? I don’t have a HiDPI display to test, but with those flags it should run natively on Wayland instead of XWayland

1reaction
alosarjoscommented, Mar 9, 2022

The truth is that Wayland is pretty usable and pretty close to becoming the default for most things desktop related.

But Electron support for Wayland is still a work in progress. As long as Electron dependency updated from time to time, there isn’t much to be done on this specific app.

El mié, 9 mar 2022 12:05, Rui Zhao @.***> escribió:

@johannesjo https://github.com/johannesjo I’m not sure if that is still the case now. As far as I know, DEs and distros are / have been switching to Wayland.

Gnome has been using Wayland as the default option for quite some time; KDE plan to make “Wayland shine” https://www.phoronix.com/scan.php?page=news_item&px=KDE-2022-Roadmap in its roadmap for 2022. Ubuntu started to ship with Wayland by default since 21.04 https://www.omgubuntu.co.uk/2021/01/ubuntu-21-04-will-use-wayland-by-default; Fedora was using Wayland by default since Fedora 25 https://docs.fedoraproject.org/en-US/quick-docs/configuring-xorg-as-default-gnome-session/ (in 2016; of course, probably because of Gnome).

And from personal experience, I experience some graphics bugs on X11, while they did not appear in Wayland. Of course, Wayland has its own issues on my machine…

— Reply to this email directly, view it on GitHub https://github.com/johannesjo/super-productivity/issues/1618#issuecomment-1062806331, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHE4CQ6LY3STV5FM4ZO7YW3U7CAYXANCNFSM5GSN2XCQ . You are receiving this because you were mentioned.Message ID: @.***>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Blurry text when using Sway or fractional scaling on Wayland
This makes the window's contents look somewhat blurry, which is most noticeable with text. The effect can be seen with any "pure" X...
Read more >
Wayland blurry HiDPI scaling - Unix & Linux Stack Exchange
Scaling changes the size of UI components correctly, so setting it to 200% in gnome settings makes everything appear twice as big, but...
Read more >
Has anyone solved blurry XWayland apps with fractional ...
XWayland apps appear blurry as a result due to being rendered at 1X and scaled up.
Read more >
How to Fix Blurry Firefox on HiDPI + Wayland - OMG! Ubuntu!
I share a quick fix for blurry fonts in Mozilla Firefox when running on Wayland on Linux. No PPAs required; just run Firefox...
Read more >
This week in KDE: non-blurry XWayland apps!
This week in KDE: non-blurry XWayland apps! ... Plasma 5.26 will resolve a major pain point for users of the Wayland session with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found