flathub / io.freetubeapp.FreeTube

https://flathub.org/apps/details/io.freetubeapp.FreeTube
15 stars 10 forks source link

Doesnt start on Wayland #67

Closed secretmango closed 2 years ago

secretmango commented 2 years ago

I guess its not supported yet, but it would be great if we could use it on Wayland too.

Operating System: Kubuntu 21.10 KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.13.0-28-generic (64-bit) Graphics Platform: Wayland

bbhtt commented 2 years ago

The Wayland socket isn't exposed in the manifest , only X11 https://github.com/flathub/io.freetubeapp.FreeTube/blob/master/io.freetubeapp.FreeTube.yml#L13.

You can try to launch it with something like flatpak run --nosocket=x11 --socket=fallback=x11 --socket=wayland io.freetubeapp.FreeTube --enable-features=UseOzonePlatform --ozone-platform=wayland, this'll use native wayland which will lack window decorations in GNOME, or use flatpak run --nosocket=x11 --socket=fallback=x11 --socket=wayland io.freetubeapp.FreeTube to use Xwayland. If that works you can add it as a flatpak override until this is fixed.

However Wayland support is probably broken right now in Freetube https://github.com/FreeTubeApp/FreeTube/issues/2190 Freetube uses an old Electron version: https://github.com/FreeTubeApp/FreeTube/blob/development/package.json#L98 It'd be great to have that updated at first. That'd solve that issue and Electron >=17 supports window decorations with --enable-features=WaylandWindowDecorations, plus many more improvements.

ghost commented 2 years ago

The issue was close and it seems to work now, there's any update on this issue?

bbhtt commented 2 years ago

The issue was close and it seems to work now, there's any update on this issue?

Needs to be in a released version. The Electron version upgrade was merged on August 26 https://github.com/FreeTubeApp/FreeTube/commit/680abbebd81dbe746105c931523ed3082bc0302c

The last release is from August 12 https://github.com/FreeTubeApp/FreeTube/releases/tag/v0.17.1-beta

ghost commented 2 years ago

Oh, my bad. Thanks!

mooreye commented 2 years ago

How long before 0.17 release? This is a pretty bad issue that makes FreeTube unusable for me

efb4f5ff-1298-471a-8973-3d47447115dc commented 2 years ago

@firefoxlover is this fixed for u? If so please close the issue