Inkscape freezes while editing the text if uim-xim is running

Bug #851836 reported by eurekafag
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Inkscape freezes when I try to edit a text. I've attached a file which demonstrates a stable freeze. To reproduce select each of three text areas and capitalize the first letter ("walls" -> "Walls", "your" -> "Your") using backspace or delete and entering capital letter then. Sometimes inkscape freezes after deleting a letter, sometimes right after entering but I've never managed to successfully edit all three fields. Maybe saving/restarting after each edit would help.

Tested on Debian testing amd64 with versions 0.48.1-2.1+b1 (from repo) and 0.48.2-1 (built from source).

Tags: text
Revision history for this message
eurekafag (eurekafag) wrote :
su_v (suv-lp)
tags: added: text
Revision history for this message
su_v (suv-lp) wrote :

Not reproduced with Inkscape 0.48.1, 0.48.2 and 0.48+devel r10634 on Mac OS X 10.5.8 (i386).

Revision history for this message
eurekafag (eurekafag) wrote :

Maybe it's somehow related to Awesome WM which I use. Tried to set inkscape window to floating but it didn't help.

Revision history for this message
eurekafag (eurekafag) wrote :

Looks like incompatibility with Awesome WM. I ran Inkscape on the separate Xorg-server and the bug didn't occur. However, it occurs in Awesome both in floating and tiling modes.

Revision history for this message
eurekafag (eurekafag) wrote :

Found the culprit. It's uim-xim which I use for urxvt uim support. To reproduce install uim-xim and uim-m17nlib, create the file ~/.uim with the following contents:

(require-module "m17nlib")
(define default-widget_m17nlib_input_mode 'action_m17nlib_on)

and run uim-xim. Then run Inkscape and try to reproduce the bug. I'm not sure whether it's Inkscape or uim bug because other apps work fine.

Revision history for this message
su_v (suv-lp) wrote :

> I'm not sure whether it's Inkscape or uim bug
> because other apps work fine.

A quick google search reveals hangs with other apps too, e.g. LibreOffice, if uim-xim is running in the background:
 39280 – libreoffice hangs if uim-xim is running:
<https://bugs.freedesktop.org/show_bug.cgi?id=39280>

summary: - Inkscape freezes while editing the text
+ Inkscape freezes while editing the text if uim-xim is running
Revision history for this message
eurekafag (eurekafag) wrote :

Well, maybe I'm just lucky but I've never run into this problem on LibreOffice. Two things to consider:
1) App's uptime doesn't matter. It's true that you can enter text for a while until the app freezes. But if you save just before the freeze (before trying to edit) then edit, get freeze, kill app, start it again and load that file you'll get the same freeze right after the first edit. It looks like the app accumulate text changes and after reaching some point it hangs. Saving the document preserves that accumulated value whatever it is.
2) The ~/.uim config matters. Without it uim-xim doesn't affect Inkscape at least.

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.