Drag Problem
Describe the bug I encountered the issue of the GNOME desktop crashing when I held down the extension while dragging it anywhere.
To Reproduce Steps to reproduce the behavior:
- Go to 'Topbar'
- Click on Extension'
- Drag to 'Enywhere'
- See error
Expected behavior Open media control panel.
Environment:
- Distro: Arch Linux
- GNOME version 46
- Extension Version 2.0.1
I cannot drag the extension anywhere ... Not sure how you manage that ... Can you record it and post here ?
I just clicked and dropped it somewhere. It's very strange, I discovered it by mistake
https://github.com/sakithb/media-controls/assets/53427115/5a6c0c61-c7f8-4a32-b964-bfc7b4324de8
The scrolling is enabled. I tried it without scrolling. Nothing happenend ...
I have the same issue as oguzhaniptes. Any clicking and dragging causes it to crash.
The crash logs point to this line, https://github.com/sakithb/media-controls/blob/eeb83ab018924850d22a444de6b457f119a075e4/src/helpers/shell/PanelButton.ts#L870
I don't have any idea what is going wrong here, but I will investigate later.
I do not see any crash logs here ? But seems the device at index "tapAction.nTouchPoints - 1" is not there ? I have still not even an idea how to reproduce this - OR it just does not happen on debian ...
I do not see any crash logs here ? But seems the device at index "tapAction.nTouchPoints - 1" is not there ? I have still not even an idea how to reproduce this - OR it just does not happen on debian ...
I didn't post the logs here, but I was able to reproduce it on fedora.
I C. Maybe trace out "tapAction.nTouchPoints" - I have the feeling it returns 0 under some cirumstances and then the -1 is not a good idea ...
Seems like that isn't the issue. I tried by clamping the no of points to always be 0 or greater. Even after commenting out that code, it still crashes. My guess this is an error in the implementation of tap action itself.
Same here on Fedora 40 and 41 and seems to be the same issue as:
- https://github.com/sakithb/media-controls/issues/164
As that is pretty much what I do with the mouse. Left click and hold on the bar and then just move the mouse around and the whole shell crashed and presents the login screen.
This doesn't seem to reproducible on GNOME 48 anymore, can someone confirm?
@sakithb No longer a thing on Fedora 42 / GNOME Shell 48.2 for Media Controls 2.1.0
@sakithb No longer a thing on Fedora 42 / GNOME Shell 48.2 for Media Controls 2.1.0
Thanks. Closing.