From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#27047: 26.0.50; Scroll bar menu UI glitches [patch] Date: Wed, 24 May 2017 08:15:11 +0200 Message-ID: <592524EF.2040805@gmx.at> References: <87d1azffik.fsf@rosalinde> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1495606574 3361 195.159.176.226 (24 May 2017 06:16:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 May 2017 06:16:14 +0000 (UTC) To: Stephen Berman , 27047@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 24 08:16:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDPaZ-0000eW-RD for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 May 2017 08:16:07 +0200 Original-Received: from localhost ([::1]:52989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDPad-0006AU-Lg for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 May 2017 02:16:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDPaX-0006AL-So for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 02:16:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDPaU-0006yX-NT for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 02:16:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60970) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDPaU-0006yS-Iu for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 02:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dDPaU-0005Wq-Cb for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 02:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 May 2017 06:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 27047-submit@debbugs.gnu.org id=B27047.149560652921212 (code B ref 27047); Wed, 24 May 2017 06:16:02 +0000 Original-Received: (at 27047) by debbugs.gnu.org; 24 May 2017 06:15:29 +0000 Original-Received: from localhost ([127.0.0.1]:35414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDPZx-0005W4-Dv for submit@debbugs.gnu.org; Wed, 24 May 2017 02:15:29 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:61041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDPZv-0005Vq-UI for 27047@debbugs.gnu.org; Wed, 24 May 2017 02:15:28 -0400 Original-Received: from [192.168.1.100] ([46.125.250.33]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lo3IS-1dtN5t0YKu-00fwny; Wed, 24 May 2017 08:15:21 +0200 In-Reply-To: <87d1azffik.fsf@rosalinde> X-Provags-ID: V03:K0:QzyOo4lCbY6qvNDQylYz2Hv4rDTJikwdGSaTOk1NCv1zbfkBMPW MfYTlBk0gJ6H4oQvdHZd0efxcqfT51hkEAmwJxQueET52XyhGYs1LoADLlTRV+mnhGqW0z9 uKf30UN8fiIZvsWpW31l+tn+wV1KSAhzjSlHzK1+IzLXJxs0LpMSgoCGTF5o1Ul+rY5iiL/ 8dEdp6cpkRsPyIFw9AiKQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:j7ZUnCA+9AY=:gpeQTJoL/ZccnqLCX3Jipq 9YlHtaouW9QhmWCY8TmBm0xMmxQJG4+MjOpR7/G9pAjxgTMc7JrewtT4g2UYN+/i3h9BCqy1B YgymPWyNAXYtPqyPaRUFi+dPih7Mvoc3+snY+LWxkjgYiahugzM089duX1/4kiVv304WW0UsS Y4KU2UQZTTDRkBRgfIJV6eAgRsUKVnnct4Za7jzOQke2KZiIOKGGlhqtBZPGKHeDoSCsudre5 S6cu00iZkPdqLPYH2/w/Qc9SyshNGEnXkq9NYu3WsQW69MdMfG6Z1W0lJ9KpjOWKD3D7TiRS0 iWC6GQ5BR0PyeObrU8So+BzyvcpZ/CxkVrA+jj6t7LTD3lj/djh2sO2FN7I3U0oP+3A7dGc1v bRQisrICd2FHJqnzZzbeGv73RVz2P5njodsKIpTPKeI/aAh1Nq7mQY/Wq/kWbD7Wdjqldi/UT 7HqV9OG4/+k4xLkrrSggMYVAYCFy6ma+UIPSRVZxp1QLK0dPvhqvilPVsC92SFjnHgdrKnC6D huDZOI2YqtBwBqB3QlqRXnGzEzoIrAVdh4BvMDhDZdWJMVSs0/7u+jtbc5CKuPHuKluuLk4Sr taExP5ZYu7k/7HZ+O/gGxW//HZQRLr7O3+da+e5kWSK5J4vlTEIRHlJRzEyAFhnePBmWZWaOM WJz+MgW7/1J31oPHdBUWCcRf6kJZHUqJ0MYfr/d4dEAOk/X4CCoUeBFlsM10jDbqpspqQ8Q8y q4rf/GuRg6MhcMSvg+LL0bB/2Agb+Q8bNWA1uLhyc8DJUUevMHvLiQnlDc3nDfmXZtEkmQtm X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:132778 Archived-At: > 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