After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 475545 - Slider get "stuck" when losing focus
Slider get "stuck" when losing focus
Status: RESOLVED DUPLICATE of bug 478371
Product: gtk+
Classification: Platform
Component: Widget: Other
2.11.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 467533 479742 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-09-10 17:52 UTC by Don Scorgie
Modified: 2007-10-05 16:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testscale.c (962 bytes, text/plain)
2007-09-13 15:34 UTC, Bastien Nocera
Details
testscale.ui (6.09 KB, text/plain)
2007-09-13 15:34 UTC, Bastien Nocera
Details
testscale.c (1.36 KB, text/plain)
2007-09-13 15:41 UTC, Bastien Nocera
Details

Description Don Scorgie 2007-09-10 17:52:14 UTC
When I select the slider to move around in a movie, the slider sometimes doesn't get released from mouse control.

Longer description:
I click and drag the slider to move time.  If I exit the slider area (still holding the click), it continues to move (good).  If I then release the mouse button, the slider doesn't receive the signal (?) and the slider still moves with the mouse.  After a few moments confusion, I have to move the cursor onto the slider and click the mouse to release control.  Clicking other buttons (e.g. the pause button) also releases control, but does not pause.  Clicking empty regions does nothing.
Comment 1 Don Scorgie 2007-09-10 17:52:58 UTC
Sorry.  Forgot to add: this is with totem 2.19.90 using xine backend
Comment 2 Philip Withnall 2007-09-10 21:37:28 UTC
What version of GTK is it compiled against?
Comment 3 Don Scorgie 2007-09-11 07:17:07 UTC
Tested with GTK 2.11.6 and latest SVN HEAD (as of 11th Sept.)
Comment 4 Bastien Nocera 2007-09-13 14:18:02 UTC
We're not receiving the seek_slider_released_cb signal sometimes. It's fairly straight forward to reproduce:
1. Click on the slider and leave pressed
2. Move the pointer outside the window (the full totem window)
3. Release button
4. Move the mouse back in the window, the mouse is still grabbed.

But I can't reproduce it out of Totem, and I don't see where in Totem we'd be stealing events from the seekbar.
Comment 5 Bastien Nocera 2007-09-13 15:32:03 UTC
It's the volume widget's fault...

Testcase attached below.
Comment 6 Bastien Nocera 2007-09-13 15:34:19 UTC
Created attachment 95524 [details]
testscale.c
Comment 7 Bastien Nocera 2007-09-13 15:34:42 UTC
Created attachment 95525 [details]
testscale.ui
Comment 8 Bastien Nocera 2007-09-13 15:41:13 UTC
Created attachment 95526 [details]
testscale.c

Smaller testcase.
Comment 9 Bastien Nocera 2007-09-13 15:42:16 UTC
I couldn't find which bit of the scale button was eating the events though (especially when unsensitive!).
Comment 10 Bastien Nocera 2007-09-13 18:33:33 UTC
To explain in a bit more details, it's a problem with the Gtk(H)Scale that only happens when the GtkVolumeButton is in the same window. If you change the #if 0 in the test case to have a normal GtkButton, the problem doesn't occur.
Comment 11 Bastien Nocera 2007-09-15 10:33:11 UTC
*** Bug 467533 has been marked as a duplicate of this bug. ***
Comment 12 Bastien Nocera 2007-09-24 10:18:38 UTC
*** Bug 479742 has been marked as a duplicate of this bug. ***
Comment 13 Bastien Nocera 2007-10-05 16:39:35 UTC
Was a bug in the GtkScaleButton with the way it handled grab notifies. It should have released grabs that it didn't handle itself.

Fixed in GTK+ 2.12 branch and trunk already.

*** This bug has been marked as a duplicate of 478371 ***