#783 Hanging problem with ComboBox in Dialog

closed
bwidget (187)
5
2009-07-14
2006-02-21
Robert Heller
No

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

Discussion

  • Robert Heller
    Robert Heller
    2006-02-21

    This tar file contains a simple example of the problem

     
    Attachments
    • status: open --> pending
     
  • 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

     
  • 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

     
  • Robert Heller
    Robert Heller
    2009-06-30

    Updated test code

     
  • 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).

     
    • status: pending --> closed