Launching Firefox freezes inkscape until browser exits

Bug #168226 reported by Mathrick-users
12
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Unassigned

Bug Description

Launching the browser (for FAQ, What's New, etc.), if it hasn't been
running previously and can't be requested to just open a new window (at
least that's the case with Firefox) causes Inkscape to freeze until the
browser process exits completely. As I said, it doesn't happen if there's
another browser window already open, since in that case the process spawned
by Inkscape hands the actual work to the original instance and exits.

Tested on Linux, always reproducible. Manually launching one of
/usr/share/inkscape/extensions/webbrowser*.py doesn't produce that, oddly
enough, python seems to exit soon enough.

Revision history for this message
ScislaC (scislac) wrote :

Originator: NO

Confirmed. Ubuntu Feisty - Gnome 2.17(dev) - Inkscape SVN

It seems like there is a possibility that it is caused by Gnome. When I
exit the browser an Inkscape dialog pops up that tells me the following:

"Inkscape has received additional data from the script executed. The
script did not return an error, but this may indicate the results will not
be as expected." and then it's followed by "GTK Accessibility Module
initialized"

I have had issues with the GTK Accessibility Module messing with scripts
in the past which is what leads me to believe it is the problem. Can anyone
else comment on this?

Revision history for this message
Bryce Harrington (bryce) wrote :

Originator: NO

This sounds like the type of bug we might get a deluge of bug reports on.

If a solution can't be found quickly, perhaps the thing to do would be to
disable these links for the release.

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Originator: NO

firefox only, in my testing

Revision history for this message
Gnumuthu (gnumuthu) wrote :

Originator: NO

Confirmed. Ubuntu (Dapper) /Gnome 2.14.2 - Inkscape SVN
Wonder if g_async_spawn something has a wierdness to it,
and how people solved it earlier w.r.t firefox.
-Muthu

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Originator: NO

I will be grateful to anyone who has experienced this and can test the
attached patch. Apply the patch, do make install, and try the command
Help>Inkscape Manual. Other Help commands are not changed, so you can
compare the behavior. If it works I will commit and fix all the commands.
File Added: help.diff

Revision history for this message
ScislaC (scislac) wrote :

Originator: NO

Patch worked great on Linux, will try on windows next...

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Originator: NO

fix committed, feel free to reopen with a detailed report if you find any
other problems

Revision history for this message
Hellmark (hellmark) wrote :

Originator: NO

Debian Sid, Inkscape 0.45 and this bug happens. Launches Konqueror, and
freezes, until I close Konqueror.

Revision history for this message
critStock (powelstock) wrote :

Is there a fix for Windows? Thanks.

su_v (suv-lp)
tags: added: extensions-plugins
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Patches

Remote bug watches

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