all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#17982: 24.3.92; extra pixel line at scroll bar's right
@ 2014-07-10  1:19 yynyygy
  2014-07-10  7:45 ` martin rudalics
  2015-07-06 11:05 ` martin rudalics
  0 siblings, 2 replies; 5+ messages in thread
From: yynyygy @ 2014-07-10  1:19 UTC (permalink / raw)
  To: 17982


When I enable the toolkit (in this case, gtk3) scroll bar, there is an
extra pixel line at scroll bar's right. With dark backgrounds, this
problem is more obvious. I've uploaded an image here,
http://i.imgur.com/vfThig4.jpg, as you can see, the scroll bar's
backgound is bright, and there is an extra dark line at it's right. This
line is absolutely of no use and in my opinion, it's very ugly.



In GNU Emacs 24.3.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
 of 2014-07-10 on gentoo
Windowing system distributor `The X.Org Foundation', version 11.0.11500000
System Description:	NAME=Gentoo

Important settings:
  value of $LC_COLLATE: C
  value of $LC_CTYPE: zh_CN.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=fcitx
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  delete-selection-mode: t
  show-paren-mode: t
  electric-pair-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x l o a d C-g M-x s c <return> M-x l o a d <return> 
<tab> t a n <tab> - d a <tab> <return> M-x d i s a 
<tab> <return> <tab> <return> C-x 2 C-x 1 M-x C-s <return> 
t a n <tab> - d a r <tab> <return> M-x m e <backspace> 
<backspace> e m a c s - r e <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> b u g <backspace> <backspace> <backspace> 
r e p o r t <return> E x t r a SPC p i c e <backspace> 
<backspace> x e l SPC l i n e SPC a t SPC s c r o l 
l SPC b a r ' s SPC r i g h t C-x 3 C-g C-x 3 C-x 1 
M-x <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit
Scroll-Bar mode enabled
Making completion list... [2 times]
byte-code: Attempt to split minibuffer window
Quit [2 times]

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils
tango-dark-theme help-mode easymenu smex go-mode cl-macs edmacro kmacro
derived url url-proxy url-privacy url-expand url-methods url-history
url-cookie url-domsuf url-util mailcap find-file ffap thingatpt
url-parse auth-source eieio byte-opt bytecomp byte-compile cconv
eieio-core gnus-util mm-util help-fns mail-prsvr password-cache url-vars
etags ring cl gv cl-loaddefs cl-lib ido delsel paren elec-pair
markdown-mode-autoloads smex-autoloads package time-date china-util
tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 147734 11720)
 (symbols 48 23293 0)
 (miscs 40 47 130)
 (strings 32 30410 11502)
 (string-bytes 1 772514)
 (vectors 16 16297)
 (vector-slots 8 505176 3607)
 (floats 8 84 261)
 (intervals 56 221 0)
 (buffers 960 12)
 (heap 1024 25390 1139))





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#17982: 24.3.92; extra pixel line at scroll bar's right
  2014-07-10  1:19 bug#17982: 24.3.92; extra pixel line at scroll bar's right yynyygy
@ 2014-07-10  7:45 ` martin rudalics
  2014-07-10 13:17   ` Fangwen Yu
  2015-07-06 11:05 ` martin rudalics
  1 sibling, 1 reply; 5+ messages in thread
From: martin rudalics @ 2014-07-10  7:45 UTC (permalink / raw)
  To: yynyygy, 17982

 > When I enable the toolkit (in this case, gtk3) scroll bar, there is an
 > extra pixel line at scroll bar's right. With dark backgrounds, this
 > problem is more obvious. I've uploaded an image here,
 > http://i.imgur.com/vfThig4.jpg, as you can see, the scroll bar's
 > backgound is bright, and there is an extra dark line at it's right. This
 > line is absolutely of no use and in my opinion, it's very ugly.
 >
 >
 >
 > In GNU Emacs 24.3.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
 >   of 2014-07-10 on gentoo
 > Windowing system distributor `The X.Org Foundation', version 11.0.11500000
 > System Description:	NAME=Gentoo

This might be related to the rounding in update_theme_scrollbar_width of
gtkutil.c.  Can you try to remove the line

   if (w < 16) w = 16;

there and see whether the problem persists?  Alternatively, you could
try to increase the slider-width of your Gtk scrollbars

martin





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#17982: 24.3.92; extra pixel line at scroll bar's right
  2014-07-10  7:45 ` martin rudalics
@ 2014-07-10 13:17   ` Fangwen Yu
  2014-07-10 14:04     ` martin rudalics
  0 siblings, 1 reply; 5+ messages in thread
From: Fangwen Yu @ 2014-07-10 13:17 UTC (permalink / raw)
  To: martin rudalics; +Cc: 17982

[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]

Just comment out the line and problem solved, thanks.


On Thu, Jul 10, 2014 at 3:45 PM, martin rudalics <rudalics@gmx.at> wrote:

> > When I enable the toolkit (in this case, gtk3) scroll bar, there is an
> > extra pixel line at scroll bar's right. With dark backgrounds, this
> > problem is more obvious. I've uploaded an image here,
> > http://i.imgur.com/vfThig4.jpg, as you can see, the scroll bar's
> > backgound is bright, and there is an extra dark line at it's right. This
> > line is absolutely of no use and in my opinion, it's very ugly.
> >
> >
> >
> > In GNU Emacs 24.3.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
> >   of 2014-07-10 on gentoo
> > Windowing system distributor `The X.Org Foundation', version
> 11.0.11500000
> > System Description:   NAME=Gentoo
>
> This might be related to the rounding in update_theme_scrollbar_width of
> gtkutil.c.  Can you try to remove the line
>
>   if (w < 16) w = 16;
>
> there and see whether the problem persists?  Alternatively, you could
> try to increase the slider-width of your Gtk scrollbars
>
> martin
>

[-- Attachment #2: Type: text/html, Size: 1639 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#17982: 24.3.92; extra pixel line at scroll bar's right
  2014-07-10 13:17   ` Fangwen Yu
@ 2014-07-10 14:04     ` martin rudalics
  0 siblings, 0 replies; 5+ messages in thread
From: martin rudalics @ 2014-07-10 14:04 UTC (permalink / raw)
  To: Fangwen Yu; +Cc: 17982

 > Just comment out the line and problem solved, thanks.

I forgot: You should be also able to set the scroll-bar-width parameter
of default-frame-alist to the slider-width value used by Gtk+.  This
seems to work here (just that sometimes not the entire background of the
scroll bar is cleared).  And obviously you have to avoid that the scroll
bar width is ever changed during a session - Gtk+ cannot handle that.

martin





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#17982: 24.3.92; extra pixel line at scroll bar's right
  2014-07-10  1:19 bug#17982: 24.3.92; extra pixel line at scroll bar's right yynyygy
  2014-07-10  7:45 ` martin rudalics
@ 2015-07-06 11:05 ` martin rudalics
  1 sibling, 0 replies; 5+ messages in thread
From: martin rudalics @ 2015-07-06 11:05 UTC (permalink / raw)
  To: yynyygy, 17982-done

Version: 24.5

> When I enable the toolkit (in this case, gtk3) scroll bar, there is an
> extra pixel line at scroll bar's right. With dark backgrounds, this
> problem is more obvious. I've uploaded an image here,
> http://i.imgur.com/vfThig4.jpg, as you can see, the scroll bar's
> backgound is bright, and there is an extra dark line at it's right. This
> line is absolutely of no use and in my opinion, it's very ugly.
>
> In GNU Emacs 24.3.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
>   of 2014-07-10 on gentoo
> Windowing system distributor `The X.Org Foundation', version 11.0.11500000
> System Description:	NAME=Gentoo

This should have been fixed with this commit

2015-03-29  Martin Rudalics  <rudalics@gmx.at>

	* gtkutil.c (update_theme_scrollbar_width): Don't round up
	scroll bar width with GTK3 (Bug#20182).

Closing this bug.

Thanks, martin





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-06 11:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-10  1:19 bug#17982: 24.3.92; extra pixel line at scroll bar's right yynyygy
2014-07-10  7:45 ` martin rudalics
2014-07-10 13:17   ` Fangwen Yu
2014-07-10 14:04     ` martin rudalics
2015-07-06 11:05 ` martin rudalics

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.