Tk Library Source Code

View Ticket
Login
Ticket UUID: 1435941
Title: Hanging problem with ComboBox in Dialog
Type: Bug Version: None
Submitter: rheller Created on: 2006-02-21 14:17:33
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2009-07-14 09:20:46
Resolution: None Closed By: sf-robot
    Closed on: 2009-07-14 02:20:46
Description:
I am encountering a strange problem using BWidget
(1.7).  I am using a
ComboBox inside of a Dialog.  I can make one choice
with the ComboBox,
but when I try to make a *second* choice, things
'hang'.  It seems to be
a problem involving focus, but I am not sure I
understand it (things are
hanging in BWidget::focus).


I have uploaded a fairly striped down version of the
code which has this
problem to 

ftp://ftp.deepsoft.com/pub/deepwoods/Other/BWBroken-1.0.0.tar.gz
(the above is also attached to this bug report)

I am doing this on a RH 7.3 system, using both the
'stock' Tcl/Tk
(8.3.3), but it is also broken with ActiveState Tcl
8.4.12, so it is not
a function on an 'old' version of Tcl/Tk.

Other version info:

sauron.deepsoft.com% rpm -q XFree86
XFree86-4.3.0-2.90.55
sauron.deepsoft.com% rpm -q glibc
glibc-2.2.5-42
sauron.deepsoft.com% uname -a
Linux sauron.deepsoft.com 2.4.18-3 #1 Thu Apr 18
07:31:07 EDT 2002 i586 unknown
User Comments: sf-robot added on 2009-07-14 09:20:46:

allow_comments - 1

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

rheller added on 2009-06-30 20:29:37:

File Added - 332932: 1435941_BWBroken-1.0.1.zip

oehhar added on 2009-06-30 15:13:57:
The issue is reproductible on windows and on linux.

I think the following point might be the issue:
- Dialog sets a global grab on its own
- The Listbox of the ComboBox gets a global grab if it is posted.
- There is normally a focusOut binding on the listbox, that when there is a click anywhere else, it is closed and the grab is released (and returned to dialog).
The (highly risky) issue of grabs has troubble here.

I do not want to go here any further.
For me, it is ok at the moment, that it works in the normal case when the normal interface is used.
Maybe, I will come later to the issue.
Could you post the simplified version on the web site ?
It shows the issue on linux and windows and does not have the installation system included.

Thank you,
Harald

oehhar added on 2009-06-29 21:29:50:
I did not really check your bug report because it is so time intensive to build up a test environment and try to find out what is happening.

Instead, I want to ask you:
- is the bug still an issue ?
- does it still arise with the current cvs of bwidget ?
- if yes, could you please simplify your code to just the usage of the ComboBox in question.

Thank you,
Harald

rheller added on 2006-02-21 21:17:34:

File Added - 168243: BWBroken-1.0.0.tar.gz

Attachments: