Abiword is slow to update the document when typing

Bug #988485 reported by Johan Thorén
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
AbiWord
Confirmed
Medium
abiword (Ubuntu)
Confirmed
Undecided
Unassigned
compiz (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

When I write any text in Abiword, there is a slight lag before updating on my screen.

Steps to reproduce:
1. Launch Abiword
2. Press any keys in rapid succession, for example 123, and the text 123 should appear without any lag, and at the time every single key is released.

What happened instead:
1. 123 appear on screen, but with a slight lag. Instead of printing 1 then 2 then 3 at the pace I release the keys, the program lags for a split second and then print "123" as if it was in one stroke. It feels like the lag is somewhere around .5 seconds.

Using gedit, libreoffice or googleoffice (or any other program) I get the expected result.

I noticed that the problem is less when not having the window maximized. For example:

When pressing and holding the arrow key in maximized mode, the marker disappear until I release it, having traveled down the line without showing me how the marker jumps over the letters.
When doing the same thing i a smaller sized window, the marker is visible the entire time, showing me how it jumps over the letters.

This suggests that the problem might in some way be related to Unity.

Videos:

http://youtu.be/0xhwJhWCzgk
http://youtu.be/zpZVojHw3PE

WORKAROUND: This bug does not appear in Unity 2D.

WORKAROUND: Use LibreOffice.

WORKAROUND: Disable compiz.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: abiword 2.9.2+svn20120213-1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
Date: Wed Apr 25 20:46:06 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/abiword
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: abiword
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Johan Thorén (kveras) wrote :
Revision history for this message
Johan Thorén (kveras) wrote :

This bug does not appear in Unity 2D.

Revision history for this message
Johan Thorén (kveras) wrote :

Bug has been confirmed not to appear in Unity2d (by me) or GNOME Shell (upstream @ http://bugzilla.abisource.com/show_bug.cgi?id=13341#c3)

affects: abiword (Ubuntu) → unity (Ubuntu)
no longer affects: unity
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, is that specific to abiword or do you get the same issue in other editors? do that happen in a GNOME classic session with compiz or only with unity3d?

Changed in unity (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Johan Thorén (kveras) wrote :

I have not found any other application, editor or word processor that has the same problem. Only Abiword so far.

The problem is still there in GNOME Classic with compiz, but not as much. There is a distinct difference between running the application maximized and windowed under classic GNOME. The lag when I type is not as visible, but moving the cursor with the keyboard still lags heavy when maximized, not so much in windowed.

http://youtu.be/Dab6CcVA6f8

Revision history for this message
Sebastien Bacher (seb128) wrote :

it feels like it's a compiz issue rather than an unity one if it happens in GNOME classic as well

affects: unity (Ubuntu) → compiz (Ubuntu)
Changed in abiword:
importance: Unknown → Medium
status: Unknown → Invalid
Changed in abiword:
status: Invalid → Confirmed
penalvch (penalvch)
description: updated
Revision history for this message
penalvch (penalvch) wrote :

Johan Thorén, does this occur in GNOME Classic without compiz?

Revision history for this message
Johan Thorén (kveras) wrote :

Christopher M. Penalver (penalvch), no it does not appear in GNOME classic without Compiz.

penalvch (penalvch)
description: updated
Changed in compiz (Ubuntu):
status: Incomplete → New
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Hi! There have been many major compiz updates that deal with performance - Could you make sure you are up to date and see if the issue is there for you? I cannot reproduce it. Thanks!

Changed in compiz (Ubuntu):
status: New → Incomplete
Revision history for this message
Johan Thorén (kveras) wrote :

Testing in Ubuntu 12.10 (Daily), the problem seems to be gone. I can not reproduce it running native Unity with 3d.

Abiword 2.9.2+svn20120603-2.
Compiz 1:0.9.8+bzr3249-0ubuntu4.

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Well, what about 12.04? I doubt this bug is material for an SRU but perhaps it's been fixed for 12.04.

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

(provided you're running 12.04. If 12.10 is your main OS, it would be prudent to merely close the bug).

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in abiword (Ubuntu):
status: New → Confirmed
Revision history for this message
John Hupp (john.hupp) wrote :

I find the same lagging behavior under Lubuntu 12.04, which runs LXDE instead of Unity.

Revision history for this message
Pesco Francesco (peschio) wrote :

Same behavior in Xubuntu 12.04 x86, Abiword 2.9.2, no compiz installed. Normal typing brings the cpu load up to almost 100% and lags a bit, especially after ten or so pages.
Typing in LibreOffice, the virtual terminal or mousepad have no relevant cpu load and no lag.

Revision history for this message
Davide (dspinell) wrote :

Abiword in Ubutnu 13.04 64 bit is strongly affected (to the point of being unusable)

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

And to confirm, not using compiz fixes the problem?

Changed in compiz (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Davide (dspinell) wrote :

@ #17

I am not sure how to eventually disable compiz in my system, but looking at the comments above it seems that the problem appears also in systems that do not use compiz

Revision history for this message
Julianloui (julianloui) wrote :

2014-04-04

I installed abiword versio 2.9.2 today in Ubuntu 12.04. I've never seen any such slow software in Windows or Linux. I'll use LibreOffice's Writer instead in the meantime.

Julianloui

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.