media-player: strange state when used with Shortwave
What problem did you encounter
When using Shortwave (from flathub) the media-player widget does show without any radio station playing (only on startup). The play button is insensitive, but the next and prev buttons are sensitive but don't do anything. Also the widget shows "Unknown Title" and "Unknown Artist".
After pressing play for a radio station (in-app) the correct name and subtitle are shown. When pressing pause (in-app and media player widget) the media-player widget disappears but the notification drawer doesn't resize. (after closing/opening the drawer it uses only the needed space).
When pressing the play button again from inside the app the widget shows up again in the notification drawer, but the title and subtitle in the media player widget remains empty (but it shows the correct cover). After some time the widget is filled in and shows correctly.
What is the expected behaviour?
- The media player widget shouldn't show Unknown Artist/Title nor shouldn't it be empty.
- When the media player widget is hidden the notification drawer should resize.
- In general I would expect the widget to behave the same way as in GNOME.
How to reproduce
- install shortwave from flathub via flatpak (couldn't reproduce the issue in Rhythmbox from flatpak)
- add a radio station to shortwave
- do the things described above.
Which version did you encounter the bug in?
-
I Compiled it myself. If you compiled phosh from source please provide the git revision via e.g. by running git log -1 --pretty=oneline
and pasting the output below. -
I used the precompiled Debian package (e.g. by running a prebuilt image). Please paste the output oof dpkg -s phosh
below.
Package: phosh
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 1162
Maintainer: Guido Günther <agx@sigxcpu.org>
Architecture: arm64
Version: 0.4.4
Provides: notification-daemon, polkit-1-auth-agent
Depends: dconf-gsettings-backend | gsettings-backend, libc6 (>= 2.17), libcairo2 (>= 1.2.4), libfeedback-0.0-0 (>= 0.0.0+git20200707), libgcr-base-3-1 (>= 3.8.0), libgcr-ui-3-1 (>= 3.8.0), libgdk-pixbuf2.0-0 (>= 2.23.0), libglib2.0-0 (>= 2.53.2), libgnome-desktop-3-17 (>= 3.17.92), libgtk-3-0 (>= 3.21.5), libhandy-1-0 (>= 1.0.0), libnm0 (>= 1.0.0), libpam0g (>= 0.99.7.1), libpango-1.0-0 (>= 1.37.2), libpolkit-agent-1-0 (>= 0.99), libpolkit-gobject-1-0 (>= 0.94), libpulse-mainloop-glib0 (>= 0.99.1), libpulse0 (>= 0.99.1), libsecret-1-0 (>= 0.7), libupower-glib3 (>= 0.99.4-3~), libwayland-client0 (>= 1.9.91), fonts-lato, gsettings-desktop-schemas, phoc (>= 0.4.0)
Recommends: feedbackd, iio-sensor-proxy, gnome-session
Description: Pure Wayland shell for mobile devices
Phosh is a simple shell for Wayland compositors speaking the layer-surface
protocol. It currently supports
.
* a lockscreen
* brightness control and nighlight
* the gcr system-prompter interface
* acting as a polkit auth agent
* enough of org.gnome.Mutter.DisplayConfig to make gnome-settings-daemon happy
* a homebutton that toggles a simple favorites menu
* status icons for battery, wwan and wifi
.
If you're not working on a Wayland compositor then this package is likely not
very useful for you.
Homepage: https://source.puri.sm/Librem5/phosh
What hardware are you running phosh on?
-
amd64 qemu image -
Librem5 devkit -
nested compositor. If so please give the full command you start phosh with. -
other (please elaborte)