all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Kaushal Modi <kaushal.modi@gmail.com>, 27830@debbugs.gnu.org
Cc: Dmitry Gutov <dgutov@yandex.ru>
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	[thread overview]
Message-ID: <59D4A41F.7080603@gmx.at> (raw)
In-Reply-To: <CAFyQvY0zw3y=gbP+wBYytnVyJSM-Fan8iczffB0NWf0UN0_8Jg@mail.gmail.com>

 >>   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





  reply	other threads:[~2017-10-04  9:04 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-25 20:19 bug#27830: 26.0.50; Left fringe gets truncated by a pixel in window not sharing that edge with frame Kaushal Modi
2017-07-26  7:53 ` martin rudalics
2017-10-03 20:19   ` Kaushal Modi
2017-10-04  9:04     ` martin rudalics [this message]
2017-10-04 13:47       ` Kaushal Modi
2017-10-04 13:54         ` Kaushal Modi
2017-10-05  8:11           ` martin rudalics
2017-10-05  8:47             ` Eli Zaretskii
2017-10-05 11:59               ` Kaushal Modi
2017-10-06  8:17               ` martin rudalics
2017-10-06  9:45                 ` Eli Zaretskii
2017-10-07  8:08                   ` martin rudalics
2017-10-07  8:24                     ` Eli Zaretskii
2017-10-07  9:44                       ` martin rudalics
2017-10-07  9:51                         ` Eli Zaretskii
2017-10-09  7:59                           ` martin rudalics
2017-10-09  8:28                             ` Eli Zaretskii
2017-10-09 12:21                               ` martin rudalics
2017-10-09 12:53                                 ` Kaushal Modi
2017-10-10  8:12                                   ` martin rudalics
2017-10-09 13:41                                 ` Robert Pluim
2017-10-10  8:14                                   ` martin rudalics
2017-10-10  8:46                                     ` Robert Pluim
2017-10-11  8:33                                       ` martin rudalics
2020-09-04  5:25                             ` Lars Ingebrigtsen
2017-10-05  8:10         ` martin rudalics
2017-10-05  8:29           ` martin rudalics
2017-10-05 11:51             ` Kaushal Modi
2017-10-06  8:18               ` martin rudalics
2017-10-05 11:46           ` Kaushal Modi

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

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

  git send-email \
    --in-reply-to=59D4A41F.7080603@gmx.at \
    --to=rudalics@gmx.at \
    --cc=27830@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=kaushal.modi@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.