emacs window update artefacts

Bug #258602 reported by Pauli Virtanen
8
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Intrepid by Anders Kaseorg

Bug Description

Binary package hint: compiz

Emacs window is redrawn only partially when scrolling. Ubuntu Intrepid, Nvidia GeForce 7600GS.

To reproduce: open a long file in emacs22, and scroll rapidly with the mouse wheel or the PgUp/PgDown keys. Notice that at some times not all of the window is redrawn and old contents are left behind.

This bug does not occur under Metacity, even when Metacity's compositing is turned on. So I believe it's most likely a compiz bug and not a bug in X or the video drivers.

ii nvidia-glx-177 177.13-0ubuntu8
ii compiz 1:0.7.7+git20080807-0ubuntu2
ii xserver-xorg 1:7.4~1ubuntu1
ii emacs22 22.2-0ubuntu1

Compiz .config/compiz/compizconfig/Default.ini configuration & a screenshot of the problem attached.

Revision history for this message
Pauli Virtanen (pauli-virtanen) wrote :
Revision history for this message
Pauli Virtanen (pauli-virtanen) wrote :

A picture of garbling of window contents due to scrolling a file containing C code with the mouse wheel.

Note that this problem makes Emacs unusable under Compiz.

Revision history for this message
Pauli Virtanen (pauli-virtanen) wrote :

Similar problem occurs in GVim: incomplete redraws when scrolling a file with PgUp/PgDown. In gvim, however, white rectangles appear instead of garbled text. Screenshot of the problem attached.

ii vim-gnome 1:7.1.314-3ubuntu3

Revision history for this message
Ben Aisen (beinsane11) wrote :

Confirmed with emacs-snapshot (regardless of font backend used).

Revision history for this message
Anders Kaseorg (andersk) wrote :

Confirmed on intrepid amd64 with a clean account (emacs-snapshot 20080727-1, compiz 0.7.7+git20080807-0ubuntu2, GeForce Go 7300 with nvidia driver 177.13-0ubuntu8).

Changed in compiz:
status: New → Confirmed
Revision history for this message
Ben Aisen (beinsane11) wrote :

Fixed in compiz 1:0.7.7+git20080807-0ubuntu4.

Changed in compiz:
status: Confirmed → Fix Released
Revision history for this message
Anders Kaseorg (andersk) wrote :

The major problems seem to be gone with compiz 0.7.7+git20080807-0ubuntu4; however, I still see some minor glitches like this:
http://web.mit.edu/andersk/Public/emacs-corruption.png
Is anyone else seeing this?

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.