After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 395327 - win32: Some dialog windows open in the background, app may look frozen
win32: Some dialog windows open in the background, app may look frozen
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Windows
git-master
Other Windows
: Normal minor
: ---
Assigned To: Andreas Köhler
Christian Stimming
: 457017 463733 467000 478501 (view as bug list)
Depends on: 371036
Blocks:
 
 
Reported: 2007-01-11 09:27 UTC by Andrew Rose
Modified: 2018-06-29 21:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrew Rose 2007-01-11 09:27:52 UTC
Version:  r15334

Platform: WinXP.  Please can a Linux user confirm whether this is cross-platform.

Problem: From the Match payees/memos dialog (QIF import), click a line to select an account.  Seeing that there's no suitable account, click "New Account".  No new dialog appears but the "Select Account" dialog becomes unresponsive (i.e. clicking Cancel or OK doesn't do anything).  CPU usage is 0% so it isn't in a tight loop.

Workaround: Make jolly sure that you've got all the accounts you might need before starting a QIF Import.

Diagnostics: No relevant diagnostics on the console or in gnucash.trace.

Reproducing: Occurs 100% of the time.
Comment 1 Andreas Köhler 2007-01-11 17:44:52 UTC
Please check whether this is yet another duplicate of bug 371036 and friends:

* press Windows-D to minimize all windows
* click the import druid in the window list

Does that show you the dialog?
Comment 2 Andrew Rose 2007-01-11 18:05:44 UTC
(In reply to comment #1)

> [snip]
> Does that show you the dialog?

Yes - so the problem is a partial duplicate of bug 371036 (my apologies that my searches didn't turn it up).  However, it's more than that.  Bug 371036 says that you end up with the problem if you move other windows in front of the modal dialog.  However, in this case, I hadn't moved anything.  The modal dialog (prompting me for an account name) opened in the background.

I've changed the title and severity of this bug appropriately.
Comment 3 Andreas Köhler 2007-05-07 16:31:02 UTC
Seems like Gtk+/Win32 has a quite few bugs regarding modal windows.  We cannot do much about it within the GnuCash source code.
Comment 4 Derek Atkins 2007-05-07 16:36:06 UTC
Well, is there any way we could send a "raise" event to all new windows after we create them?  Would that even help?  (I'm just grasping at straws).
Comment 5 Jorge Rodriguez 2007-07-11 18:21:35 UTC
This problem also occurs when the auto-save dialog informing the user of auto-saves appears. If the user is looking at another window and then alt-tabs back to GnuCash, the window will not appear at all and the application will appear frozen.
Comment 6 Christian Stimming 2007-07-12 07:58:29 UTC
Should we try out the workaround in bug#371036#c7 for the most important ones of our modal dialogs?
Comment 7 Christian Stimming 2007-07-12 08:25:45 UTC
Sigh. A quick test reveals this additional gtk_window_set_skip_taskbar_hint() doesn't fix the error, neither with or without GTK_DIALOG_MODAL flag. I'm afraid this will bite us hard on Windows...
Comment 8 Cody Russell 2007-07-12 14:31:43 UTC
It sounds like bug #112404 might be relevant as well.  There's a patch up there, or if you're using a recent version of gtk 2.10 you might grab my binary I made from http://bzr.medsphere.com/~cody/libgdk-win32-2.0-0.dll and see if that helps any.  I think it might help at least the original bug description.  Once you start minimizing and restoring windows, there are other bugs that I haven't fixed yet but would like to.
Comment 9 Christian Stimming 2007-07-12 15:45:22 UTC
(In reply to comment #8)
> you might grab my binary and see if that helps any.  

With that binary, the problem of "alt-tabs back to GnuCash, the modal dialog will not appear at all" still persists. So that isn't fixed by this one, unfortunately.
Comment 10 Cody Russell 2007-07-12 16:06:38 UTC
That's right, that wouldn't be fixed.  The thing that I think would be fixed is the bug described by the reporter.
Comment 11 Cody Russell 2007-07-12 16:10:17 UTC
That is, the part about "no new dialog appears and it becomes unresponsive".  This is happening because the dialog -is- being created and mapped, but it's behind its transient child and it is modal, which is why input is not accepted anywhere else.
Comment 12 Andreas Köhler 2007-07-24 15:41:29 UTC
*** Bug 457017 has been marked as a duplicate of this bug. ***
Comment 13 Christian Stimming 2007-08-13 09:59:58 UTC
*** Bug 463733 has been marked as a duplicate of this bug. ***
Comment 14 Christian Stimming 2007-08-17 08:17:42 UTC
*** Bug 467000 has been marked as a duplicate of this bug. ***
Comment 15 Andreas Köhler 2007-09-21 21:43:08 UTC
*** Bug 478501 has been marked as a duplicate of this bug. ***
Comment 16 Cody Russell 2007-10-18 00:36:29 UTC
I've just committed a fix for #164537 and I believe it will solve this bug.  Can anyone using GnuCash on Windows confirm this?
Comment 17 Cody Russell 2007-10-18 00:37:12 UTC
That is bug #164537 (adding this comment for auto-linking goodness).
Comment 18 Andreas Köhler 2007-12-27 16:18:59 UTC
GnuCash 2.2.2 ships GTK+ v2.12.3 now.  Is this still a problem?
Comment 19 Tim Koopman 2008-01-19 14:38:26 UTC
Still present using GnuCash 2.2.3
Comment 20 Cody Russell 2008-01-19 17:25:49 UTC
Okay, I'll install GnuCash on Windows and see if I can help debug this then.
Comment 21 Charles Day 2008-08-02 17:15:40 UTC
Does this still happen with Gnucash 2.2.6?
Comment 22 Charles Day 2008-09-29 22:26:18 UTC
Scratch that... Does this still happen with GnuCash 2.2.7?
Comment 23 Andrew Rose 2008-09-30 19:02:22 UTC
I can confirm that this is fixed (in both 2.2.6 and 2.2.7).  I've marked it as such.

Andrew
Comment 24 John Ralls 2018-06-29 21:22:17 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=395327. Please update any external references or bookmarks.