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

Notion on 4k wayland that scales 200% shows low resolution #110

Open
gzqx opened this issue Aug 29, 2022 · 3 comments
Open

Notion on 4k wayland that scales 200% shows low resolution #110

gzqx opened this issue Aug 29, 2022 · 3 comments
Labels
bug Something isn't working right

Comments

@gzqx
Copy link

gzqx commented Aug 29, 2022

What is happening?

Using wayland on a 4k laptop, set scale rate to 200%, notion-enhance linux app shows bad resolution
What should be happening?
Use same resolution as other app
Screenshots (if applicable):
image
As you may see in the screenshot, the icon in notion is half resolution of the github page in browser
Operating system/browser name & version:
Fedora 36 Plasma
KDE Plasma 5.25.4
notion-enhancer and/or notion-repackaged version:
2.0.18
notion-enhancer configuration (enabled/disabled mods and their settings):
Tried to disable all mod

@gzqx gzqx added the bug Something isn't working right label Aug 29, 2022
@clotodex
Copy link

This should normally be taken care of the ozone platform in electron
BUT I am facing the same issue on wayland, and the commandline flags either dont have effect or crash the whole program
--ozone-platform-hint=auto => no effect
--enable-features=UseOzonePlatform --ozone-platform=wayland => hard crash

@dragonwocky dragonwocky transferred this issue from notion-enhancer/notion-enhancer Dec 6, 2022
@wak31415
Copy link

This is because notion-repackaged/notion-enhanced is built using Electron 11 (see scripts/build_locally.sh, 38L), but Wayland support is first introduced in Electron 12. Updating the packages to use newer Electron versions should solve the problem

@dragonwocky
Copy link
Member

@wak31415 thanks, that's good to know. For the app to run, notion-repackaged has to match whatever version of Electron the official builds used, and at the time of the last release, that was Electron 11. Notion has since been updated to Electron 14, so this will be fixed in the next release of the notion-enhancer/notion-repackaged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right
Projects
None yet
Development

No branches or pull requests

4 participants