Inkscape 0.92 freezes on importing clipart

Bug #1745521 reported by uwestoehr
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Patrick Storz

Bug Description

- start Inkscape 0.92.2 on Win 7
- now use the menu File -> Import Clip Art
- in the appearing dialog press the button "Search"

result: Inkscape freezes

- try to click on the Close button

result: Windows will automatically kill Inkscape after a while. This happens not always. Sometimes Inkscape awakes after a while before Windows would kill it.

Tags: openclipart
Revision history for this message
Patrick Storz (ede123) wrote :

Not reproduced on Windows 7 with Inkscape 0.92.2 (5c3e80d, 2017-08-06).
The search is executed properly and available clip arts are listed.

I assume the search request to openclipart.org times out for some reason - can you figure out why this request can not complete on your machine (e.g. proxy settings / security software / whatever)?

Note that if the server is unreachable (i.e. no internet connection) Inkscape does not attempt a search and informs the user accordingly, so it has to be something less obvious.

Revision history for this message
uwestoehr (uwestoehr) wrote :

> Not reproduced on Windows 7 with Inkscape 0.92.2

Interestingly now it works here fine too. I haven't changed anything not even turned off the PC. So I guess the clipart server had problems. However, Inkscape should not become unresponsive when the server responds too slow or if there are similar connection problems to the server.

Revision history for this message
Patrick Storz (ede123) wrote :

I'm afraid the blocking behavior is a regression of
https://gitlab.com/inkscape/inkscape/commit/738e2fcae54ef8764d33d3a47bf7868641efdcfd

Actually the search request should be done asynchronously (and therefore should be non-blocking), however the existence check added is a synchronous request (and therefore potentially blocks the UI).

Revision history for this message
Patrick Storz (ede123) wrote :

Fixed in
  https://gitlab.com/inkscape/inkscape/commit/906deef80961e9949d3bec7ef1d2a8b1c1fc8f65

The operations should now be fully asynchronous, even on Windows.

Changed in inkscape:
status: New → Fix Committed
milestone: none → 0.93
tags: added: backport-proposed
Changed in inkscape:
assignee: nobody → Eduard Braun (eduard-braun2)
Revision history for this message
Patrick Storz (ede123) wrote :
Changed in inkscape:
milestone: 0.93 → 0.92.3
tags: removed: backport-proposed
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
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.