GNU bug report logs -
#16856
24.3.50; Cursor leaves garbage in fringe (and a request: width of fringes + scroll bar should be full characters)
Previous Next
Reported by: Anders Lindgren <andlind <at> gmail.com>
Date: Sun, 23 Feb 2014 21:41:02 UTC
Severity: normal
Tags: unreproducible
Found in version 24.3.50
Done: Anders Lindgren <andlind <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
I don’t think that bea0f95 (May 21, nsterm.m) fully fixed this problem. I’ve had several “appearances” of the ominous garbage in the right fringe yesterday.
This was after applying your patch (and removing my workaround).
The workaround is shown below, but at the time it only worked with cursor-type (bar . 2), not (bar . 3). I haven’t checked with your change.
diff --git a/src/xdisp.c b/src/xdisp.c
index b43ce61..389fea7 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2018,6 +2018,13 @@ get_glyph_string_clip_rects (struct glyph_string *s, NativeRectangle *rects, int
/* This is a text line that may be partially visible. */
r.x = window_box_left (s->w, s->area);
r.width = window_box_width (s->w, s->area);
+
+ /* Aquamacs workaround - Because the cursor is drawn without limiting focus to the
+ window box, but it is removed by writing glyph and nothing into the right margin,
+ while focus is applied to the window box, parts of the cursor may remain visible.
+ This is a stop-gap measure that fails if the cursor is (bar . 3) or wider. */
+ r.width += 1;
+
r.height = s->row->visible_height;
}
[Message part 2 (text/html, inline)]
[Screen Shot 2016-07-16 at 6.35.30 PM.png (image/png, inline)]
This bug report was last modified 7 years and 193 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.