* bug#11484: 23.4; Scrolling leaves traces of old text behind
@ 2012-05-15 22:02 Frank Marcoline
2012-10-21 19:07 ` Jan Djärv
0 siblings, 1 reply; 13+ messages in thread
From: Frank Marcoline @ 2012-05-15 22:02 UTC (permalink / raw)
To: 11484
[-- Attachment #1: Type: text/plain, Size: 7072 bytes --]
Bug: Scrolling can leave behind traces of old text.
The traces appear to be cyan outlines of the right hand
side of characters which previously occupied the same location.
For example, a "Y" will leave behind a small cyan dot from its upper
right, an "A" will leave behind a small cyan dot from its lower right.
Steps to reproduce:
1) /Applications/Emacs.app/Contents/MacOS/Emacs -Q
2) C-x C-f helix.pqr [Ret]
3) Rapidly scroll up and down with two-finger drag gesture
I have attached the file helix.pqr, for which the effect is
very pronounced, and a screenshot faithfully reproducing
the effect. Note the small cyan marks on the left of
many numbers and letters.
This version of emacs came from http://emacsformacosx.com/
In GNU Emacs 23.4.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
of 2012-01-29 on bob.porkrind.org
Windowing system distributor `Apple', version 10.3.1138
configured using `configure '--host=x86_64-apple-darwin'
'--build=i686-apple-darwin' '--with-ns'
'build_alias=i686-apple-darwin' 'host_alias=x86_64-apple-darwin'
'CC=gcc -mmacosx-version-min=10.5''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <wheel-down> <double-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <triple-wheel-up> <wheel-down> <double-wheel-down>
<triple-wheel-down> <wheel-up> <double-wheel-up> <triple-wheel-up>
<wheel-up> <double-wheel-up> <wheel-down> <double-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <wheel-down>
<double-wheel-down> <wheel-down> <double-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <wheel-up> <double-wheel-up> <wheel-down>
<wheel-down> <double-wheel-down> <wheel-up> <wheel-down>
<wheel-down> <wheel-up> <double-wheel-up> <wheel-up>
<wheel-up> <double-wheel-up> <triple-wheel-up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> C-x b <return>
<wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
<wheel-down> <double-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <wheel-up> <double-wheel-up> <triple-wheel-up>
<triple-wheel-up> <wheel-down> <double-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <wheel-up> <double-wheel-up> <wheel-down>
<double-wheel-down> <triple-wheel-down> <wheel-down>
<double-wheel-down> <triple-wheel-down> <wheel-up>
<double-wheel-up> <triple-wheel-up> <triple-wheel-up>
<wheel-down> <double-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <wheel-down> <double-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <wheel-up>
<double-wheel-up> <triple-wheel-up> <triple-wheel-up>
<wheel-down> <double-wheel-down> <triple-wheel-down>
<wheel-up> <double-wheel-up> <triple-wheel-up> <wheel-down>
<double-wheel-down> <wheel-down> <double-wheel-down>
M-x b u g <tab> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> r e p <tab> o r <tab> <return>
Recent messages:
Saving file /Users/fvm/.emacs...
Wrote /Users/fvm/.emacs
byte-code: Beginning of buffer [8 times]
byte-code: End of buffer [13 times]
byte-code: Beginning of buffer [13 times]
byte-code: End of buffer [26 times]
byte-code: Beginning of buffer [14 times]
byte-code: End of buffer [2 times]
Making completion list...
byte-code: End of buffer [4 times]
Load-path shadows:
None found.
Features:
(shadow sort mail-extr message ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils emacsbug help-mode view vc-hg cc-mode
cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win
easymenu tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process ns multi-tty emacs)
[-- Attachment #2: helix.pqr --]
[-- Type: application/octet-stream, Size: 22190 bytes --]
ATOM 1 N GLY 1 -0.803 1.715 21.235 -0.3200 2.0000
ATOM 2 CA GLY 1 -0.151 2.600 20.269 0.3300 2.0000
ATOM 3 C GLY 1 0.643 1.824 19.243 0.5500 1.7000
ATOM 4 O GLY 1 0.485 2.143 18.047 -0.5500 1.4000
ATOM 5 H2 GLY 1 -0.123 1.363 21.881 0.3300 0.0000
ATOM 6 H GLY 1 -1.505 2.224 21.737 0.3300 0.0000
ATOM 7 H3 GLY 1 -1.231 0.948 20.753 0.3300 0.0000
ATOM 8 HA2 GLY 1 -0.855 3.156 19.803 0.0000 0.0000
ATOM 9 HA3 GLY 1 0.462 3.234 20.763 0.0000 0.0000
ATOM 10 N GLY 2 1.448 0.856 19.704 -0.4000 1.5000
ATOM 11 CA GLY 2 2.234 0.074 18.765 -0.0000 2.0000
ATOM 12 C GLY 2 1.362 -0.600 17.733 0.5500 1.7000
ATOM 13 O GLY 2 1.721 -0.507 16.538 -0.5500 1.4000
ATOM 14 H GLY 2 1.452 0.732 20.718 0.4000 1.0000
ATOM 15 HA2 GLY 2 2.900 0.678 18.301 0.0000 0.0000
ATOM 16 HA3 GLY 2 2.760 -0.627 19.271 0.0000 0.0000
ATOM 17 N GLY 3 0.277 -1.244 18.179 -0.4000 1.5000
ATOM 18 CA GLY 3 -0.605 -1.914 17.228 -0.0000 2.0000
ATOM 19 C GLY 3 -1.114 -0.960 16.173 0.5500 1.7000
ATOM 20 O GLY 3 -1.064 -1.337 14.989 -0.5500 1.4000
ATOM 21 H GLY 3 0.133 -1.223 19.191 0.4000 1.0000
ATOM 22 HA2 GLY 3 -0.102 -2.671 16.786 0.0000 0.0000
ATOM 23 HA3 GLY 3 -1.387 -2.316 17.727 0.0000 0.0000
ATOM 24 N GLY 4 -1.593 0.218 16.606 -0.4000 1.5000
ATOM 25 CA GLY 4 -2.108 1.184 15.640 -0.0000 2.0000
ATOM 26 C GLY 4 -1.067 1.536 14.604 0.5500 1.7000
ATOM 27 O GLY 4 -1.431 1.527 13.409 -0.5500 1.4000
ATOM 28 H GLY 4 -1.563 0.362 17.616 0.4000 1.0000
ATOM 29 HA2 GLY 4 -2.922 0.796 15.185 0.0000 0.0000
ATOM 30 HA3 GLY 4 -2.396 2.020 16.128 0.0000 0.0000
ATOM 31 N ALA 5 0.162 1.830 15.051 -0.4000 1.5000
ATOM 32 CA ALA 5 1.210 2.177 14.096 -0.0000 2.0000
ATOM 33 C ALA 5 1.415 1.086 13.073 0.5500 1.7000
ATOM 34 O ALA 5 1.481 1.437 11.875 -0.5500 1.4000
ATOM 35 CB ALA 5 2.531 2.398 14.816 0.0000 2.0000
ATOM 36 H ALA 5 0.286 1.790 16.064 0.4000 1.0000
ATOM 37 HA ALA 5 0.940 3.027 13.619 0.0000 0.0000
ATOM 38 HB1 ALA 5 2.543 3.313 15.220 0.0000 0.0000
ATOM 39 HB3 ALA 5 2.637 1.715 15.539 0.0000 0.0000
ATOM 40 HB2 ALA 5 3.285 2.312 14.165 0.0000 0.0000
ATOM 41 N ALA 6 1.508 -0.168 13.533 -0.4000 1.5000
ATOM 42 CA ALA 6 1.707 -1.266 12.592 -0.0000 2.0000
ATOM 43 C ALA 6 0.614 -1.311 11.551 0.5500 1.7000
ATOM 44 O ALA 6 0.969 -1.441 10.360 -0.5500 1.4000
ATOM 45 CB ALA 6 1.708 -2.599 13.326 0.0000 2.0000
ATOM 46 H ALA 6 1.431 -0.276 14.546 0.4000 1.0000
ATOM 47 HA ALA 6 2.596 -1.133 12.128 0.0000 0.0000
ATOM 48 HB1 ALA 6 2.532 -3.112 13.086 0.0000 0.0000
ATOM 49 HB3 ALA 6 1.693 -2.438 14.312 0.0000 0.0000
ATOM 50 HB2 ALA 6 0.900 -3.126 13.063 0.0000 0.0000
ATOM 51 N ALA 7 -0.648 -1.207 11.989 -0.4000 1.5000
ATOM 52 CA ALA 7 -1.747 -1.243 11.030 -0.0000 2.0000
ATOM 53 C ALA 7 -1.606 -0.165 9.982 0.5500 1.7000
ATOM 54 O ALA 7 -1.771 -0.507 8.791 -0.5500 1.4000
ATOM 55 CB ALA 7 -3.077 -1.033 11.739 0.0000 2.0000
ATOM 56 H ALA 7 -0.759 -1.106 13.000 0.4000 1.0000
ATOM 57 HA ALA 7 -1.745 -2.146 10.573 0.0000 0.0000
ATOM 58 HB1 ALA 7 -3.816 -1.019 11.066 0.0000 0.0000
ATOM 59 HB3 ALA 7 -3.232 -1.778 12.387 0.0000 0.0000
ATOM 60 HB2 ALA 7 -3.060 -0.163 12.231 0.0000 0.0000
ATOM 61 N ALA 8 -1.317 1.069 10.413 -0.4000 1.5000
ATOM 62 CA ALA 8 -1.168 2.153 9.447 -0.0000 2.0000
ATOM 63 C ALA 8 -0.109 1.839 8.418 0.5500 1.7000
ATOM 64 O ALA 8 -0.402 2.043 7.221 -0.5500 1.4000
ATOM 65 CB ALA 8 -0.770 3.441 10.151 0.0000 2.0000
ATOM 66 H ALA 8 -1.217 1.173 11.425 0.4000 1.0000
ATOM 67 HA ALA 8 -2.053 2.287 8.976 0.0000 0.0000
ATOM 68 HB1 ALA 8 0.128 3.327 10.575 0.0000 0.0000
ATOM 69 HB3 ALA 8 -0.731 4.187 9.487 0.0000 0.0000
ATOM 70 HB2 ALA 8 -1.444 3.659 10.856 0.0000 0.0000
ATOM 71 N LEU 9 1.060 1.367 8.874 -0.4000 1.5000
ATOM 72 CA LEU 9 2.124 1.045 7.927 -0.0000 2.0000
ATOM 73 C LEU 9 1.668 0.037 6.900 0.5500 1.7000
ATOM 74 O LEU 9 1.934 0.284 5.704 -0.5500 1.4000
ATOM 75 CB LEU 9 3.332 0.455 8.658 0.0000 2.0000
ATOM 76 CG LEU 9 4.523 0.054 7.785 0.0000 2.0000
ATOM 77 CD1 LEU 9 5.089 1.264 7.058 0.0000 2.0000
ATOM 78 CD2 LEU 9 5.630 -0.553 8.633 0.0000 2.0000
ATOM 79 HD22 LEU 9 5.285 -1.367 9.102 0.0000 0.0000
ATOM 80 HD23 LEU 9 6.399 -0.809 8.047 0.0000 0.0000
ATOM 81 HD21 LEU 9 5.938 0.115 9.311 0.0000 0.0000
ATOM 82 H LEU 9 1.130 1.261 9.887 0.4000 1.0000
ATOM 83 HD13 LEU 9 5.393 1.944 7.726 0.0000 0.0000
ATOM 84 HD12 LEU 9 5.866 0.983 6.493 0.0000 0.0000
ATOM 85 HD11 LEU 9 4.382 1.665 6.474 0.0000 0.0000
ATOM 86 HA LEU 9 2.392 1.895 7.451 0.0000 0.0000
ATOM 87 HG LEU 9 4.220 -0.625 7.116 0.0000 0.0000
ATOM 88 HB3 LEU 9 3.028 -0.362 9.140 0.0000 0.0000
ATOM 89 HB2 LEU 9 3.658 1.136 9.309 0.0000 0.0000
ATOM 90 N ALA 10 1.014 -1.041 7.355 -0.4000 1.5000
ATOM 91 CA ALA 10 0.549 -2.051 6.410 -0.0000 2.0000
ATOM 92 C ALA 10 -0.361 -1.455 5.362 0.5500 1.7000
ATOM 93 O ALA 10 -0.138 -1.767 4.172 -0.5500 1.4000
ATOM 94 CB ALA 10 -0.226 -3.140 7.136 0.0000 2.0000
ATOM 95 H ALA 10 0.881 -1.084 8.367 0.4000 1.0000
ATOM 96 HA ALA 10 1.354 -2.457 5.952 0.0000 0.0000
ATOM 97 HB1 ALA 10 0.412 -3.815 7.505 0.0000 0.0000
ATOM 98 HB3 ALA 10 -0.751 -2.735 7.884 0.0000 0.0000
ATOM 99 HB2 ALA 10 -0.851 -3.589 6.497 0.0000 0.0000
ATOM 100 N LEU 11 -1.333 -0.640 5.793 -0.4000 1.5000
ATOM 101 CA LEU 11 -2.244 -0.033 4.827 -0.0000 2.0000
ATOM 102 C LEU 11 -1.499 0.765 3.785 0.5500 1.7000
ATOM 103 O LEU 11 -1.821 0.581 2.592 -0.5500 1.4000
ATOM 104 CB LEU 11 -3.220 0.912 5.532 0.0000 2.0000
ATOM 105 CG LEU 11 -4.229 1.635 4.637 0.0000 2.0000
ATOM 106 CD1 LEU 11 -5.132 0.637 3.928 0.0000 2.0000
ATOM 107 CD2 LEU 11 -5.104 2.568 5.459 0.0000 2.0000
ATOM 108 HD22 LEU 11 -4.532 3.250 5.915 0.0000 0.0000
ATOM 109 HD23 LEU 11 -5.757 3.032 4.859 0.0000 0.0000
ATOM 110 HD21 LEU 11 -5.603 2.041 6.147 0.0000 0.0000
ATOM 111 H LEU 11 -1.373 -0.493 6.803 0.4000 1.0000
ATOM 112 HD13 LEU 11 -5.632 0.097 4.606 0.0000 0.0000
ATOM 113 HD12 LEU 11 -5.784 1.128 3.349 0.0000 0.0000
ATOM 114 HD11 LEU 11 -4.577 0.027 3.361 0.0000 0.0000
ATOM 115 HA LEU 11 -2.755 -0.773 4.365 0.0000 0.0000
ATOM 116 HG LEU 11 -3.732 2.175 3.957 0.0000 0.0000
ATOM 117 HB3 LEU 11 -2.686 1.609 6.001 0.0000 0.0000
ATOM 118 HB2 LEU 11 -3.740 0.376 6.193 0.0000 0.0000
ATOM 119 N ALA 12 -0.550 1.604 4.224 -0.4000 1.5000
ATOM 120 CA ALA 12 0.205 2.402 3.263 -0.0000 2.0000
ATOM 121 C ALA 12 0.895 1.533 2.239 0.5500 1.7000
ATOM 122 O ALA 12 0.783 1.869 1.041 -0.5500 1.4000
ATOM 123 CB ALA 12 1.270 3.221 3.975 0.0000 2.0000
ATOM 124 H ALA 12 -0.415 1.629 5.236 0.4000 1.0000
ATOM 125 HA ALA 12 -0.437 3.022 2.787 0.0000 0.0000
ATOM 126 HB1 ALA 12 2.050 2.636 4.197 0.0000 0.0000
ATOM 127 HB3 ALA 12 1.573 3.966 3.380 0.0000 0.0000
ATOM 128 HB2 ALA 12 0.891 3.603 4.818 0.0000 0.0000
ATOM 129 N LEU 13 1.572 0.472 2.699 -0.4000 1.5000
ATOM 130 CA LEU 13 2.260 -0.406 1.758 -0.0000 2.0000
ATOM 131 C LEU 13 1.311 -0.964 0.723 0.5500 1.7000
ATOM 132 O LEU 13 1.681 -0.915 -0.470 -0.5500 1.4000
ATOM 133 CB LEU 13 2.899 -1.585 2.493 0.0000 2.0000
ATOM 134 CG LEU 13 3.644 -2.602 1.625 0.0000 2.0000
ATOM 135 CD1 LEU 13 4.811 -1.943 0.907 0.0000 2.0000
ATOM 136 CD2 LEU 13 4.190 -3.738 2.478 0.0000 2.0000
ATOM 137 HD22 LEU 13 3.435 -4.201 2.942 0.0000 0.0000
ATOM 138 HD23 LEU 13 4.673 -4.392 1.895 0.0000 0.0000
ATOM 139 HD21 LEU 13 4.823 -3.371 3.160 0.0000 0.0000
ATOM 140 H LEU 13 1.560 0.345 3.713 0.4000 1.0000
ATOM 141 HD13 LEU 13 5.448 -1.565 1.580 0.0000 0.0000
ATOM 142 HD12 LEU 13 5.286 -2.622 0.345 0.0000 0.0000
ATOM 143 HD11 LEU 13 4.471 -1.206 0.321 0.0000 0.0000
ATOM 144 HA LEU 13 2.974 0.131 1.286 0.0000 0.0000
ATOM 145 HG LEU 13 3.009 -2.980 0.951 0.0000 0.0000
ATOM 146 HB3 LEU 13 2.176 -2.076 2.971 0.0000 0.0000
ATOM 147 HB2 LEU 13 3.555 -1.218 3.148 0.0000 0.0000
ATOM 148 N ARG 14 0.152 -1.466 1.170 -0.4000 1.5000
ATOM 149 CA ARG 14 -0.804 -2.019 0.217 -0.0000 2.0000
ATOM 150 C ARG 14 -1.193 -1.006 -0.833 0.5500 1.7000
ATOM 151 O ARG 14 -1.184 -1.389 -2.023 -0.5500 1.4000
ATOM 152 CB ARG 14 -2.080 -2.463 0.935 0.0000 2.0000
ATOM 153 CG ARG 14 -1.905 -3.698 1.805 0.0000 2.0000
ATOM 154 CD ARG 14 -3.196 -4.055 2.523 0.3500 2.0000
ATOM 155 NE ARG 14 -3.032 -5.210 3.402 -0.3500 1.5000
ATOM 156 CZ ARG 14 -3.990 -5.695 4.185 0.3500 1.7000
ATOM 157 NH1 ARG 14 -3.749 -6.750 4.952 -0.7000 1.5000
ATOM 158 NH2 ARG 14 -5.185 -5.122 4.202 -0.7000 1.5000
ATOM 159 HG3 ARG 14 -1.206 -3.524 2.492 0.0000 0.0000
ATOM 160 HA ARG 14 -0.380 -2.817 -0.238 0.0000 0.0000
ATOM 161 HE ARG 14 -2.136 -5.668 3.415 0.4500 1.0000
ATOM 162 HG2 ARG 14 -1.641 -4.471 1.236 0.0000 0.0000
ATOM 163 HH22 ARG 14 -5.914 -5.492 4.773 0.4000 1.0000
ATOM 164 HH21 ARG 14 -5.359 -4.310 3.638 0.4000 1.0000
ATOM 165 H ARG 14 0.012 -1.426 2.181 0.4000 1.0000
ATOM 166 HD3 ARG 14 -3.886 -4.261 1.834 0.0000 0.0000
ATOM 167 HD2 ARG 14 -3.478 -3.267 3.064 0.0000 0.0000
ATOM 168 HH12 ARG 14 -4.491 -7.122 5.530 0.4000 1.0000
ATOM 169 HH11 ARG 14 -2.850 -7.174 4.964 0.4000 1.0000
ATOM 170 HB3 ARG 14 -2.770 -2.666 0.247 0.0000 0.0000
ATOM 171 HB2 ARG 14 -2.386 -1.715 1.517 0.0000 0.0000
ATOM 172 N LEU 15 -1.518 0.221 -0.403 -0.4000 1.5000
ATOM 173 CA LEU 15 -1.903 1.243 -1.372 -0.0000 2.0000
ATOM 174 C LEU 15 -0.826 1.463 -2.406 0.5500 1.7000
ATOM 175 O LEU 15 -1.186 1.500 -3.603 -0.5500 1.4000
ATOM 176 CB LEU 15 -2.158 2.578 -0.670 0.0000 2.0000
ATOM 177 CG LEU 15 -2.555 3.751 -1.568 0.0000 2.0000
ATOM 178 CD1 LEU 15 -3.863 3.460 -2.287 0.0000 2.0000
ATOM 179 CD2 LEU 15 -2.735 5.019 -0.748 0.0000 2.0000
ATOM 180 HD22 LEU 15 -1.877 5.244 -0.285 0.0000 0.0000
ATOM 181 HD23 LEU 15 -2.994 5.774 -1.351 0.0000 0.0000
ATOM 182 HD21 LEU 15 -3.453 4.878 -0.066 0.0000 0.0000
ATOM 183 H LEU 15 -1.473 0.363 0.607 0.4000 1.0000
ATOM 184 HD13 LEU 15 -4.589 3.309 -1.615 0.0000 0.0000
ATOM 185 HD12 LEU 15 -4.106 4.237 -2.869 0.0000 0.0000
ATOM 186 HD11 LEU 15 -3.759 2.641 -2.853 0.0000 0.0000
ATOM 187 HA LEU 15 -2.744 0.935 -1.840 0.0000 0.0000
ATOM 188 HG LEU 15 -1.832 3.903 -2.242 0.0000 0.0000
ATOM 189 HB3 LEU 15 -1.323 2.837 -0.194 0.0000 0.0000
ATOM 190 HB2 LEU 15 -2.897 2.442 -0.015 0.0000 0.0000
ATOM 191 N ALA 16 0.430 1.599 -1.958 -0.4000 1.5000
ATOM 192 CA ALA 16 1.515 1.813 -2.910 -0.0000 2.0000
ATOM 193 C ALA 16 1.583 0.705 -3.934 0.5500 1.7000
ATOM 194 O ALA 16 1.695 1.046 -5.132 -0.5500 1.4000
ATOM 195 CB ALA 16 2.852 1.864 -2.187 0.0000 2.0000
ATOM 196 H ALA 16 0.547 1.542 -0.944 0.4000 1.0000
ATOM 197 HA ALA 16 1.355 2.690 -3.387 0.0000 0.0000
ATOM 198 HB1 ALA 16 3.554 1.427 -2.750 0.0000 0.0000
ATOM 199 HB3 ALA 16 3.106 2.816 -2.020 0.0000 0.0000
ATOM 200 HB2 ALA 16 2.779 1.382 -1.314 0.0000 0.0000
ATOM 201 N LEU 17 1.517 -0.551 -3.475 -0.4000 1.5000
ATOM 202 CA LEU 17 1.578 -1.665 -4.417 -0.0000 2.0000
ATOM 203 C LEU 17 0.490 -1.572 -5.459 0.5500 1.7000
ATOM 204 O LEU 17 0.828 -1.746 -6.650 -0.5500 1.4000
ATOM 205 CB LEU 17 1.412 -2.997 -3.683 0.0000 2.0000
ATOM 206 CG LEU 17 1.439 -4.257 -4.551 0.0000 2.0000
ATOM 207 CD1 LEU 17 2.778 -4.393 -5.259 0.0000 2.0000
ATOM 208 CD2 LEU 17 1.222 -5.500 -3.701 0.0000 2.0000
ATOM 209 HD22 LEU 17 0.334 -5.443 -3.244 0.0000 0.0000
ATOM 210 HD23 LEU 17 1.243 -6.313 -4.284 0.0000 0.0000
ATOM 211 HD21 LEU 17 1.946 -5.566 -3.014 0.0000 0.0000
ATOM 212 H LEU 17 1.425 -0.649 -2.462 0.4000 1.0000
ATOM 213 HD13 LEU 17 3.511 -4.453 -4.581 0.0000 0.0000
ATOM 214 HD12 LEU 17 2.778 -5.221 -5.821 0.0000 0.0000
ATOM 215 HD11 LEU 17 2.931 -3.595 -5.843 0.0000 0.0000
ATOM 216 HA LEU 17 2.475 -1.639 -4.881 0.0000 0.0000
ATOM 217 HG LEU 17 0.708 -4.198 -5.231 0.0000 0.0000
ATOM 218 HB3 LEU 17 0.535 -2.979 -3.212 0.0000 0.0000
ATOM 219 HB2 LEU 17 2.154 -3.076 -3.022 0.0000 0.0000
ATOM 220 N ALA 18 -0.749 -1.310 -5.022 -0.4000 1.5000
ATOM 221 CA ALA 18 -1.845 -1.207 -5.984 -0.0000 2.0000
ATOM 222 C ALA 18 -1.568 -0.155 -7.031 0.5500 1.7000
ATOM 223 O ALA 18 -1.772 -0.473 -8.222 -0.5500 1.4000
ATOM 224 CB ALA 18 -3.139 -0.835 -5.276 0.0000 2.0000
ATOM 225 H ALA 18 -0.849 -1.196 -4.012 0.4000 1.0000
ATOM 226 HA ALA 18 -1.955 -2.103 -6.440 0.0000 0.0000
ATOM 227 HB1 ALA 18 -3.111 -1.164 -4.332 0.0000 0.0000
ATOM 228 HB3 ALA 18 -3.248 0.159 -5.278 0.0000 0.0000
ATOM 229 HB2 ALA 18 -3.913 -1.254 -5.751 0.0000 0.0000
ATOM 230 N LEU 19 -1.126 1.032 -6.598 -0.4000 1.5000
ATOM 231 CA LEU 19 -0.841 2.089 -7.563 -0.0000 2.0000
ATOM 232 C LEU 19 0.173 1.645 -8.591 0.5500 1.7000
ATOM 233 O LEU 19 -0.090 1.885 -9.789 -0.5500 1.4000
ATOM 234 CB LEU 19 -0.280 3.325 -6.856 0.0000 2.0000
ATOM 235 CG LEU 19 0.082 4.513 -7.750 0.0000 2.0000
ATOM 236 CD1 LEU 19 -1.149 5.033 -8.477 0.0000 2.0000
ATOM 237 CD2 LEU 19 0.663 5.649 -6.924 0.0000 2.0000
ATOM 238 HD22 LEU 19 1.489 5.335 -6.455 0.0000 0.0000
ATOM 239 HD23 LEU 19 0.894 6.416 -7.523 0.0000 0.0000
ATOM 240 HD21 LEU 19 -0.009 5.949 -6.246 0.0000 0.0000
ATOM 241 H LEU 19 -1.014 1.122 -5.586 0.4000 1.0000
ATOM 242 HD13 LEU 19 -1.833 5.328 -7.809 0.0000 0.0000
ATOM 243 HD12 LEU 19 -0.894 5.808 -9.056 0.0000 0.0000
ATOM 244 HD11 LEU 19 -1.534 4.306 -9.047 0.0000 0.0000
ATOM 245 HA LEU 19 -1.701 2.326 -8.038 0.0000 0.0000
ATOM 246 HG LEU 19 0.764 4.219 -8.420 0.0000 0.0000
ATOM 247 HB3 LEU 19 0.548 3.052 -6.374 0.0000 0.0000
ATOM 248 HB2 LEU 19 -0.966 3.642 -6.205 0.0000 0.0000
ATOM 249 N ALA 20 1.272 1.030 -8.134 -0.4000 1.5000
ATOM 250 CA ALA 20 2.288 0.578 -9.080 -0.0000 2.0000
ATOM 251 C ALA 20 1.711 -0.366 -10.108 0.5500 1.7000
ATOM 252 O ALA 20 2.008 -0.153 -11.304 -0.5500 1.4000
ATOM 253 CB ALA 20 3.404 -0.154 -8.349 0.0000 2.0000
ATOM 254 H ALA 20 1.327 0.915 -7.121 0.4000 1.0000
ATOM 255 HA ALA 20 2.667 1.387 -9.554 0.0000 0.0000
ATOM 256 HB1 ALA 20 4.154 0.480 -8.162 0.0000 0.0000
ATOM 257 HB3 ALA 20 3.055 -0.519 -7.486 0.0000 0.0000
ATOM 258 HB2 ALA 20 3.739 -0.906 -8.917 0.0000 0.0000
ATOM 259 N ALA 21 0.927 -1.352 -9.655 -0.4000 1.5000
ATOM 260 CA ALA 21 0.339 -2.296 -10.602 -0.0000 2.0000
ATOM 261 C ALA 21 -0.487 -1.589 -11.650 0.5500 1.7000
ATOM 262 O ALA 21 -0.298 -1.926 -12.833 -0.5500 1.4000
ATOM 263 CB ALA 21 -0.567 -3.279 -9.876 0.0000 2.0000
ATOM 264 H ALA 21 0.787 -1.380 -8.644 0.4000 1.0000
ATOM 265 HA ALA 21 1.088 -2.799 -11.059 0.0000 0.0000
ATOM 266 HB1 ALA 21 -0.827 -4.017 -10.499 0.0000 0.0000
ATOM 267 HB3 ALA 21 -0.082 -3.663 -9.090 0.0000 0.0000
ATOM 268 HB2 ALA 21 -1.389 -2.806 -9.560 0.0000 0.0000
ATOM 269 N ALA 22 -1.349 -0.659 -11.219 -0.4000 1.5000
ATOM 270 CA ALA 22 -2.173 0.057 -12.181 -0.0000 2.0000
ATOM 271 C ALA 22 -1.330 0.755 -13.222 0.5500 1.7000
ATOM 272 O ALA 22 -1.671 0.614 -14.414 -0.5500 1.4000
ATOM 273 CB ALA 22 -3.015 1.110 -11.478 0.0000 2.0000
ATOM 274 H ALA 22 -1.369 -0.511 -10.207 0.4000 1.0000
ATOM 275 HA ALA 22 -2.780 -0.607 -12.644 0.0000 0.0000
ATOM 276 HB1 ALA 22 -3.594 1.577 -12.146 0.0000 0.0000
ATOM 277 HB3 ALA 22 -3.591 0.672 -10.788 0.0000 0.0000
ATOM 278 HB2 ALA 22 -2.416 1.777 -11.035 0.0000 0.0000
ATOM 279 N ALA 23 -0.289 1.469 -12.785 -0.4000 1.5000
ATOM 280 CA ALA 23 0.562 2.167 -13.745 -0.0000 2.0000
ATOM 281 C ALA 23 1.139 1.219 -14.768 0.5500 1.7000
ATOM 282 O ALA 23 1.072 1.567 -15.967 -0.5500 1.4000
ATOM 283 CB ALA 23 1.720 2.847 -13.031 0.0000 2.0000
ATOM 284 H ALA 23 -0.151 1.480 -11.772 0.4000 1.0000
ATOM 285 HA ALA 23 0.003 2.863 -14.221 0.0000 0.0000
ATOM 286 HB1 ALA 23 1.467 3.787 -12.802 0.0000 0.0000
ATOM 287 HB3 ALA 23 1.936 2.348 -12.192 0.0000 0.0000
ATOM 288 HB2 ALA 23 2.522 2.856 -13.627 0.0000 0.0000
ATOM 289 N GLY 24 1.680 0.080 -14.302 -0.4000 1.5000
ATOM 290 CA GLY 24 2.253 -0.876 -15.247 -0.0000 2.0000
ATOM 291 C GLY 24 1.241 -1.310 -16.285 0.5500 1.7000
ATOM 292 O GLY 24 1.616 -1.308 -17.477 -0.5500 1.4000
ATOM 293 H GLY 24 1.653 -0.042 -13.291 0.4000 1.0000
ATOM 294 HA2 GLY 24 3.048 -0.453 -15.706 0.0000 0.0000
ATOM 295 HA3 GLY 24 2.585 -1.685 -14.740 0.0000 0.0000
ATOM 296 N GLY 25 0.033 -1.662 -15.834 -0.4000 1.5000
ATOM 297 CA GLY 25 -0.987 -2.091 -16.791 -0.0000 2.0000
ATOM 298 C GLY 25 -1.248 -1.036 -17.846 0.5500 1.7000
ATOM 299 O GLY 25 -1.282 -1.418 -19.034 -0.5500 1.4000
ATOM 300 H GLY 25 -0.102 -1.607 -14.826 0.4000 1.0000
ATOM 301 HA2 GLY 25 -0.684 -2.946 -17.237 0.0000 0.0000
ATOM 302 HA3 GLY 25 -1.844 -2.291 -16.294 0.0000 0.0000
ATOM 303 N GLY 26 -1.412 0.221 -17.409 -0.4000 1.5000
ATOM 304 CA GLY 26 -1.666 1.284 -18.381 -0.0000 2.0000
ATOM 305 C GLY 26 -0.570 1.367 -19.417 0.5500 1.7000
ATOM 306 O GLY 26 -0.920 1.451 -20.612 -0.5500 1.4000
ATOM 307 H GLY 26 -1.347 0.355 -16.402 0.4000 1.0000
ATOM 308 HA2 GLY 26 -2.551 1.110 -18.837 0.0000 0.0000
ATOM 309 HA3 GLY 26 -1.740 2.167 -17.894 0.0000 0.0000
ATOM 310 N GLY 27 0.695 1.344 -18.962 -0.4000 1.5000
ATOM 311 CA GLY 27 1.797 1.421 -19.917 -0.0000 2.0000
ATOM 312 C GLY 27 1.727 0.313 -20.942 0.1000 1.7000
ATOM 313 O GLY 27 1.481 -0.837 -20.516 -0.5500 1.4000
ATOM 314 OXT GLY 27 1.865 0.301 -22.141 -0.5500 1.4000
ATOM 315 H GLY 27 0.801 1.272 -17.952 0.4000 1.0000
ATOM 316 HA2 GLY 27 1.769 2.317 -20.385 0.0000 0.0000
ATOM 317 HA3 GLY 27 2.674 1.365 -19.417 0.0000 0.0000
[-- Attachment #3: Screen Shot 2012-05-15 at 2.54.44 PM.png --]
[-- Type: image/png, Size: 35982 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#11484: 23.4; Scrolling leaves traces of old text behind
2012-05-15 22:02 bug#11484: 23.4; Scrolling leaves traces of old text behind Frank Marcoline
@ 2012-10-21 19:07 ` Jan Djärv
2012-10-21 19:56 ` Eli Zaretskii
0 siblings, 1 reply; 13+ messages in thread
From: Jan Djärv @ 2012-10-21 19:07 UTC (permalink / raw)
To: Frank Marcoline; +Cc: 11484-done
[-- Attachment #1: Type: text/plain, Size: 8448 bytes --]
Hello.
I have fixed this in the trunk, but I'm not satisfied with the solution, but it will have to do for now.
The problem has to do with LCD-smoothing. As you can see in the attached picture
one pixel of the A in the lower right corner extends in to the box for T. As Emacs does not know about these pixels, when we write a Y over the A, the pixel remains.
You can see the same effect when Y is replaced with for example A. The top right part of the Y has an extra pixel in the next character box, that remains.
The current solution is to turn off LCD-smoothing. A better solution would be to draw the whole line every time. Or somehow keep track of adjacent characters that needs to be redrawn. But that may involve the display engine and is a bigger task.
Jan D.
16 maj 2012 kl. 00:02 skrev Frank Marcoline <fvmarcoline@gmail.com>:
> Bug: Scrolling can leave behind traces of old text.
> The traces appear to be cyan outlines of the right hand
> side of characters which previously occupied the same location.
>
> For example, a "Y" will leave behind a small cyan dot from its upper
> right, an "A" will leave behind a small cyan dot from its lower right.
>
> Steps to reproduce:
>
> 1) /Applications/Emacs.app/Contents/MacOS/Emacs -Q
> 2) C-x C-f helix.pqr [Ret]
> 3) Rapidly scroll up and down with two-finger drag gesture
>
> I have attached the file helix.pqr, for which the effect is
> very pronounced, and a screenshot faithfully reproducing
> the effect. Note the small cyan marks on the left of
> many numbers and letters.
>
> This version of emacs came from http://emacsformacosx.com/
>
> In GNU Emacs 23.4.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
> of 2012-01-29 on bob.porkrind.org
> Windowing system distributor `Apple', version 10.3.1138
> configured using `configure '--host=x86_64-apple-darwin'
> '--build=i686-apple-darwin' '--with-ns'
> 'build_alias=i686-apple-darwin' 'host_alias=x86_64-apple-darwin'
> 'CC=gcc -mmacosx-version-min=10.5''
>
> Important settings:
> value of $LC_ALL: nil
> value of $LC_COLLATE: nil
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: en_US.UTF-8
> value of $XMODIFIERS: nil
> locale-coding-system: utf-8-unix
> default enable-multibyte-characters: t
>
> Major mode: Fundamental
>
> Minor modes in effect:
> tooltip-mode: t
> mouse-wheel-mode: t
> menu-bar-mode: t
> file-name-shadow-mode: t
> global-font-lock-mode: t
> font-lock-mode: t
> blink-cursor-mode: t
> auto-encryption-mode: t
> auto-compression-mode: t
> line-number-mode: t
> transient-mark-mode: t
>
> Recent input:
> <wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <triple-wheel-up> <wheel-down> <double-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <triple-wheel-up> <triple-wheel-up> <wheel-down> <double-wheel-down>
> <triple-wheel-down> <wheel-up> <double-wheel-up> <triple-wheel-up>
> <wheel-up> <double-wheel-up> <wheel-down> <double-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <wheel-down>
> <double-wheel-down> <wheel-down> <double-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <triple-wheel-up> <wheel-up> <double-wheel-up> <wheel-down>
> <wheel-down> <double-wheel-down> <wheel-up> <wheel-down>
> <wheel-down> <wheel-up> <double-wheel-up> <wheel-up>
> <wheel-up> <double-wheel-up> <triple-wheel-up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <down> <down> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <down> <down> C-x b <return>
> <wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <wheel-down> <double-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <wheel-up> <double-wheel-up> <triple-wheel-up>
> <triple-wheel-up> <wheel-down> <double-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <wheel-up> <double-wheel-up> <wheel-down>
> <double-wheel-down> <triple-wheel-down> <wheel-down>
> <double-wheel-down> <triple-wheel-down> <wheel-up>
> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <wheel-down> <double-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <triple-wheel-up> <wheel-down> <double-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
> <triple-wheel-down> <triple-wheel-down> <wheel-up>
> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
> <wheel-down> <double-wheel-down> <triple-wheel-down>
> <wheel-up> <double-wheel-up> <triple-wheel-up> <wheel-down>
> <double-wheel-down> <wheel-down> <double-wheel-down>
> M-x b u g <tab> <backspace> <backspace> <backspace>
> <backspace> <backspace> <backspace> <backspace> <backspace>
> <backspace> <backspace> <backspace> <backspace> <backspace>
> <backspace> r e p <tab> o r <tab> <return>
>
> Recent messages:
> Saving file /Users/fvm/.emacs...
> Wrote /Users/fvm/.emacs
> byte-code: Beginning of buffer [8 times]
> byte-code: End of buffer [13 times]
> byte-code: Beginning of buffer [13 times]
> byte-code: End of buffer [26 times]
> byte-code: Beginning of buffer [14 times]
> byte-code: End of buffer [2 times]
> Making completion list...
> byte-code: End of buffer [4 times]
>
> Load-path shadows:
> None found.
>
> Features:
> (shadow sort mail-extr message ecomplete rfc822 mml mml-sec
> password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
> rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
> time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
> hex-util hashcash mail-utils emacsbug help-mode view vc-hg cc-mode
> cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
> regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win
> easymenu tool-bar dnd fontset image fringe lisp-mode register page
> menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
> font-lock syntax facemenu font-core frame cham georgian utf-8-lang
> misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
> greek romanian slovak czech european ethiopic indian cyrillic chinese
> case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
> minibuffer faces cus-face files text-properties overlay md5 base64
> format env code-pages mule custom widget hashtable-print-readable
> backquote make-network-process ns multi-tty emacs)
> <helix.pqr><Screen Shot 2012-05-15 at 2.54.44 PM.png>
[-- Attachment #2.1: Type: text/html, Size: 11219 bytes --]
[-- Attachment #2.2: Skärmavbild 2012-10-21 kl. 21.00.06.png --]
[-- Type: image/png, Size: 9220 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#11484: 23.4; Scrolling leaves traces of old text behind
2012-10-21 19:07 ` Jan Djärv
@ 2012-10-21 19:56 ` Eli Zaretskii
2012-10-22 5:07 ` Jan Djärv
0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2012-10-21 19:56 UTC (permalink / raw)
To: Jan Djärv; +Cc: 11484
> From: Jan Djärv <jan.h.d@swipnet.se>
> Date: Sun, 21 Oct 2012 21:07:11 +0200
> Cc: 11484-done@debbugs.gnu.org
>
> The current solution is to turn off LCD-smoothing. A better
> solution would be to draw the whole line every time.
What do you mean by "redrawing the whole line", and how would that be
different from what was redrawn in the recipe for this bug?
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#11484: 23.4; Scrolling leaves traces of old text behind
2012-10-21 19:56 ` Eli Zaretskii
@ 2012-10-22 5:07 ` Jan Djärv
2012-10-22 5:11 ` Daniel Colascione
2012-10-22 17:29 ` Eli Zaretskii
0 siblings, 2 replies; 13+ messages in thread
From: Jan Djärv @ 2012-10-22 5:07 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 11484
Hello.
21 okt 2012 kl. 21:56 skrev Eli Zaretskii <eliz@gnu.org>:
>> From: Jan Djärv <jan.h.d@swipnet.se>
>> Date: Sun, 21 Oct 2012 21:07:11 +0200
>> Cc: 11484-done@debbugs.gnu.org
>>
>> The current solution is to turn off LCD-smoothing. A better
>> solution would be to draw the whole line every time.
>
> What do you mean by "redrawing the whole line", and how would that be
> different from what was redrawn in the recipe for this bug?
In the file helix.pqr, there are columns of A:s followed by space. When scrolling fast (or sometimes just going to the end of the buffer), the A:s are replaced with Y:s. But the spacees following the A:s are not redrawn. I assume the display engine correctly assumes that from a character view they have not changed and need not be redrawn. But that extra pixel in A:s lower right corner is in the box for the space. Redrawing the whole line in this case would also redraw the space.
That isn't a very good solution now that I think about it, as it would require a redraw of the whole line just to draw the cursor. A more efficient way would be to include the previous unchanged character and the following unchanged character when redrawing a block of changed characters.
So redrawing the cursor for example would involve redrawing three characters.
Jan D.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#11484: 23.4; Scrolling leaves traces of old text behind
2012-10-22 5:07 ` Jan Djärv
@ 2012-10-22 5:11 ` Daniel Colascione
2012-10-22 13:19 ` Stefan Monnier
` (2 more replies)
2012-10-22 17:29 ` Eli Zaretskii
1 sibling, 3 replies; 13+ messages in thread
From: Daniel Colascione @ 2012-10-22 5:11 UTC (permalink / raw)
To: Jan Djärv; +Cc: 11484
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
On 10/21/2012 10:07 PM, Jan Djärv wrote:
> That isn't a very good solution now that I think about it, as it would
> require
a redraw of the whole line just to draw the cursor.
Are displays still slow enough that we have to care about graphics optimization
at this level? Any OS X system is compositing the whole window anyway. My sense
is that we could redraw the whole frame on every update without anyone noticing
a performance difference --- except over remote X11.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#11484: 23.4; Scrolling leaves traces of old text behind
2012-10-22 5:11 ` Daniel Colascione
@ 2012-10-22 13:19 ` Stefan Monnier
2012-10-22 15:06 ` Kenichi Handa
2012-10-22 17:27 ` Achim Gratz
2012-10-22 17:33 ` Eli Zaretskii
2 siblings, 1 reply; 13+ messages in thread
From: Stefan Monnier @ 2012-10-22 13:19 UTC (permalink / raw)
To: Daniel Colascione; +Cc: 11484
>> That isn't a very good solution now that I think about it, as it would
>> require
> A redraw of the whole line just to draw the cursor.
> Are displays still slow enough that we have to care about graphics
> optimization at this level?
Sadly, in my experience, yes: with an E350 fusion processor running X11
and using server-side fonts, the drawing operations are sufficiently
slow that I can see that the frame is drawn top-to-bottom, so yes a full
redraw is very much visible.
IIUC the Xorg guys justify this by saying that these operations "never
happen" nowadays and that speeding them up would have to be at the
detriment of the more common operations.
If someone knows how to get misc-fixed-semicondensed-13 using xft
(i.e. client-side fonts), I'm all ears.
Stefan
PS: BTW, I'm not sure if redrawing one more char on each side would
help, because depending on how the redraw is done, it might just push
the problem one char further.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#11484: 23.4; Scrolling leaves traces of old text behind
2012-10-22 13:19 ` Stefan Monnier
@ 2012-10-22 15:06 ` Kenichi Handa
2012-10-23 1:22 ` Stefan Monnier
0 siblings, 1 reply; 13+ messages in thread
From: Kenichi Handa @ 2012-10-22 15:06 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 11484
In article <jwvzk3ebqs3.fsf-monnier+emacs@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca> writes:
> If someone knows how to get misc-fixed-semicondensed-13 using xft
> (i.e. client-side fonts), I'm all ears.
At first, enable bitmap font in fontconfig (on Ubuntu, this
is done by deleting /etc/fonts/conf.d/70-no-bitmaps.conf).
Then copy PCF files of misc-fixed-semicondensed-13 fonts to
~/.fonts.
Now Emacs should be able to use those PCF fonts via XFT.
---
Kenichi Handa
handa@gnu.org
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#11484: 23.4; Scrolling leaves traces of old text behind
2012-10-22 15:06 ` Kenichi Handa
@ 2012-10-23 1:22 ` Stefan Monnier
2012-10-23 4:50 ` Kenichi Handa
0 siblings, 1 reply; 13+ messages in thread
From: Stefan Monnier @ 2012-10-23 1:22 UTC (permalink / raw)
To: Kenichi Handa; +Cc: 11484
>> If someone knows how to get misc-fixed-semicondensed-13 using xft
>> (i.e. client-side fonts), I'm all ears.
> At first, enable bitmap font in fontconfig (on Ubuntu, this
> is done by deleting /etc/fonts/conf.d/70-no-bitmaps.conf).
Indeed, that worked, thanks (tho the performance wasn't noticeably
better).
> Then copy PCF files of misc-fixed-semicondensed-13 fonts to ~/.fonts.
I didn't need to do that for the font I use (running Debian, here).
> Now Emacs should be able to use those PCF fonts via XFT.
It actually crashed with an assertion violation because a font `spec'
was nil where a vector was expected. I used the quick-fix below which
appeared to work, but without knowing what it implies. Can you take
a look and help me figure out what the right fix should be?
Stefan
=== modified file 'src/frame.c'
--- src/frame.c 2012-10-20 21:30:51 +0000
+++ src/frame.c 2012-10-23 01:11:11 +0000
@@ -3242,7 +3242,7 @@
Lisp_Object ascii_font = fontset_ascii (fontset);
Lisp_Object spec = font_spec_from_name (ascii_font);
- if (! font_match_p (spec, font_object))
+ if (NILP (spec) || ! font_match_p (spec, font_object))
fontset = -1;
}
}
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#11484: 23.4; Scrolling leaves traces of old text behind
2012-10-23 1:22 ` Stefan Monnier
@ 2012-10-23 4:50 ` Kenichi Handa
2012-10-23 12:59 ` Stefan Monnier
0 siblings, 1 reply; 13+ messages in thread
From: Kenichi Handa @ 2012-10-23 4:50 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 11484
In article <jwva9ve9e93.fsf-monnier+emacs@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca> writes:
> > Now Emacs should be able to use those PCF fonts via XFT.
> It actually crashed with an assertion violation because a font `spec'
> was nil where a vector was expected.
It means font_spec_from_name failed, which means
font_parse_name failed. But, I didn't get that crach.
Please find what font name is given to font_parse_name, and
why it fails with that name.
> I used the quick-fix below which
> appeared to work, but without knowing what it implies. Can you take
> a look and help me figure out what the right fix should be?
I think the better way is to do something like this:
if (NILP (spec))
signal_error ("Invalid font name", ascii_font);
---
Kenichi Handa
handa@gnu.org
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#11484: 23.4; Scrolling leaves traces of old text behind
2012-10-23 4:50 ` Kenichi Handa
@ 2012-10-23 12:59 ` Stefan Monnier
0 siblings, 0 replies; 13+ messages in thread
From: Stefan Monnier @ 2012-10-23 12:59 UTC (permalink / raw)
To: Kenichi Handa; +Cc: 11484
> I think the better way is to do something like this:
> if (NILP (spec))
> signal_error ("Invalid font name", ascii_font);
OK, that makes sense, it gives me:
Debugger entered--Lisp error: (error "Invalid font name" "-Misc-Fixed-normal-normal-semi-condensed-*-13-*-*-*-c-60-iso10646-1")
but I have no idea where this "semi-condensed" comes from. The full
backtrace shows that it was generated "internally". My guess is that
xft returns a font info where the width says "semi-condensed", so "turn
it into an XFD and parse it back" ends up failing.
Stefan
Debugger entered--Lisp error: (error "Invalid font name" "-Misc-Fixed-normal-normal-semi-condensed-*-13-*-*-*-c-60-iso10646-1")
internal-set-lisp-face-attribute(default :width normal #<frame emacs@pastel 0x8a52c10>)
set-face-attribute(default #<frame emacs@pastel 0x8a52c10> :width normal :weight normal :slant normal :font "-misc-fixed-*-r-semicondensed-*-13-*-*-*-*-*-*-*")
font-setting-change-default-font(":0.0" nil)
dynamic-setting-handle-config-changed-event((config-changed-event font-render ":0.0"))
call-interactively(dynamic-setting-handle-config-changed-event nil [(config-changed-event font-render ":0.0")])
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#11484: 23.4; Scrolling leaves traces of old text behind
2012-10-22 5:11 ` Daniel Colascione
2012-10-22 13:19 ` Stefan Monnier
@ 2012-10-22 17:27 ` Achim Gratz
2012-10-22 17:33 ` Eli Zaretskii
2 siblings, 0 replies; 13+ messages in thread
From: Achim Gratz @ 2012-10-22 17:27 UTC (permalink / raw)
To: 11484
Daniel Colascione writes:
> Are displays still slow enough that we have to care about graphics optimization
> at this level?
Yes, at least for certain combinations of X server and graphics card
driver. Also, the combination of Emacs and Gtk+ seems to trigger a
codepath in the display driver that is especially slow, even more so if
scroll-bars are switched on. On my RV350-based AGP card this makes
Emacs' display updates about 80x slower than usual and I can assure you
that this is very noticeable (and annoying).
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#11484: 23.4; Scrolling leaves traces of old text behind
2012-10-22 5:11 ` Daniel Colascione
2012-10-22 13:19 ` Stefan Monnier
2012-10-22 17:27 ` Achim Gratz
@ 2012-10-22 17:33 ` Eli Zaretskii
2 siblings, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2012-10-22 17:33 UTC (permalink / raw)
To: Daniel Colascione; +Cc: 11484
> Date: Sun, 21 Oct 2012 22:11:36 -0700
> From: Daniel Colascione <dancol@dancol.org>
> CC: Eli Zaretskii <eliz@gnu.org>, 11484@debbugs.gnu.org
>
> Are displays still slow enough that we have to care about graphics optimization
> at this level?
As Stefan points out, yes, even on X11.
There's also another annoying result of frequent full redrawing:
flickering. I suspect that disabling this optimization will have the
effect that leaning on the left or right arrow key would cause the
line with the cursor flicker due to constant redrawing. Similar
problems will show up with the mode line, which is updated quite
frequently.
^ permalink raw reply [flat|nested] 13+ messages in thread
* bug#11484: 23.4; Scrolling leaves traces of old text behind
2012-10-22 5:07 ` Jan Djärv
2012-10-22 5:11 ` Daniel Colascione
@ 2012-10-22 17:29 ` Eli Zaretskii
1 sibling, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2012-10-22 17:29 UTC (permalink / raw)
To: Jan Djärv; +Cc: 11484
> From: Jan Djärv <jan.h.d@swipnet.se>
> Date: Mon, 22 Oct 2012 07:07:33 +0200
> Cc: 11484@debbugs.gnu.org
>
> In the file helix.pqr, there are columns of A:s followed by space. When scrolling fast (or sometimes just going to the end of the buffer), the A:s are replaced with Y:s. But the spacees following the A:s are not redrawn. I assume the display engine correctly assumes that from a character view they have not changed and need not be redrawn. But that extra pixel in A:s lower right corner is in the box for the space. Redrawing the whole line in this case would also redraw the space.
>
> That isn't a very good solution now that I think about it, as it would require a redraw of the whole line just to draw the cursor. A more efficient way would be to include the previous unchanged character and the following unchanged character when redrawing a block of changed characters.
You may wish taking a look at dispnew.c:update_text_area. This
function is called for every glyph row (= screen line) we may need to
redraw, and it tries to minimize the parts of the line that are
actually redrawn. I would first try disabling this optimization,
forcing the function to always redraw each line, as it normally does
under the following conditions:
/* If rows are at different X or Y, or rows have different height,
or the current row is marked invalid, write the entire line. */
if (!current_row->enabled_p
|| desired_row->y != current_row->y
|| desired_row->ascent != current_row->ascent
|| desired_row->phys_ascent != current_row->phys_ascent
|| desired_row->phys_height != current_row->phys_height
|| desired_row->visible_height != current_row->visible_height
|| current_row->overlapped_p
/* This next line is necessary for correctly redrawing
mouse-face areas after scrolling and other operations.
However, it causes excessive flickering when mouse is moved
across the mode line. Luckily, turning it off for the mode
line doesn't seem to hurt anything. -- cyd.
But it is still needed for the header line. -- kfs. */
|| (current_row->mouse_face_p
&& !(current_row->mode_line_p && vpos > 0))
|| current_row->x != desired_row->x)
{
rif->cursor_to (vpos, 0, desired_row->y, desired_row->x);
if (desired_row->used[TEXT_AREA])
rif->write_glyphs (desired_row->glyphs[TEXT_AREA],
desired_row->used[TEXT_AREA]);
If this indeed shows you are on the right track, try changing the
'else' branch of this 'if' so that it redraws a larger part of the
line, as needed in this case. There's already some logic there
towards this end, which has to do with glyph overlaps, so maybe just a
small change to that will fix this case.
Or maybe NS needs some change in xdisp.c:x_get_glyph_overhangs, which
is what update_text_area calls to determine whether a glyph overlaps
its neighbor.
HTH
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2012-10-23 12:59 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-15 22:02 bug#11484: 23.4; Scrolling leaves traces of old text behind Frank Marcoline
2012-10-21 19:07 ` Jan Djärv
2012-10-21 19:56 ` Eli Zaretskii
2012-10-22 5:07 ` Jan Djärv
2012-10-22 5:11 ` Daniel Colascione
2012-10-22 13:19 ` Stefan Monnier
2012-10-22 15:06 ` Kenichi Handa
2012-10-23 1:22 ` Stefan Monnier
2012-10-23 4:50 ` Kenichi Handa
2012-10-23 12:59 ` Stefan Monnier
2012-10-22 17:27 ` Achim Gratz
2012-10-22 17:33 ` Eli Zaretskii
2012-10-22 17:29 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).