Font display scrambled when scrolling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs23 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: emacs23
When scrolling through a text document or typing in the echo area, fonts often appear scrambled initially, with characters printed on top of each-other. After several seconds of inactivity, the display corrects itself, but the problem will reappear with additional scrolling or typing.
Observed:
- full screen and smaller window
- font-lock on and off
- monospaced and proportional fonts
- with current ~/.emacs file moved out of the way and no .Xdefaults or .Xresources to affect display
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: emacs23 23.1+1-4ubuntu7
ProcVersionSign
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Tue Apr 27 09:32:48 2010
ProcEnviron:
PATH=(custom, user)
LANG=en_CA.utf8
SHELL=/bin/bash
SourcePackage: emacs23
I am getting what appears to me to be a highly related bug. I get scrambled, overlapping fonts. In my case, this is not related to scrolling specifically, but occurs even while typing.
As a temporary work-around, I am forcing Emacs to redraw after every command (code below!). Emacs is now usable, although it causes a very unpleasant flicker.
;; nasty hack to fix display issue
'phil- redraw- display- hack)
(add-hook 'post-command-hook
(defun phil-redraw- display- hack()
(interactive)
(redraw-display))