From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fangwen Yu Newsgroups: gmane.emacs.bugs Subject: bug#17982: 24.3.92; extra pixel line at scroll bar's right Date: Thu, 10 Jul 2014 21:17:58 +0800 Message-ID: References: <8738eavwm7.fsf@gentoo.i-did-not-set--mail-host-address--so-tickle-me> <53BE44B4.6090206@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bf0c9844d65d504fdd6a780 X-Trace: ger.gmane.org 1404998369 6193 80.91.229.3 (10 Jul 2014 13:19:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2014 13:19:29 +0000 (UTC) Cc: 17982@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 10 15:19:20 2014 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 1X5EFr-0006iu-DK for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jul 2014 15:19:19 +0200 Original-Received: from localhost ([::1]:38015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5EFq-00041R-UR for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Jul 2014 09:19:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5EFh-0003vT-8m for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 09:19:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5EFa-00043k-Oj for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 09:19:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5EFa-00043g-L0 for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 09:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X5EFa-0002Ab-8i for bug-gnu-emacs@gnu.org; Thu, 10 Jul 2014 09:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Fangwen Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Jul 2014 13:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17982 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17982-submit@debbugs.gnu.org id=B17982.14049982948238 (code B ref 17982); Thu, 10 Jul 2014 13:19:02 +0000 Original-Received: (at 17982) by debbugs.gnu.org; 10 Jul 2014 13:18:14 +0000 Original-Received: from localhost ([127.0.0.1]:51812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5EEk-00028j-IV for submit@debbugs.gnu.org; Thu, 10 Jul 2014 09:18:14 -0400 Original-Received: from mail-pa0-f44.google.com ([209.85.220.44]:53129) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5EEe-00027u-JY for 17982@debbugs.gnu.org; Thu, 10 Jul 2014 09:18:08 -0400 Original-Received: by mail-pa0-f44.google.com with SMTP id rd3so11141106pab.31 for <17982@debbugs.gnu.org>; Thu, 10 Jul 2014 06:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=x/XUKjA1Qtq7X7u83aduZ4UWPYtrLk2+22JxGtQQbGU=; b=Aeh0Ma3tTHsfdhL5P+q8fGzwwrRpJ63guPPEG55B3K4jo3zu4m9qP2dofWAoezi4Cu +CzrIWzRtZFKHh9mBAzQ7FseZ/mP+HTCFk5MFn/OqGkqXa6tK9Y9BhI3RyC5Z0q7mCb7 q5zrWziFVCYbCaO/Flb/WYGIocZ6b7vDLNXDtYQDNmxjK3boUeiN/nuaHJfvGgSHRRgY uzXYRhdxWzK6J8TynLURCJii39IPdlkNI5L5fj3uOV6GrZWcKFveiYOyyX8g8Ci1jcgL apWqnJAFOdF3Ad2UtpajJZoklsOht9fTzzM56IEr9F/pmgM6faqjKOeEW3jCIp2i9B9m giLQ== X-Received: by 10.66.184.79 with SMTP id es15mr43445695pac.57.1404998278537; Thu, 10 Jul 2014 06:17:58 -0700 (PDT) Original-Received: by 10.70.3.34 with HTTP; Thu, 10 Jul 2014 06:17:58 -0700 (PDT) In-Reply-To: <53BE44B4.6090206@gmx.at> 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:91376 Archived-At: --047d7bf0c9844d65d504fdd6a780 Content-Type: text/plain; charset=UTF-8 Just comment out the line and problem solved, thanks. On Thu, Jul 10, 2014 at 3:45 PM, martin rudalics 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 > --047d7bf0c9844d65d504fdd6a780 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Just comment out the line and problem solved, thanks.


On Thu, Jul = 10, 2014 at 3:45 PM, martin rudalics <rudalics@gmx.at> wrote:<= br>
> 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, thi= s
> 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)=
> =C2=A0 of 2014-07-10 on gentoo
> Windowing system distributor `The X.Org Foundation', version 11.0.= 11500000
> System Description: =C2=A0 NAME=3DGentoo

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

=C2=A0 if (w < 16) w =3D 16;

there and see whether the problem persists? =C2=A0Alternatively, you could<= br> try to increase the slider-width of your Gtk scrollbars

martin

--047d7bf0c9844d65d504fdd6a780--