GNU bug report logs - #18990
[gtk] Setting narrow scrollbar width doesn't have effect

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Fri, 7 Nov 2014 23:01:02 UTC

Severity: minor

Merged with 10648

Found in versions 24.0.92, 25.0.50, 29.0.50

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, "Jan D." <jan.h.d <at> swipnet.se>,
 18990 <at> debbugs.gnu.org
Subject: Re: bug#18990: 25.0.50; Scroll bar display problems
Date: Sun, 09 Nov 2014 12:56:14 +0100
> As I mentioned (quoted below), I was already convinced by seeing the
> horizontal scroll bar partially cover the mode line.  But by using a
> separate minibuffer frame (I suppose that's what you mean by removing
> the echo area),

That's what I meant, indeed.

> I do indeed see the analog with the horizontal scroll
> bar of what I see with the narrowed vertical scroll bar on the right: it
> is at the very bottom of the frame and cut off.  Quite convincing,
> indeed.  Thanks for the suggestion.
[...]
> I'm not sure I understand the distinction you're making.  By "slider" do
> you mean what is sometimes called the "thumb" of the scroll bar?

IIRC GTK uses the term "slider" for "thumb".

> (According to Wikipedia, a slider is a different kind of widget from a
> scroll bar, but I didn't try checking other sources.)  If so, are you
> saying that Gtk only controls the width (or height) of the slider
> (thumb), while Emacs controls the size of its container, which I guess
> is the scroll bar taken as a whole?

I think so.  Depending on the toolkit Emacs can control size, background
and borders of the container.  The GTK slider is controlled by the theme
though.  Jan will correct me.

>> Another problem is that currently we prescribe a minimum width for
>> scroll bars which has parts of the scroll bar background change
>> appearance when the Gtk slider is narrower.
>
> Not sure I understand; can you elaborate or tell me how I can see what
> you mean?

I once posted a screenshot here

http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg02228.html

It might be related to the fact that we prescribe a minimum width of the
scroll bar in update_theme_scrollbar_width but I've not yet found a
reliable fix yet.  See also bug#17982.

martin




This bug report was last modified 3 years and 291 days ago.

Previous Next


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