Comment 11 for bug 493588

Revision history for this message
Rafal Lach (mr-deimos) wrote :

I think i've found the cause of tht problem, or at least a workaround. I used winspector (a program that lists all windows and lets you examine their properties) to find the inkscape's save dialog, and here's how info about window geometry looks like this:

Class Name #32770
Rectangle 371, 205, 932, 205
Size 561, 0
Client Rectangle 0, 0, 555, 0
Client Size 555, 0

So it seems that inkscape somehow manages to create a window with zero width.

As a workaround i created a tiny autohotkey script (autohotkey is a freeware windows scripting utility, www.autohotkey.com) that waits for the save dialog window to appear and then forces it into arbitrary size and position:

loop
{
 winWait Select file ahk_class #32770
 WinMove,ahk_class #32770,, 100, 300, 560, 390
}

All you need to do is paste the above four lines into a text file, change its extension to .ahk and run it. As long as the script is running, any inkscape save dialog will become visible. Of course you need autohotkey installed first ;) If you use inkscape in other language than English you might need to change the words "Select file" to your language. It's just the beginning of save dialog's titlebar text: "Select file to save to". I added it as an additional filter so that autohotkey doesn't resize some other window but it should be safe to remove if you don't remember what this text was in your language.