DocView has a long delay between user input and UI update

Bug #1171648 reported by James Hudon
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Emacs-snapshot
Won't Fix
Medium
Damien Cassou

Bug Description

Reproduced on 12.10 with emacs-snapshot. Also on 12.04 LTS with emacs24 (both from PPA and from canonical).
I don't have any special PDF viewers installed, just the stock Evince.

1. Launch emacs with "emacs -Q"
2. Open a large PDF that has pages you can scroll (the larger the doc, the worse it is. A ~4mb 50-page doc (attached) should be used to reproduce)
3. Scroll around (should be responsive)
4. Turn on `M-x global-linum-mode`
5. Ensure the global-linum-mode is enabled and now scroll around. There should be a noticeable lag that makes it really difficult to use.

James Hudon (jameshudon)
description: updated
Revision history for this message
Damien Cassou (cassou) wrote :

I can't reproduce on 12.10 with both emacs24 and emacs-snapshot. I suggest you use M-x report-emacs-bug.

I'm closing the issue right now. Please feel free to open it again should you have more information.

Changed in emacs-snapshot:
status: New → Invalid
importance: Undecided → Medium
assignee: nobody → Damien Cassou (cassou)
Revision history for this message
James Hudon (jameshudon) wrote :

@Damien Cassou
I think I narrowed it down:

1. Launch emacs with "emacs -Q"
2. Open a PDF that has pages you can scroll
3. Scroll around (should be responsive)
4. Turn on `M-x global-linum-mode`
5. Ensure the global-linum-mode is enabled and now scroll around (noticeable lag)

so when I comment out (global-linum-mode 1) in my init.el, the problem goes away.

Revision history for this message
James Hudon (jameshudon) wrote :

re-opened bug and reported it upstream as suggested. Let me know if you still can't repro

description: updated
Changed in emacs-snapshot:
status: Invalid → New
Revision history for this message
Damien Cassou (cassou) wrote :

I still can't reproduce. I see number 1 in the margin, but I can still scroll fast.

Revision history for this message
James Hudon (jameshudon) wrote :

Another observation is that the bigger the document, the worse the problem. On a 20-page document, it is noticeable. On a 50-page document, Emacs is completely unusable. I attached a 50-page doc where this happens. I can't even go to the next page now.

Revision history for this message
Damien Cassou (cassou) wrote :

I confirm the problem can be reproduced with a large document and global-linum-mode. If the document is small *or* if linum-mode is not active, everything is fine.

Revision history for this message
James Hudon (jameshudon) wrote :

Thanks. Updated description to mention file size.

description: updated
Damien Cassou (cassou)
Changed in emacs-snapshot:
status: New → Confirmed
Revision history for this message
Damien Cassou (cassou) wrote :

I'm closing this report as it doesn't look like I can do anything. Upstream needs to fix this.

Changed in emacs-snapshot:
status: Confirmed → Won't Fix
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.