notion-enhancer / notion-repackaged

notion executables with the notion-enhancer embedded & a vanilla port of the official app to linux
https://notion-enhancer.github.io/getting-started/installation
MIT License
908 stars 52 forks source link

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

Open gzqx opened 2 years ago

gzqx commented 2 years ago

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

clotodex commented 1 year ago

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

wak31415 commented 1 year ago

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 commented 1 year ago

@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.