← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1491064] Re: Text editing very slow in 0.91 on files with many objects, normal in 0.48

 

lacking any experience with GTK, I had a quick peek at the source and
noticed that the text-tool calls sp_event_context_update_cursor in the
input event processing quite a bit, whereas select-tool does not do
that. Instead, select-tool calls gdk_window_set_cursor(window,...) in
the GDK_ENTER_NOTIFY and GDK_LEAVE_NOTIFY events (which are not handled
by text-tool at all).

Sorry if I am sending people on a goose-chase here. I just found this
mouse-in-window dependency of the slow-down very curious!

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to inkscape in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1491064

Title:
  Text editing very slow in 0.91 on files with many objects, normal in
  0.48

Status in Inkscape:
  Triaged
Status in inkscape package in Ubuntu:
  Confirmed

Bug description:
  Tested with Inkscape stable 0.91 r13725 on both Mac OS X Yosemite
  10.10.5 and Windows 8.1, both 64 bit.

  I'm using Inkscape to build figures for scientific manuscripts and a
  frequent occurence is files that are around 1-2 Mb in size because
  there are hundreds or thousands of identical objects (dots for a
  scatterplot, see attached file for a test case). Two versions of
  Inkscape behave very differently:

  0.48.5 r10040 works as expected
  0.91 r13725 performance begins to degrade with increasing numbers of objects in the file, with a pause between clicking for text editing and a visible effect on screen. In the end, this version is not usable any more for editing pictures containing scatterplots.

  I also tested the last development version 0.91 r14326 custom and it
  behaves like the stable 0.91.

  The main problem and easiest to reproduce is slow text adding and
  editing. However, selection of objects and movement also show a very
  large latency. Steps to reproduce:

  1. Open attached file
  2. Try to add new text. First letter appears in 1-3 seconds after typing it, and the next appear after various latencies.

  The same file opened in 0.48.5 can be edited, with new added text
  appearing as expected, almost as soon as it is typed.

  This bug is very troublesome since I have dozens of figures done with
  older versions of Inkscape that cannot be edited any more with the
  newest version.

  Possibly related with https://bugs.launchpad.net/inkscape/+bug/1481479
  (copy-pasted my comment on that bug, with some additions).

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/1491064/+subscriptions