sakithb / media-controls

A media indicator for the Gnome shell.
MIT License
236 stars 36 forks source link

Gnome crashes when swiping on the widget #164

Open CrossElectronics opened 1 month ago

CrossElectronics commented 1 month ago

Describe the bug Swiping on the widget crashes Gnome instantly, even when swiping action is set to none.

To Reproduce Steps to reproduce the behavior:

  1. Swipe L/R on the widget
  2. See error

Expected behavior Not crash

Screenshots N/A

Environment:

Additional context May relate to #151.

ChrisLauinger77 commented 1 month ago

Sounds very same as #151 I agree - swipe makes more sense to me than drag tbh. But I guess to fix this we need somebody with a touch screen. I cannot repro this how should I test / fix it ?

CrossElectronics commented 1 month ago

Sounds very same as #151 I agree - swipe makes more sense to me than drag tbh. But I guess to fix this we need somebody with a touch screen. I cannot repro this how should I test / fix it ?

I'm not on a touch screen. I used mouse to swipe (or drag).

CrossElectronics commented 1 month ago

https://pastebin.com/DhHiTPfq Here is the coredump, if it helps

CrossElectronics commented 1 month ago
Aug 16 22:35:35 workstation gnome-shell[45355]: Bail out! GLib-GObject:ERROR:../gobject/gtype.c:1245:type_data_ref_Wm: assertion failed: (NODE_REFCOUNT (node) > 0)
Aug 16 22:35:35 workstation gnome-shell[45355]: == Stack trace for context 0x55d0c3716f80 ==
Aug 16 22:35:35 workstation gnome-shell[45355]: #0   55d0c37de368 i   file:///home/crosstech/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/helpers/shell/PanelButton.js:786 (fd1543f740 @ 33)
Aug 16 22:35:35 workstation gnome-shell[45355]: #1   55d0c37de2d8 i   resource:///org/gnome/shell/ui/init.js:21 (82768a70bf0 @ 48)
Aug 16 22:35:35 workstation audit[45355]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=45355 comm="gnome-shell" exe="/usr/bin/gnome-shell" sig=6 res=1
CrossElectronics commented 1 month ago

crash log is here: https://pastebin.com/3EfgWQ5Z

ChrisLauinger77 commented 1 month ago

see https://github.com/sakithb/media-controls/issues/161#issuecomment-2298850635