Tk Source Code

View Ticket
Login
Ticket UUID: a3e81a82a1b9be9802d4088aacdda9145b3f3b61
Title: macOS: ttk-2.8 fails
Type: Bug Version: core-8-6-branch
Submitter: fvogel Created on: 2019-08-28 06:53:23
Subsystem: 86. Test Tools Assigned To: fvogel
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2019-08-28 20:22:05
Resolution: Fixed Closed By: fvogel
    Closed on: 2019-08-28 20:22:05
Description:

On macOS, most of the time (not always though):

==== ttk-2.8 bug 3223850: button state disabled during click FAILED
==== Contents of test case:

    bind .b <ButtonPress-1> {after 0 {.b configure -state disabled}}
    after 1 {event generate .b <ButtonPress-1>}
    after 20 {event generate .b <ButtonRelease-1>}
    set aid [after 100 {set ::ttk28 [.b instate {disabled !pressed}]}]
    vwait ::ttk28
    after cancel $aid
    set ttk28

---- Result was:
failed
---- Result should have been (exact matching):
1
==== ttk-2.8 FAILED

User Comments: fvogel added on 2019-08-28 20:22:05:
Merged to core-8-6-branch and trunk.

fvogel added on 2019-08-28 06:58:39:

Fix proposed, see [9b5cd23863].