strawberrymusicplayer / strawberry

:strawberry: Strawberry Music Player
https://www.strawberrymusicplayer.org/
GNU General Public License v3.0
2.53k stars 164 forks source link

Window is invisible/empty after update to Qt 6.7 #1421

Closed nokia8801 closed 2 months ago

nokia8801 commented 2 months ago

Describe the bug Application is running but the window is empty and nothing is visible.

To Reproduce Upgrade to Qt 6.7 and launch the app.

Expected behavior Window should be visible.

System Information:

Additional context Updated to Qt 6.7 on Arch Linux. Strawberry started crashing with segfaults. Compiled strawberry from the AUR again. Now it launches and there are no errors in GNOME Logs but the window is invisible and empty. Not even the header bar and menu is visible. Tried shortcuts thinking it may play a song but that didn't work either. Could very well be a Qt bug or Arch Linux bug but I don't know.

[nokia@linux strawberry-git]$ strawberry
06:56:25.562 INFO  main:182                         Strawberry 1.0.23-112-g58944993 Qt "6.7.0"
06:56:25.562 INFO  main:183                         "Arch Linux unknown - (linux 6.8.5-arch1-1) [x86_64]"
06:56:25.655 INFO  main:47                          TagReader worker connecting to "/tmp/strawberry_130699072"
06:56:25.896 WARN  GlobalShortcutsBackendGnome:92   Failed to grab media keys "org.freedesktop.DBus.Error.UnknownMethod" "Object does not exist at path “/org/gnome/SettingsDaemon/MediaKeys”"
06:56:26.123 INFO  DeviceManager:450                Device added: "/dev/sr0" QList("/dev/sr0")
nokia8801 commented 2 months ago

Most likely a Qt or GNOME bug as all of my other Qt 6 apps are also invisible. It's visible when running with QT_QPA_PLATFORM=xcb.

glaubersm commented 2 months ago

Can confirm when running Strawberry on Gnome Wayland (other Qt 6 apps are affected too), cannot when running on KDE Plasma Wayland instead. I use Arch Linux.

xuanruiqi commented 2 months ago

Same - can only run under XWayland, not native wayland

jonaski commented 2 months ago

This seems like a general Qt/Wayland/Gnome specific issue, I suggest to report this bug to the Linux distribution.

Pommede commented 2 months ago

same issue, arch gnome wayland, but working with strawberry qt5... its seems that we're alone ;-)

nokia8801 commented 2 months ago

For anyone wondering, this issue is fixed by Mutter 46.1.