GNU bug report logs - #6592
24.0.50; Fringe at scroll bar side is wider (sometimes).

Previous Next

Package: emacs;

Reported by: "Jan D." <jhdgoo <at> gmail.com>

Date: Fri, 9 Jul 2010 16:03:02 UTC

Severity: normal

Found in version 24.0.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 6592 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: 6592 <at> debbugs.gnu.org, Stephen Berman <stephen.berman <at> gmx.net>
Subject: Re: bug#6592: 24.0.50; Fringe at scroll bar side is wider (sometimes).
Date: Sat, 10 Jul 2010 11:03:08 +0200
[Message part 1 (text/plain, inline)]

YAMAMOTO Mitsuharu skrev 2010-07-10 02.42:
>>>>>> On Fri, 09 Jul 2010 20:49:31 +0200, Stephen Berman<stephen.berman <at> gmx.net>  said:
>
>> On Fri, 09 Jul 2010 13:49:28 +0200 "Jan D."<jhdgoo <at> gmail.com>
>> wrote:
>>> Notice that the fringe close to scroll bar is much wider than the
>>> other fringe (see screenshot).  This appears to depend on the font
>>> size, as for smaller fonts, the effect is not that noticable.  For
>>> example, with Gtk+ and lucid, monospace-19 shows this rather well,
>>> but for monospace-20, there is little difference.  But for
>>> monospace-20 the fringes are much smaller than for monospace-20.
>>> Why?
>
>> Hasn't it been like that since this change?
>
>> 2007-07-27 YAMAMOTO Mitsuharu<mituharu <at> math.s.chiba-u.ac.jp>
>
> Exactly.  For more info, see the thread starting from
> http://lists.gnu.org/archive/html/emacs-devel/2007-03/msg00295.html
>

There is something off with the calculations for the frame size then.  Check 
attached screen shots.  The right fringe is not visible.

The frame size calculation uses f->scroll_bar_actual_width which in this case 
is 16.  But the finge padding must be 14 pixels (font width is 15, so I assume 
padding to 30 is done).

In what frame parameter or struct frame member is this padding seen if not in 
scroll_bar_actual_width?

Please don't suggest using columns * font width, it would just make the 
restriction of integral font width harder to remove.

	Jan D.


[left2.png (image/png, attachment)]
[right2.png (image/png, attachment)]

This bug report was last modified 14 years and 318 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.