Forum: Ruby-Gnome 2 Window stacking order not changeable?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
9e774956d40510ad6c2cedcc62aa841b?d=identicon&s=25 Chris P. (chrisphoenix)
on 2014-04-30 09:22
I've got a bunch of non-modal windows that cause other windows to open -
sometimes via show(self) and sometimes via double-clicking in a

The windows are stacked strangely - some of them open behind others.

More strangeness: When I click on a window, it does not come to the

Yet more: For some windows, when I minimize and then restore, it does
come to the front; other windows don't.

Bonus strangeness: some windows can be individually minimized; some
windows take others with them when they are minimized.

Any thoughts on what could be causing any of this, or how to get control
of it?

C37e335e7250698ebcc8a092a4baded3?d=identicon&s=25 Eric C. (eric_c)
on 2014-05-03 01:16
Refer to the example project child_window in visualruby.  That shows how
to open windows.

I'm guessing that you're calling the show() method twice in your code
because you're dealing with non-modal windows.

9e774956d40510ad6c2cedcc62aa841b?d=identicon&s=25 Chris P. (chrisphoenix)
on 2014-05-03 03:18
No, actually I was passing in self to the show() method because that's
how it used to be done for non-modal windows. (Or something like that.)
Anyway, passing no parameters to show() fixed the problem.

This topic is locked and can not be replied to.