Tk Source Code

View Ticket
Login
Ticket UUID: faf37bd379f7382f932aec1288b9bcd45dbed432
Title: tk_getOpenfile leaks double-click
Type: Bug Version: 8.6.4
Submitter: danckaert Created on: 2016-01-19 11:39:30
Subsystem: 37. [tk_get*File] Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2018-07-23 14:24:22
Resolution: Fixed Closed By: danckaert
    Closed on: 2018-07-23 14:24:22
Description:
When a user double clicks a file in tk_getOpenfile, and there is a Tk window underneath, the last click leaks into that Tk window. To reproduce:

  bind . <1> {puts clicked}
  tk_getOpenFile ;# position such that there is a file over the "." window
  # double click that file

It appears there have been some similar tickets in the past:
  http://core.tcl.tk/tk/tktview/943110ffffffffffffff
  http://core.tcl.tk/tk/tktview/1186643fffffffffffff
  http://core.tcl.tk/tk/tktview/220057ffffffffffffff
But the issue seems to have been reintroduced by the recent changes in tk_getOpenFile.
User Comments: danckaert added on 2018-07-23 14:24:22:

See [64261b50dd].


bll added on 2018-07-21 13:23:11:
No longer present in 8.6.8 (Linux, Windows).
Related ticket with bug fix is unknown.