all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 18990@debbugs.gnu.org
Subject: bug#18990: 25.0.50; Scroll bar display problems
Date: Sat, 08 Nov 2014 18:00:43 +0100	[thread overview]
Message-ID: <545E4C3B.7010605@gmx.at> (raw)
In-Reply-To: <87d28xznjs.fsf@rosalinde.fritz.box>

 > That possibility didn't occur to me.  Is there some command I can call,
 > or some other way to convince myself that this is what is happening (not
 > that I don't believe you, I'd just like to understand it).

I suppose the window manager simply crops everything that doesn't fit
within its external borders.  You should be able to convince yourself
for a single window frame by removing modeline and echo area and
decreasing the height of the horizontal scroll bar.

 > And why does
 > it happen on the right but not on the left (nor on the right side of a
 > non-right window)?

It doesn't happen on the left or for non-right windows because in this
case the (default sized) scroll bar gets drawn into Emacs' client area
and the window manager assumes that Emacs knows how to deal with it.

 > I meant Emacs can make it thinner, since it didn't occur to me that the
 > appearance of the right scroll bar could be due to the WM.

We must discriminate: Emacs reserves the area as you specify it.  Gtk
draws its slider into that area alas with a width determined by the
theme or a resource file.

 > Indeed: with (modify-all-frames-parameters '((scroll-bar-width . 32)))
 > the scroll bar

... more precisely, the slider ...

 > still has the default width but there are nearly equally
 > wide spaces on both sides of it (between the scroll and the fringe to
 > the left and between the scroll bar and the frame border to the right).
 > Ok, this convinces me that Emacs is not modifying the width.

... the width of the slider.

 > As I mentioned, I can't simply build both the Lucid and the Gtk builds
 > on my system, apparently due to incompatible libpng requirements.

Maybe Jan has an idea.

 > Anyway, it seems that the appropriate fix for this bug it to make
 > modifying the scroll-bar-width and scroll-bar-height frame parameters
 > noops in Gtk builds.

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.

martin





  reply	other threads:[~2014-11-08 17:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07 23:00 bug#18990: 25.0.50; Scroll bar display problems Stephen Berman
2014-11-08  7:54 ` Eli Zaretskii
2014-11-08  8:57   ` Jan D.
2014-11-08 14:26     ` Stephen Berman
2014-11-08 15:14       ` martin rudalics
2014-11-08 16:04         ` Stephen Berman
2014-11-08 17:00           ` martin rudalics [this message]
2014-11-08 17:21             ` Jan D.
2014-11-08 21:12               ` Stephen Berman
2014-11-08 21:12             ` Stephen Berman
2014-11-09 11:56               ` martin rudalics
2014-11-09 12:07                 ` Jan D.
2014-11-08  8:54 ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=545E4C3B.7010605@gmx.at \
    --to=rudalics@gmx.at \
    --cc=18990@debbugs.gnu.org \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.