Tk Source Code

View Ticket
Login
Ticket UUID: 2981253
Title: spinbox button frozen in case of repeated depressions
Type: Bug Version: obsolete: 8.5.8
Submitter: thomasmenez Created on: 2010-04-02 18:35:51
Subsystem: 17. [spinbox] Assigned To: fvogel
Priority: 6 Severity: Minor
Status: Closed Last Modified: 2016-03-07 20:55:04
Resolution: Fixed Closed By: fvogel
    Closed on: 2016-03-07 20:55:04
Description:
When one depresses +/- buttons in a spinbox fast (say 2Hz) multiple times, the spinbox value is correctly updated, but the buttons are frozen and don't get visually depressed.
User Comments: fvogel added on 2016-03-07 20:55:04:
Merged in trunk and core-8-6-branch.

fvogel added on 2016-02-22 17:48:58:
Fix proposed in branch bug-2981253fff.

kennykb added on 2010-04-03 01:41:12:
tk/library/spinbox.tcl has <Double-1> and <Triple-1> actions that don't check $Priv(element) nor change the look of the 'buttonup' and 'buttondown' elements.Probably they need to call an abbreviated version of tk::spinbox::ButtonDown before they adjust selection (Note that ButtonDown also adjusts selection, so care is needed).