unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Alexander Miller <alexanderm@web.de>
Cc: 46184@debbugs.gnu.org, aaronjensen@gmail.com
Subject: bug#46184: 28.0.50; child-frame-border-width of 0 falls back to internla-border-width
Date: Thu, 4 Feb 2021 09:40:10 +0100	[thread overview]
Message-ID: <4776a31e-c9dd-1828-dc05-586f47859221@gmx.at> (raw)
In-Reply-To: <52a7b625-7ab4-b0eb-82ee-ac3130054476@web.de>

 > I have tried the patch and the case for using 0 does work without
 > fallback now.
 >
 > I also tried setting an explicit `nil` value and got an error, but
 > judging by how `internal-border-width` shows the same behaviour I assume
 > that it's working as expected.

Indeed.  That's why I dislike frame parameters.  WOW users cannot set
'internal-border-width' back to its initial value once it changed.  For
scroll bars we use a two-tiers approach where users can tweak width and
type separately.  Doing something similar for the internal border seems
a bit excessive to me.

Though, I am currently investigating doing something similar for tooltip
frames.  IIRC it was you who also noticed that the border we currently
draw around them is only on top and the left.  I meanwhile found out
that this is due to us trying to use the 'border-width' of the frame (a
completely obscure X concept) for that purpose.  If I can't fix that
(and it would be an X-only fix anyway) I'll try to replace it with our
own internal border, but I'm not sure whether I succeed.

Currently, the internal border face, once customized, shows through in
our tooltips only after some delay which is quite irritating.  Also, I
still don't know whether we want the internal border of tooltip frames
as a means (1) to "set off" text from the rest of the screen by splicing
in some space in the background face, or (2) to "separate" text from the
rest of the screen by splicing in space in a face that differs from the
background.  Currently, we can't have both.  We'd have to brush up the
internal borders in way similar to window dividers.

Thanks for checking, martin





  reply	other threads:[~2021-02-04  8:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-30  5:52 bug#46184: 28.0.50; child-frame-border-width of 0 falls back to internla-border-width Aaron Jensen
2021-01-30 15:26 ` martin rudalics
2021-01-30 17:13   ` Aaron Jensen
2021-01-30 17:38     ` martin rudalics
2021-01-31 14:23       ` Stefan Kangas
2021-02-06 17:28     ` martin rudalics
2021-02-06 18:17       ` Aaron Jensen
2021-05-19  8:26         ` martin rudalics
2021-02-03 21:23 ` Alexander Miller
2021-02-04  8:40   ` martin rudalics [this message]
2021-02-06 17:28     ` martin rudalics

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4776a31e-c9dd-1828-dc05-586f47859221@gmx.at \
    --to=rudalics@gmx.at \
    --cc=46184@debbugs.gnu.org \
    --cc=aaronjensen@gmail.com \
    --cc=alexanderm@web.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).