GNU bug report logs - #20182
24.4.91; [GTK3] Vertical scroll bar is "indented" from right edge of frame

Previous Next

Package: emacs;

Reported by: nljlistbox2 <at> gmail.com (N. Jackson)

Date: Mon, 23 Mar 2015 19:00:04 UTC

Severity: minor

Found in version 24.4.91

Fixed in version 24.5

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Jan D." <jan.h.d <at> swipnet.se>
To: "N. Jackson" <nljlistbox2 <at> gmail.com>
Cc: martin rudalics <rudalics <at> gmx.at>, 20182 <at> debbugs.gnu.org
Subject: bug#20182: 24.4.91; [GTK3] Vertical scroll bar is "indented" from right edge of frame
Date: Wed, 25 Mar 2015 07:05:05 +0100
Hi.

> 25 mar 2015 kl. 00:20 skrev N. Jackson <nljlistbox2 <at> gmail.com>:
> 
> At 18:38 -0300 on Tuesday 2015-03-24, Jan D. wrote:
> 
>> You have added an assert that is dependent on how non-Emacs code
>> behaves. That is wrong in all possible ways.
> 
> Sorry for the confusion. I am adding nothing. I was just reporting the
> code I tested with. [When I'm debugging I like things to fail
> immediately if the code is making an invalid assumption, rather than
> waiting for confusing behaviour later on. Hence the assert.]
> 
>> If you are adding asserts, you should be sure that all Gtk+ 2 versions
>> behaves like this, which includes all patched versions that are used
>> by distributions.
> 
> I was working from your earlier statement, when you apparently said that
> a slider-width of 16 is always returned by gtk_widget_style_get() when
> the GDK version is not GDK3. Clearly that was a misunderstanding of what
> you wrote. At least we have now clarified that we are uncertain about
> this.

The 16 is returned by default.  A theme may have different values, but the width is rendered as 16 anyway, basically disregarding theme values.  Gtk2 themes generally have 16 width scrollbars, but there might be exceptions.
Sorry if that was unclear.

	Jan D.





This bug report was last modified 9 years and 321 days ago.

Previous Next


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