Tk Library Source Code

View Ticket
Login
Ticket UUID: 720024
Title: BWidget ComboBox claims selection on FocusIn
Type: Bug Version: None
Submitter: jenglish Created on: 2003-04-12 01:22:40
Subsystem: None Assigned To: jenglish
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-04-13 02:37:47
Resolution: Fixed Closed By: hobbs
    Closed on: 2003-04-12 19:37:47
Description:
The BWidget ComboBox automatically selects the (entire)
entry contents whenever it receives a <FocusIn> event,
(asserting ownership of the PRIMARY selection in the
process).

This is appropriate when the widget receives focus due
to keyboard traversal, but not for all <FocusIn>
events.  (For example, if the user changes focus to a
different toplevel or application and back again, the
ComboBox should not reselect its contents.)
User Comments: hobbs added on 2003-04-13 02:37:47:
Logged In: YES 
user_id=72656

While related, the other one is a bit more wide-sweeping, 
while this was a 1-line fix.

jenglish added on 2003-04-12 09:30:23:
Logged In: YES 
user_id=68433

Jeff, could you also take a look at #720032 and the proposed
fix?  I think that might apply here too.

hobbs added on 2003-04-12 08:44:20:
Logged In: YES 
user_id=72656

fixed for 1.6.