unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Stephen Berman <stephen.berman@gmx.net>, 27047@debbugs.gnu.org
Subject: bug#27047: 26.0.50; Scroll bar menu UI glitches [patch]
Date: Wed, 24 May 2017 08:15:11 +0200	[thread overview]
Message-ID: <592524EF.2040805@gmx.at> (raw)
In-Reply-To: <87d1azffik.fsf@rosalinde>

 > The Options->Show/Hide->Scroll-bar menu functions correctly -- when you
 > press any of the five radio buttons, the result is what it should be --
 > but the UI is broken.  With -Q the vertical scroll bar is on the right,
 > there is no horizontal scroll bar and the menu shows the radio button
 > "None-horizontal" [sic] pressed.  If you press any of the other buttons
 > in that menu, the scroll bars change accordingly, but the menu continues
 > to show the same "None-horizontal" button pressed.  The attached patch
 > fixes this UI glitch.

Thanks.

 > In addition, I find the current scroll bar menu
 > somewhat incoherent and the patch offers an improvement (IMO): the radio
 > buttons are confined to the vertical scroll bar, and the two buttons for
 > the horizontal scroll bar are replaced by a single check box toggle, and
 > a separator is added to visually emphasize that two UI components are
 > involved.

I once planned to implement horizontal scroll bars on the top of a frame
too but lack of knowledge of the internals of the display engine impeded
me to do so properly (I failed to detect all uses of "0" indicating the
start of the text area, so display usually got mangled).  Also, I
doubted that anyone would ever need scoll bars on top, so I eventually
gave up on that idea.  The "None-horizontal" entry was the last remnant
of that failed attempt.

 > While I was looking at the Show/Hide menu, I noticed that the spelling
 > there is not consistent with the convention of the Emacs manual, which
 > uses "scroll bar", "tool bar" and "menu bar" without hyphenation.  So
 > the patch changes the spelling of these in the menu and tooltips too.

Fine.  Please install.

martin





  reply	other threads:[~2017-05-24  6:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-23 21:08 bug#27047: 26.0.50; Scroll bar menu UI glitches [patch] Stephen Berman
2017-05-24  6:15 ` martin rudalics [this message]
2017-05-24 11:39   ` Stephen Berman
2017-05-24 12:27     ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=592524EF.2040805@gmx.at \
    --to=rudalics@gmx.at \
    --cc=27047@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).