From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#20182: 24.4.91; [GTK3] Vertical scroll bar is "indented" from right edge of frame Date: Mon, 23 Mar 2015 18:26:19 -0300 Message-ID: <874mpbwglg.fsf@moondust.localdomain> References: <87h9tbwnfo.fsf@moondust.localdomain> <55106F6C.7010900@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427146046 18090 80.91.229.3 (23 Mar 2015 21:27:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Mar 2015 21:27:26 +0000 (UTC) Cc: 20182@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 23 22:27:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ya9sN-0004je-67 for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 22:27:11 +0100 Original-Received: from localhost ([::1]:58107 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya9sM-0006wB-Cw for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Mar 2015 17:27:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya9sI-0006w4-BB for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 17:27:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ya9sE-0002xn-MV for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 17:27:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ya9sE-0002xj-ID for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 17:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ya9sE-0002Sq-48 for bug-gnu-emacs@gnu.org; Mon, 23 Mar 2015 17:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Mar 2015 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20182 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20182-submit@debbugs.gnu.org id=B20182.14271459909429 (code B ref 20182); Mon, 23 Mar 2015 21:27:02 +0000 Original-Received: (at 20182) by debbugs.gnu.org; 23 Mar 2015 21:26:30 +0000 Original-Received: from localhost ([127.0.0.1]:34232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ya9ri-0002S0-3E for submit@debbugs.gnu.org; Mon, 23 Mar 2015 17:26:30 -0400 Original-Received: from mail-qg0-f52.google.com ([209.85.192.52]:34840) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ya9rg-0002Rm-1o for 20182@debbugs.gnu.org; Mon, 23 Mar 2015 17:26:28 -0400 Original-Received: by qgf74 with SMTP id 74so40480167qgf.2 for <20182@debbugs.gnu.org>; Mon, 23 Mar 2015 14:26:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=2eCODb0GUvkV0xsBkbuwswWwOd7lKFndYygw/EQF+cM=; b=H+iQ83AY0vNxf6YYxXe4yW9IBGnz7hv98zwyMM+YOnxQoLyahvgxMQtmUjqfH1m/ul McSKLsvib1GmcjaXR/HWjPeKg2gzlvXg9Ng+xVhg+QVSt5vpJJKu6UHV5D0TcyLAfWa+ snv8m/hWSdbtXhykZLCJF65mst24YCBux/NrJ0kBoS2F0d1fBd317o2ne6ZqHeznmGI5 yNYRs3GiYXstAQKvhYuYbtUyDAVQJJOc/9FjL0+7am6pFCRZP/7lgDWIcEp2mkYo9qBw lZnlzQ6kwLXBpibz24vthRaCgudLGMwOO6pF8xSNJj8uivwKyeDyw13obbglRjmBhsgN F/Uw== X-Received: by 10.55.16.166 with SMTP id 38mr2745052qkq.52.1427145982613; Mon, 23 Mar 2015 14:26:22 -0700 (PDT) Original-Received: from moondust.localdomain.nodomain.none (blk-7-145-248.eastlink.ca. [71.7.145.248]) by mx.google.com with ESMTPSA id 69sm1348676qgh.5.2015.03.23.14.26.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2015 14:26:21 -0700 (PDT) In-Reply-To: <55106F6C.7010900@gmx.at> (martin rudalics's message of "Mon, 23 Mar 2015 20:54:20 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.91 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100867 Archived-At: At 16:54 -0300 on Monday 2015-03-23, martin rudalics wrote: >> - The Emacs frame has a vertical scroll bar displayed on the right, but >> the right edge of the scroll bar is "indented" from the right edge of >> the frame. That is, the right edge of the scroll bar is a few pixels >> to the left of (the pixel column of) the right edge of the title bar >> and menu bar. [In other words the scroll bar and the title bar / menu >> bar intersect in the form a T.] > > I suppose its the hardcoded w = 16 in update_theme_scrollbar_width. > > Does anything change if you play around with say > > (set-frame-parameter nil 'scroll-bar-width 14) > > or smaller values than 14? Hi Martin, Yes. Setting scroll-bar-width to 14 reduces the indent. At 13 and at 12 the indent is gone and the window (Emacs frame, that is) looks correct. And at 11 and 10 and smaller I see the scrollbar being noticably clipped (it is too far to the right and the right side of it is missing). I'm guessing there must be a way to get the correct value from the toolkit rather than hard coding it to 16? Thanks. Regards, Neil.