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#27830: 26.0.50; Left fringe gets truncated by a pixel in window not sharing that edge with frame Date: Wed, 04 Oct 2017 11:04:31 +0200 Message-ID: <59D4A41F.7080603@gmx.at> References: <59784A68.1080409@gmx.at> 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 1507107942 1482 195.159.176.226 (4 Oct 2017 09:05:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Oct 2017 09:05:42 +0000 (UTC) Cc: Dmitry Gutov To: Kaushal Modi , 27830@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 04 11:05:37 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 1dzfc7-00076c-An for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Oct 2017 11:05:11 +0200 Original-Received: from localhost ([::1]:33813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzfcE-0006pT-SV for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Oct 2017 05:05:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzfc2-0006iX-O7 for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2017 05:05:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzfby-0007nA-6A for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2017 05:05:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38808) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzfby-0007n0-2f for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2017 05:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dzfbx-0004Vl-QU for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2017 05:05:01 -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, 04 Oct 2017 09:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27830 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27830-submit@debbugs.gnu.org id=B27830.150710789017318 (code B ref 27830); Wed, 04 Oct 2017 09:05:01 +0000 Original-Received: (at 27830) by debbugs.gnu.org; 4 Oct 2017 09:04:50 +0000 Original-Received: from localhost ([127.0.0.1]:47489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzfbl-0004VF-4T for submit@debbugs.gnu.org; Wed, 04 Oct 2017 05:04:50 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:52639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzfbj-0004Uy-5M for 27830@debbugs.gnu.org; Wed, 04 Oct 2017 05:04:47 -0400 Original-Received: from [192.168.1.100] ([46.125.250.31]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MEKZg-1e6GEy3xMG-00FVSC; Wed, 04 Oct 2017 11:04:41 +0200 In-Reply-To: X-Provags-ID: V03:K0:XJBDuB+YYppLK056lxB5yIYZLz90B5IcZ2bsg3SEFVqPvajx4yk +KNiiCl91Tk2rEKqP4erdJuruyAoteVFep6PDeOkKshkUpp1x5cEsIWlZzTRXFsSMJNhkpE VfoRaoHhKheb3H83YBVte3oVQI1hcOzj2/xRChqv1ddg8gFgkoD0acXup9ZL1ulI7FJ7LCj eUviwMwUy4ZXSjaa+b3KA== X-UI-Out-Filterresults: notjunk:1;V01:K0:NoZ3DGaqWO8=:P80AZLkFeDfplh3Eb7cOnp lMnoEGLf14hVodcXJi0vMOv5SFOHxaJkbADufir1luG8l5e/ig0mAF/gHaCsIsIH6OPh0jwLS IlDzoKfRBdaaR81tn83UKf5bQQJV0OLC6o06yw852otRvG8VKWGLmUhWEECPDHs8BwmaKudHx fkLk8iFOTfH3LNRVxsaIW1ES7WK4Rs7Mkti1nuo4v+QF/Efim1xI6mbHpKTKvWfB8YZbOFCs+ zBVRbhlpY+k81ooCyjT4YLIW6jgRrjIUDy3tvCrnLa78V7tMqH6CwSkHmIG4k2NdIIyjFOup9 lBMvwMsxm3LV2uwoKR+dW0L9VL58uX3gDVq0zWwpcLbCm4Bu0Fjv45T+skPaxIoTQFIz/jIjm mo8cHZbwPlNW8Gzb60tbjVvgbsfhYWqZPOrXKaA5KYb3IWtwuOg6foZQguJiY6LU3HBfEypLX i80xO2A4mVfifDGcJH7CjRHgq1KWAQVEbte2XLU+tej9p3y9Arx9t9B05BDBaH0lmcXcEWqr8 PwP5AKVcwNV4ETYtv2XWxRxzpM8cMLBdOHMlfSFx8SaPGmN/x2sGOih0g3ssggSHuBtLQsZd8 d3zTbKH9sRfi+RyMsKDwR2x5RWmOmzzN8IAhdQZNU4EWBCymXSUm+dgEt99JPzHQvJVS1xuJE OVHcdRiqBaTEn+8EHK6PxzXkcNNCfOh+v9WoohMcBT/5Dwqvu0V8j2Z07WNiIa7MZGBbWUIEy h5h+zhx+6a1AmFVncX0SIv0k/uoY9W6O3kSOVo0C/JJeNI0+zWJdo3H67tLhvu1OCkoxV+zJ 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:137885 Archived-At: >> From the attached image it's easy to see that both fringes of the window >> on the right miss one pixel. > > > I fail to see that without the diff-hl-mode example. I see that the continuation arrows in the rightmost fringe have their tips truncated. Do you really need diff-hl-mode enabled to see that? >> Please try: >> >> - C-x 3 with emacs -Q >> >> - C-x 3 with emacs -Q and scrollbars disabled >> > > I tried that, but nothing stood out. Can you try again with a buffer with wide enough lines to see the continuation arrows in the window on the right? This is important because it would constitute another, probably different bug. > Below images and animation are after following the emacs -Q recipe I posted > earlier - https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27830#5 > > > [image: image.png] > > As seen above (figure attached), any window not sharing the edge the with > frame sees that ~1 pixel truncation. I see: The first pixel of each fringe in a window that has another one on the left gets overwritten by the "vertical window border". With window dividers or scroll bars on, that border is not drawn. I think we should remove that border completely and draw a one pixel wide window divider instead when scroll bars are disabled in a window and dividers are off. Tricky because scroll bars can be turned off individually for windows and dividers are frame wide. Strictly for Emacs 27. As a workaround for things to come I suggest using a one pixel wide right only window divider with scroll bars off. > Here is the frame dump with scroll bars disabled: > > frame pixel: 656 x 540 cols/lines: 82 x 36 units: 8 x 15 [...] > height header-line: 0 mode-line: 0 divider: 0 [...] > Here's the same after *enabling* scroll bars: > > frame pixel: 672 x 540 cols/lines: 84 x 36 units: 8 x 15 [...] > height header-line: 0 mode-line: 0 divider: 0 Both dumps are completely normal. Thanks, martin