Tk Source Code

View Ticket
Login
Ticket UUID: 1615592
Title: Wish console misses first fronting click
Type: Bug Version: obsolete: 8.5a5
Submitter: alastair_davies Created on: 2006-12-14 09:43:59
Subsystem: 68. Win Window Operations Assigned To: chengyemao
Priority: 5 Medium Severity:
Status: Pending Last Modified: 2026-09-29 09:22:02
Resolution: Out of Date Closed By:
    Closed on:
Description:
When the Wish application is started, the Tk toplevel window appears in front of the Console window.  It ought to be possible to click anywhere in the visible part of the Console window in order to raise the Console in front of the Tk toplevel.  In fact, the only part of the Console window where the click is effective is the title bar.

After the Console has been brought to the front by clicking on the title bar, subsequent clicks on any visible part of either of the windows will serve to raise the window correctly.

There was exactly the same problem with the Wish application on MacOS X corrected recently.  

(This is reported using Windows XP SP2 and ActiveTcl 8.5.0.0.272633, but I believe it is a long-standing problem.)
User Comments: serhiy.storchaka added on 2026-09-29 09:22:02:

I cannot reproduce this on Windows 11 with Tk 8.5.0, 8.5.19, 8.6.18 and 9.1: while the main window is active and partly covers the console, and neither window has been clicked yet, the first click on the visible part of the console text raises and focuses the console, and the click is delivered to the console (10 runs with each version).

So this was either specific to Windows XP or to 8.5a5.