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

GNOME 48 support - Mpris.MediaSection is undefined #192

Open
eldritchT opened this issue Mar 15, 2025 · 5 comments · Fixed by #190 or #185
Open

GNOME 48 support - Mpris.MediaSection is undefined #192

eldritchT opened this issue Mar 15, 2025 · 5 comments · Fixed by #190 or #185
Labels
bug Something isn't working

Comments

@eldritchT
Copy link

Describe the bug
The extension shows a TypeError: Mpris.MediaSection is undefined in the Extensions app (see the first screenshot) and starts working incorrectly (e.g. showing the controls like on the second screenshot or the Artist - Track name text being shown full width instead of scrolling)

To Reproduce
Steps to reproduce the behavior:

  1. Install the extension from GNOME Extensions (same if installed from Github Releases).
  2. Enable the extension.
  3. See this error in the extension manager and see the media controls as if it was a web page with no style sheet.

Expected behavior
Correct styling and no errors shown.

Screenshots
Image
Image

Environment:

  • Distro: Debian GNU/Linux 13 (trixie)
  • GNOME version: 48
  • Extension version: 2.0.2 (as shown in GNOME Extensions app)
@eldritchT eldritchT added the bug Something isn't working label Mar 15, 2025
@ChrisLauinger77
Copy link
Collaborator

ChrisLauinger77 commented Mar 15, 2025

We have no released version for gnome 48 (yet).
But the changes are already in master branch. #185 #190

Here is a zip which works in GNOME 48

[email protected]

@ChrisLauinger77 ChrisLauinger77 changed the title Mpris.MediaSection is undefined GNOME 48 support - Mpris.MediaSection is undefined Mar 15, 2025
@alperokur
Copy link

We have no released version for gnome 48 (yet). But the changes are already in master branch. #185 #190

Here is a zip which works in GNOME 48

[email protected]

I think the scroll labels feature is not working. The scrolling effect is not applied.

@ChrisLauinger77
Copy link
Collaborator

ChrisLauinger77 commented Mar 20, 2025

We have no released version for gnome 48 (yet). But the changes are already in master branch. #185 #190
Here is a zip which works in GNOME 48
[email protected]

I think the scroll labels feature is not working. The scrolling effect is not applied.

Confirmed - I do not use this feature - so I didn't notice. As said not release yet ...
JS ERROR: TypeError: this.hscroll is undefined
There is nothing about changes to St.ScrollView object anywhere documented though...
Probably a bug in gnome-shell which is fixed on release (I hope). I am on gnome 48 rc on debian testing.
We'll see.

@ChrisLauinger77
Copy link
Collaborator

Here is the latest test version where scrolling label works again in GNOME 48

[email protected]

@ChrisLauinger77
Copy link
Collaborator

I keep it open for now - for other people to see and not file a duplicate

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
3 participants