Giter Site home page Giter Site logo

Comments (6)

JasonLG1979 avatar JasonLG1979 commented on May 30, 2024

Confirmed.

I can reproduce the issue in Fedora 29.

I played around a bit and the problem happens when the indicator is destroyed in the disable function when the screen is locked. It's strange because it only causes an issue when locking. Logging out and disabling the extension otherwise calls the same function and causes no issues that I can tell?

I'm working mandatory overtime at my day job for the foreseeable future (12 days on, 2 days off) so it may be a little while before I can dedicate a lot of time to fix this. I would certainly welcome any help if you are able and inclined.

from gnome-shell-extension-mpris-indicator-button.

nariox avatar nariox commented on May 30, 2024

No worries, stay strong! Thank you for developing this extension.

from gnome-shell-extension-mpris-indicator-button.

JasonLG1979 avatar JasonLG1979 commented on May 30, 2024

@nariox, I think I found what's causing the issue.

The ScrollablePopupMenu causes the crash from what I can tell. Removing it and using the builtin "normal" non-scrollable menu seems to stop the crash from happening. The drawback is that without scrollabilty it's possible for the players list to overflow the screen. Although for that to happen you'd need either a really small screen or you'd have to have like 20 player open at once.

I'll push a fix here in a bit that removes ScrollablePopupMenu.

from gnome-shell-extension-mpris-indicator-button.

JasonLG1979 avatar JasonLG1979 commented on May 30, 2024

There. I pushed and update that should among other things, fix the issue.

from gnome-shell-extension-mpris-indicator-button.

nariox avatar nariox commented on May 30, 2024

Thank you, do you think this is an upstream bug? Should I report it?

EDIT: WOW, that's a huge rewrite. Thank you again! I'll close the bug.

from gnome-shell-extension-mpris-indicator-button.

JasonLG1979 avatar JasonLG1979 commented on May 30, 2024

EDIT: WOW, that's a huge rewrite.

Yep. I've been sitting on that for a while. Mostly just moving things around and encapsulating things.

do you think this is an upstream bug? Should I report it?

Nah. ScrollablePopupMenu was a bit of a hack to workaround the fact that there are no stock popup menus that are both scrollable and non collapsible. Even if it is an upstream issue they won't do anything about it. The Shell works just fine for their use case as far as they're concerned.

from gnome-shell-extension-mpris-indicator-button.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.