Re: Window Z Order Issue with Cygwin and [incr widgets]
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Window Z Order Issue with Cygwin and [incr widgets]

From: Derek Millar <derek_millar@yahoo.com>
Date: Fri May 27 2005 - 04:38:50 CEST

Derek Millar <derek_millar@yahoo.com> writes:

> I've run into an odd problem when running a Tk program from a Linux
> machine on a Windows machine with Cygwin X where some windows show up
> underneath others when they shouldn't. The short script below
> reproduces the problem (click on the button to expand the combobox,
> and the box will appear underneath the "Select" button).

After some further (rather minimal...) testing, I've determined that the
problem does not occur in fullscreen mode but does occur in multi-window
mode. I'd post this to a Cygwin group, where it's more likely to be
a bug, but I can't find one. Following up here in case anyone else has
run into a similar problem and is looking for a workaround.

>
> package require Tk
> package require Iwidgets
>
> frame .blah
> pack .blah -fill x
> iwidgets::combobox .blah.foo -labeltext "Misc Stuff:" \
> -labelpos w
> .blah.foo insert list end alpha beta gamma delta
>
> frame .blah.fr
> label .blah.fr.etc -text "Some Label Text"
> button .blah.fr.foo -text "Select"
>
> pack .blah.fr.etc .blah.fr.foo -side left -anchor w
> pack .blah.foo .blah.fr -expand true -anchor w
Received on Thu Sep 29 14:19:26 2005