GNOME Bugzilla – Bug 794951
Windows don't raise on focus
Last modified: 2018-06-30 00:06:57 UTC
Testing out 3.0, the window order seems to be fixed as such: Since Last Run Due Invoices Reminder Due Bills Reminder GnuCash Clicking in any window does not bring it to the top of the stack. The window you click has focus, but doesn't raise. It is thus impossible to layer windows lower in the stack to sit above the higher windows to view their contents.
It can be demonstrated, more easily if one doesn't have scheduled transactions, bills, and invoices to get reminders for, with the Price DB and Security Editors. It happens only on Macs, so is likely down to the mismatch between the Quartz and Gtk stacking paradigms and the fix will be in Gtk3, not GnuCash.
Sensible enough, not sure why I didn't look for their bugs as well. I'll check the Gtk3 list and reference this one.
Is it possible this is related to https://bugzilla.gnome.org/show_bug.cgi?id=795071 as I'm seeing some similarity notwithstanding JohnR saying "it happens only on Macs". Maybe join that one here and make it cross platform ?
(In reply to Wm from comment #3) > Is it possible this is related to > > https://bugzilla.gnome.org/show_bug.cgi?id=795071 > > as I'm seeing some similarity notwithstanding JohnR saying "it happens only > on Macs". > > Maybe join that one here and make it cross platform ? Not the way you've described bug 795071 (btw, no need to paste in urls). In this case if you open multiple dialog boxes and overlap them changing focus doesn't change the stacking. They all stay on top of the main window as they should. That's rather different from the main window covering and uncovering the dialog spontaneously as you reported in the other bug.
You're doing triage, seems very similar to me
Well it looks much more like bug 794853 The main window is the gnucash window and all dialogs are kept on top by gtk (by means of defining the dialogs as transient for the main window). For me on linux though I can change the stacking of the dialogs. Only the main window can't be put in front of any dialog. Do you see this as well or is it really more restricted on OS X ?
I didn't see bug 794853 when I posted this. You could mark this as duplicate since there doesn't seem to be any other solution to the issue than to convert the dialogs to something else. And yes, on OS X (10.13.4 at least) it is a fixed hierarchy in the order I listed in the first comment. I haven't tested all dialogs, but I just opened a report options dialog and it sat on top of everything no matter where I moved it. When I opened a Since Last Run dialog, it was now on top. So I closed the report options and then re-opened it and now, it was the king of the hill. The other dialogs retained their relative stacking. So it seems the stacking order is based on the order they are called with the newest always on top. The main GnuCash window is always at the bottom of the pile even when it has focus.
That difference suggests a Mac OS specific Gtk bug. I don't know whether it's worth reporting separately.Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 794853 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=794951. Please update any external references or bookmarks.