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 ListView. 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 front. 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? Thanks, Chris
on 2014-04-30 09:22
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. E
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. Thanks!