This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients HobbyScript, serhiy.storchaka, terry.reedy
Date 2017-09-15.18:34:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1505500483.17.0.737199353397.issue31483@psf.upfronthosting.co.za>
In-reply-to
Content
I cannot reproduce the claimed bug on Win 10, 2.7.13 and 3.6.2, 64 bit amd versions.  Running the code above from console or IDLE, I see no difference.  Button press selects item, add blue background.  Release changes nothing.

Here is a minimal demo that runs on both 2 and 3.

try:
    import tkinter as tk
    from tkinter import ttk
except:
    import Tkinter as tk
    import ttk

def down(event): print('down')
def up(event): print('up')

app = tk.Tk()
app.bind('<Button-1>', down)
app.bind('<ButtonRelease-1>', up)
app.mainloop()

Button down prints 'down', button up prints 'up'.  No bug.

Replace the binds with

label = ttk.Label(app, text='test')
label.pack()
label.bind('<Button-1>', down)
label.bind('<ButtonRelease-1>', up)

and I see the same expected behavior.
History
Date User Action Args
2017-09-15 18:34:43terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, HobbyScript
2017-09-15 18:34:43terry.reedysetmessageid: <1505500483.17.0.737199353397.issue31483@psf.upfronthosting.co.za>
2017-09-15 18:34:43terry.reedylinkissue31483 messages
2017-09-15 18:34:43terry.reedycreate