GNU bug report logs -
#13011
24.2; Text flickering moving cursor with box around text enabled
Previous Next
Reported by: mario giovinazzo <mario.giovinazzo <at> virgilio.it>
Date: Tue, 27 Nov 2012 16:34:01 UTC
Severity: minor
Tags: fixed
Merged with 13130,
17612
Found in versions 24.2, 24.2.90, 24.3
Fixed in version 28.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: "Drew Adams" <drew.adams <at> oracle.com>
> Cc: <mario.giovinazzo <at> virgilio.it>, <13011 <at> debbugs.gnu.org>
> Date: Mon, 3 Dec 2012 08:44:39 -0800
>
> > So does anyone object to lifting this limitation, even though it might
> > degrade the quality of displaying the first and the last characters in
> > the run of characters that have the box face?
>
> It's not obvious to me what that means for users. Why don't you post before and
> after images so we can judge?
The examples I have don't show any significant effect. But I can
explain how you can experiment and see yourself.
Evaluate this:
(custom-set-variables '(global-hl-line-mode t))
(custom-set-faces '(hl-line ((t (:box (:line-width -1 :color "gray50"))))))
Then visit any files you like, and move cursor vertically. You will
see that the text of the current line moves 1 pixel to the right when
you move cursor into that line. This 1-pixel move is to leave enough
space for the 1-pixel border of the box on the left side of the line,
so that the first character is displayed with all its pixels visible.
The change that is being requested here is to prevent that 1-pixel
shift, which means the box border will be drawn ON the left-most
character, obscuring some of its pixels on the left.
For a more prominent effect, replace -1 above with -4.
> And what is the tradeoff for this "degrading"? What are users gaining by this
> sacrifice?
The gain is that, with the above settings in effect, the text of a
line will not shift to the left when cursor moves into that line.
This bug report was last modified 5 years and 107 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.