When I try to import Bank transactions via HBCI in Version 3.7. I get first the log window with the PIN/Password Entry Window directly in front of it. If I then switch windows in the OS, for example to look the PIN up in my Password manager and then back to GnuCash, the PIN Window is in the background. Up to at least 3.4 if I do another switch of applications and then back to GnuCash the PIN Window would come back to the front, so as a Workaround I could do so to contiune. But in 3.7. the PIN Entry Window keeps beeing hidden, Close Buttons of the visible Gnu Cash Windows don´t work. So I am stuck and have to kill Gnu Cash from the OS.
Strange: After reporting this bug, so about 5 Minutes I switched back to Gnu Cash to do a screenshot. Then the PIN Window came up in front. but on another switch of windows in was hidden again. So I still had to kill GnuCash
When I try to kill Gnu Cash in Windows Task Manager the PIN Window comes back to the front. So I can hit cancel in the task manager dialog and continue entering the PIN. A workaround but not very convenient...
Another Workaround: If I move the Pin windows beside the log window before switching tasks I always see both windows after switching back to gnu cash. So I have no problem with on beeing hidden behind the other.
Is this the same as bug#768547 ?
Christian: Bug 768547 is due to MacOS's window stacking working differently from Gtk's. Since this is Windows it can't be the same. Aside from that, aren't the log and PIN dialogs raised by AQB? The PIN dialog needs to have gtk_window_set_transient_for() called with the log dialog as the parent. I'm not sure that's possible given the way that Gwenhywfar abstracts the GUIs.
The PIN dialog is raised in gnc-gwen-gui.c:1016 ff, and there's one gtk_window_set_transient_for() in line 1049/1050. Maybe that one shouldn't use gui->parent as parent (which is the log window's parent) but rather gui->dialog (which is the log window)?
In answer to Is this the same as bug#768547 ? I don´t think it ist the the same because in my case the PIN Entry is hidden behind the Log Window. bug#768547 is about other dialogs beeing hidden behind the Generic import transaction matcher window in the MAC Version. I can´t say if there might be a common cause behind it but the described behavior ist definitly something different.
Christian, changing the transient-for to the log window should fix this bug. Is it possible for the log window to not exist or not be realized? If so then you should check for that and fall back to setting transient-for on the gui->parent.
Committed as 99dbb7889. Will be in gnucash-3.8.
Thank you very mutch, I am looking forward to testing 3.8