Inkscape freezes while minimized and showing message box

Bug #185176 reported by Brian V.
2
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

WinXP SP2
Inkscape 080121

I've managed to trace this down very precisely. Inkscape freezes up (but not really a freeze) when it is minimized but shows a MessageBox like dialog. For example, if minimized and selecting the taskbar button and choosing close, if it is modified it will freeze. Or if exporting over an existing image, if the 'main' window is minized, it will freeze.

The thing is it is not a real freeze. It is supposed to show a message box (save changes before closing) and (overwrite file). And it does but it is hidden. I use a program WinList, that is part of VirtuaWin, when the freeze happens. It shows 'gtkTopLevelWindow <none>' and I click 'Restore' to show the window and it is there. But when the main window is minimized and a messagebox like window is shown, it is hidden so the user can't respond to it. (unless they also use a tool to show it). Below is some notes I took while repeating the problem and may contain some repeats of this information:

Minimize bug in Inkscape
WinXP SP2
Inkscape 080121

Problem: It seems that anytime Inkscape's main window is minimized, when something happens that would normally need to show a message box, it freezes, but does not show that message box.

Problem Found:

I don't have Spy++ installed, but I have VirtualWin and use the WinList utility:

I open the tiger example, and export to a very large file (to count the number of
inkscape windows open in WinList): I find out that gtkTopLevelWindow <None> is the dialog to ask for overwriting.

I then minimize the main window, refresh WinList (gtkTopLevelWindow <None> is gone), and export again with the same name. This time it freezes again. I refresh WinList and see that gtkTopLevelWindow <None> is back again (this must be the dialog to ask to overwrite , but it is not visible). WinList has this nice feature to 'Restore' the window. When I do it on gtkTopLevelWindow <None> it shows the message dialog and I can then click yes/no/etc and continue. The problem is then that when the main window is minimized, any messagebox like dialogs are hidden, and so it freezes the flow of the program until the user responds to it.

Note: This problem happens without VirtuaWin running, I just decided to test and see if WinList could find if the window was being created and not shown and was right.

Example1: Export

1. Open Inkscape
2. Goto File->Export Bitmap
3. Minimize main window, keep export window open
4. Type a file name that does not exist (Desktop\test.png)
5. Export (export progress pops up real quick and is done)
6. Export again (It normally asks to overwrite, but instead export Progress pops up and freezes like it is waiting for me to answer yes/no to an overwrite dialog, but it isn't there)
7. Terminate Inkscape in Task Manager

Example2: Close Inkscape

1. Open Inkscape
2. Modify the document
3. Close Inkscape (I get asked to I want to save. I press cancel)
4. Minimize main window
5. Right click on taskbar button and select close (I should get asked to save or not, but it just freezes again, like it is waiting for an answer but no message box is there)
6. Terminate with Task Manager

Example3: Close Inkscape with 2 windows.

1. Open Inkscape
2. Modify document (doc1)
3. File->New->Default (doc2)
4. Minimize doc2
5. File->Exit on doc1 (It asks to save, I press cancel)
6. Restore doc2
7. Minimize doc1
8. File->Exit on doc2 (doc2 window closes and freeze occurs again).

In all these cases I can restore the window but not interact with it as if the controls are disabled, but it still repaints like it should and doesn't freeze to where it doesn't repaint properly.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.