Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Wayland support

Wayland support

Hi,

Can you release a linux package with ozone support built so that we can use the client under Wayland? There have been posts requesting this in the past because it is highly anticipated.

 

It shouldn't be that complicated it seems:

https://www.collabora.com/news-and-blog/blog/2019/05/08/cef-on-wayland-upstreamed/

https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/ozone_overview.md

 

Best,

Reply
25 Replies


@iiiian wrote:

Thanks !drop down menu and chinese/japanese input work like a charm now!. I also test with

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

this eliminate blurry app on fractional scaling, but chinese/japanese input will not work, which is understandable since chromium doesn't implement it. Anyway, thanks for the update.


So by default the app will still use xwayland in a wayland environment? Thats a bit sad to read. 😞

Thanks so much to developers working on this. Its very exciting to see 1.1.99 starting to work in Wayland. Right now I'm noting a couple issues that hopefully won't be terrible to resolve. 1) the window border is pretty strange looking. Guessing based on the fact that its still relying on the "--enable-features=UseOzonePlatform --ozone-platform=wayland" flags this means Spotify is running a pretty old version of Electron, but would be great if we could get the newer version that support native Gnome chrome with the flag "--enable-features=WaylandWindowDecorations". Also the app doesn't seem to set a window class so it doesn't show properly on the dock. Thanks again!

Spotify is not Electron, but Chromium Embedded Framework(CEF) and does use a pretty recent version of it: https://www.spotify.com/us/opensource/ 

 
That said, it should be possible to use the newer flags, except Spotify does use an older version of CEF on linux(?). But I dont know about this nor do I know about what CEF supports on the Wayland side, but it should be pretty close on what Chromium itself supports.

I've tested the 1.1.99 version and I would like to report these 3 issues:

  • I cannot open any drop down menu in the settings, like language selection. Selecting it with the keyboard Tab and selecting with  down/up arrow keys works as a workaround
  • The size of the window is not preserved between app restarts
  • The option "Close button should minimize the Spotify window" does not work. The app closes after clicking the close button

Testing environment: Kubuntu 22.10

The drop down menu works normally in XWayland. But when running with `--enable-features=UseOzonePlatform --ozone-platform=wayland`, the menu is still not working, and I cannot even use the keyboards to open it.

I tested the version 1.1.99.878-g1e4ccc6e. It is working like a charm and the things that are not working are the following:

  1. the size of the window is not preserved between app restarts
  2. I cannot open any drop down menu in the settings
  3. the window decorations are similar to the Windows XP ones.

    Schermata del 2023-02-26 12-04-53.png

I'm running on a Ubuntu 22.04 machine, with the flags

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

Running with the flags --enable-features=UseOzonePlatform,WaylandWindowDecoration --ozone-platform=wayland still have the same issues.

Suggested posts