Stop button activates immediately on mousedown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Fix Released
|
Medium
|
Ernest Mashele |
Bug Description
1. Play a track.
2. Mousedown on the Stop button.
Expected:
Nothing happens (yet).
Actual:
Playback stops.
Description:
GTK+ does not allow the "clicked" signal to identify modifiers. Yay. We need to check for shift-clicks for SPAT. As a workaround, we do this on button-press-event, with the aforementioned result. Doing this on button-
Possible solution:
Do this on mouseup, but check whether the mouse is inside the button.
Targetting 0.3.2, but I'm a bit loath to wrestle with yet another GTK+ annoyance, so probably won't make it to the release.
Related branches
Changed in exaile: | |
milestone: | 0.3.2.0 → 0.3.3 |
Changed in exaile: | |
assignee: | nobody → Ernest Mashele (mashern) |
Changed in exaile: | |
status: | Fix Committed → In Progress |
Changed in exaile: | |
status: | Fix Committed → Fix Released |
Hi,
I sorry for the last post. I have changed the patch to use the Rectangle class and the mouse position relative to the widget.
patch for file: exaile/ xlgui/main. py