Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PWAs show as "Mozilla Firefox" in GNOME Media Player #493

Open
LSeelig opened this issue Apr 27, 2024 · 3 comments
Open

PWAs show as "Mozilla Firefox" in GNOME Media Player #493

LSeelig opened this issue Apr 27, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@LSeelig
Copy link

LSeelig commented Apr 27, 2024

Description

The new update to GNOME 46 (Fedora 40 Workstation) changed the notification and media player format. While notifications from PWAs show the PWA's name and monochrome icon, the media player shows active audio/video from PWAs as Mozilla Firefox, with Firefox's monochrome icon. My example will use the Nebula streaming service, but the same thing happens on YouTube.

Steps to Reproduce

  1. Open Nebula PWA
  2. Start playing a video
  3. Click on center of top bar (notification panel in GNOME)
  4. See error - the video is shown, but the application is Mozilla Firefox

Additional Information

In the screenshots, the media controls are for the Nebula PWA, and the notification is for the Google Messages PWA.

I don't know if the bug is app-specific, as I have done some customization to the PWA profiles on my system. I would have to find a way to send a test notification from the Nebula or YouTube app or play back media from an app that I can verify sends notifications. I also don't think the monochrome icon is related, as they are automatically generated by GNOME unless I provide a custom replacement.

Though I am not a developer, I will try to describe what I do know. Firefox PWAs show in my system monitor (Task Manager) as 'firefox-bin' but the system does recognize each Firefox PWA as its own app, with the proper title and icon, and windows are correctly identified with their PWA in looking glass.

Maybe the initiation of media playback is not labeled as the PWA, while the notifications are?

Screenshot from 2024-04-26 21-11-47-obfuscated

Affected Websites

  • Nebula
  • YouTube
  • Others? (Not tested)

Environment

  • Operating system: Fedora 40 Workstation
  • System architecture: 64-bit Intel
  • Desktop environment: GNOME 46
  • Installation method: RPM
  • PWAsForFirefox extension version: 2.11.1
  • PWAsForFirefox native version: 2.11.1
  • PWAsForFirefox runtime version: 125.0.2
  • Firefox version: 125.0.2
@LSeelig LSeelig added the bug Something isn't working label Apr 27, 2024
@filips123
Copy link
Owner

This is probably the same issue as #445. Did it work before the update to GNOME 46?

@LSeelig
Copy link
Author

LSeelig commented Apr 28, 2024

This is probably the same issue as #445. Did it work before the update to GNOME 46?

I can't say for certain. GNOME 46 changed the notification layout. If it did occur, I never noticed. But I don't know if the bug didn't occur or if the app name/icon didn't show at all.

@filips123
Copy link
Owner

I still have Fedora 39 in a VM, so I've tested this. And yeah, previous GNOME versions don't show the app name for playing media. But the bug still occurs, as clicking the media "notification" opens normal Firefox instead of PWA.

screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants