GNU bug report logs - #32002
24.4; Scroll bar start, end not correct

Previous Next

Package: emacs;

Reported by: Andrew Kurn <kurn <at> sfu.ca>

Date: Fri, 29 Jun 2018 07:37:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 24.4

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Mike Kupfer <mkupfer <at> alum.berkeley.edu>
To: martin rudalics <rudalics <at> gmx.at>
Cc: npostavs <at> gmail.com, Eli Zaretskii <eliz <at> gnu.org>, 32002 <at> debbugs.gnu.org,
 rpluim <at> gmail.com, kurn <at> sfu.ca
Subject: Re: bug#32002: 24.4; Scroll bar start, end not correct
Date: Sun, 08 Jul 2018 18:42:55 -0700
[Message part 1 (text/plain, inline)]
martin rudalics wrote:

> We first have to make sure that you indeed click on the stepper
> buttons.  For this purpose please do the following with Emacs -Q:
> Evaluate
> 
> M-: (setq window-min-height 1) RET
> C-x 2
> M-: (window-resize nil (- 2 (window-height))) RET
> 
> This should get you a one-line window on top of the frame.  Here this
> window has just two small stepper buttons and no slider.  Hopefully,
> yours is the same.

Unfortunately, not.  I initially get whitespace where the scrollbar
should be.  If I change the theme a few times, I eventually get stepper
buttons, but the slider is included, and it all extends down into the
second window (see attached).  (This is with the emacs-26 branch, built
July 4.)

> Now please tell us what clicking or pressing such a button produces.
> If running this under GDB reveals that in xg_scroll_callback 'scroll'
> equals GTK_SCROLL_JUMP, then please tell us the values of 'whole' and
> 'value' in that case.

I've attached 2 logs from the gdb session.  The first was after using
your original instructions.  The second was from using (- 3 ...) instead
of (- 2 ...).  (In the second case the scrollbar was visible, but again
it extended into the lower window.)

Let me know if I messed something up or there is additional data you
need.

thanks,
mike

[Screenshot at 2018-07-08 18-24-26.png (image/png, attachment)]
[gdb.log (text/plain, attachment)]
[gdb.log2 (text/plain, attachment)]

This bug report was last modified 6 years and 299 days ago.

Previous Next


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