GNU bug report logs - #14222
A problem with computing fringe widths

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Wed, 17 Apr 2013 15:27:02 UTC

Severity: normal

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14222 in the body.
You can then email your comments to 14222 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#14222; Package emacs. (Wed, 17 Apr 2013 15:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to martin rudalics <rudalics <at> gmx.at>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 17 Apr 2013 15:27:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: A problem with computing fringe widths
Date: Wed, 17 Apr 2013 17:21:16 +0200
When computing fringe widths in compute_fringe_widths we do not resize
the frame.  This can have consequences as the following simple form to
be evaluated with emacs -Q shows:

(progn
  (set-frame-parameter (selected-frame) 'scroll-bar-width 6)
  (sit-for 1)
  (set-frame-parameter (selected-frame) 'left-fringe 27)
  (sit-for 1)
  (set-frame-parameter (selected-frame) 'scroll-bar-width 6)
  (sit-for 1))

Here, the resulting frame has no scrollbars (tested with Emacs 24.3 on
Windows XP).  The bug can hit much more often than in the contrived
scenario given above.  It usually goes unnoticed because people either
do not change fringe sizes at all or change only the fringe sizes of
individual windows or invoke x_set_window_size anyway.

I'm not sure whether we can safely call x_set_window_size in
compute_fringe_widths.  Obviously, the problem should go away if we
removed fringes from our calculations of frame widths (on graphic
systems).

martin




Reply sent to martin rudalics <rudalics <at> gmx.at>:
You have taken responsibility. (Fri, 29 Aug 2014 17:11:01 GMT) Full text and rfc822 format available.

Notification sent to martin rudalics <rudalics <at> gmx.at>:
bug acknowledged by developer. (Fri, 29 Aug 2014 17:11:03 GMT) Full text and rfc822 format available.

Message #10 received at 14222-done <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: 14222-done <at> debbugs.gnu.org
Subject: Re: bug#14222: A problem with computing fringe widths
Date: Fri, 29 Aug 2014 19:10:11 +0200
Fixed with current trunk.  Bug closed.

martin







bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 27 Sep 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 347 days ago.

Previous Next


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