severity 514115 normal
thanks

On Wed, Feb 4, 2009 at 2:24 PM, Miguel Filgueiras <[email protected]> wrote:
>
> Applications implemented in Tcl/Tk and in Python using Tkinter
> fail to raise their own toplevel windows when working under the Metacity
> window manager. This is the case with gpsman and the practical result
> is that part of its functionality is broken (e.g., buttons that do
> nothing) and users can be unaware of new toplevels that are created
> under existing windows and are not visible by failing to be raised.
>
> You can retrieve small tests in Tcl/Tk and Python from
>
> http://www.ncc.up.pt/gpsman/tmp/testraise.tcl

I confirm that this test doesn't work in Metacity (but works in Sawfish).

>
> I submitted a bug report to Bugzilla
>
> http://bugzilla.gnome.org/show_bug.cgi?id=567528

There's a comment in Gnome bugzilla
(http://bugzilla.gnome.org/show_bug.cgi?id=567528#c10) which gives
possible workaround. Appears that Metacity doesn't understand that
these three toplevels belong to the same application. But adding [wm
group $w .] after creating toplevel $w makes Metacity happy. The
attached modified test script works in Metacity too.

So, I wouldn't blaim Tk developers for this behavior. Though it'd
probably better to add a few words about [raise] behavior to raise
manpage. And certainly the severity of this bug isn't "important".

Cheers!
-- 
Sergei Golovan

Attachment: testraise2.tcl
Description: Tcl script

Reply via email to