inbox-desktop icon indicating copy to clipboard operation
inbox-desktop copied to clipboard

bug: Doesn't run as a native Wayland application

Open onkoe opened this issue 1 year ago • 2 comments

Unfortunately, this app seems not to run under Wayland when given the option. Instead, it uses Xwayland, giving it an ugly title bar, worse performance, and bad fractional scaling (very blurry).

This issue affects all Electron apps, but can be mitigated by developers individually by overriding the option in their XDG Desktop files. You can read more about this on the related Electron PR: https://github.com/electron/electron/pull/35630

For now, users can pass an ozone-platform-hint flag to make the app run as expected: proton-mail --ozone-platform-hint=auto. They may also set ELECTRON_OZONE_PLATFORM_HINT=auto as an environment variable. This will apply to all Electron 28.0+ apps on a system! 😄️✨️

onkoe avatar Apr 20 '24 04:04 onkoe

another bug related to this feature: the webview seems to be offset on native wayland???

xwayland: image

native: image

onkoe avatar Apr 20 '24 04:04 onkoe

bump

Twig6943 avatar Dec 14 '24 18:12 Twig6943