From: David Ponce <da_vid@orange.fr>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 54196@debbugs.gnu.org
Subject: bug#54196: 29.0.50; flat-button face box style does not work as expected
Date: Mon, 28 Feb 2022 11:16:49 +0100 [thread overview]
Message-ID: <c4b67632-77f3-b04b-3731-f2d871640962@orange.fr> (raw)
In-Reply-To: <87wnhfnwgw.fsf@gnus.org>
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
On 28/02/2022 10:58, Lars Ingebrigtsen wrote:
> David Ponce <da_vid@orange.fr> writes:
>
>> I noticed that the :box :style flat-button is not working as expected:
>> the line around the text seems to be there, but not visible.
>>
>> Just evaluate the below code in the scratch buffer will show the
>> problem:
>>
>> (insert
>> (propertize "This buffer is for text"
>> 'font-lock-face
>> '( :box ( :line-width (4 . 4)
>> :color "dark grey"
>> :style pressed-button)))
>> "\n"
>> (propertize "This buffer is for text"
>> 'font-lock-face
>> '( :box ( :line-width (4 . 4)
>> :color "dark grey"
>> :style released-button)))
>> "\n"
>> (propertize "This buffer is for text"
>> 'font-lock-face
>> '( :box ( :line-width (4 . 4)
>> :color "dark grey"
>> :style flat-button)))
>> "\n"
>> )
>
> I'm not sure what I'm supposed to be looking for here. Can you include
> some screenshots and point to what you think is the problem?
>
My example above to illustrate the issue, inserts 3 lines with the same text in the scratch buffer:
1st line with a gray pressed-button box around the text. Work as expected.
2nd line with a gray released-button box around the text. Work as expected.
3rd line with a gray flat-button box around the text. Doesn' work as expected. The gray line around the text is not visible.
I attached a screen shot.
[-- Attachment #2: face-box-screenshot.jpg --]
[-- Type: image/jpeg, Size: 97303 bytes --]
next prev parent reply other threads:[~2022-02-28 10:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-28 9:30 bug#54196: 29.0.50; flat-button face box style does not work as expected David Ponce
2022-02-28 9:58 ` Lars Ingebrigtsen
2022-02-28 10:16 ` David Ponce [this message]
2022-02-28 10:28 ` Lars Ingebrigtsen
2022-02-28 10:36 ` Lars Ingebrigtsen
2022-02-28 10:42 ` Lars Ingebrigtsen
2022-02-28 11:15 ` David Ponce
2022-02-28 12:55 ` Eli Zaretskii
2022-02-28 12:57 ` Lars Ingebrigtsen
2022-02-28 13:25 ` Eli Zaretskii
2022-03-01 15:10 ` Lars Ingebrigtsen
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=c4b67632-77f3-b04b-3731-f2d871640962@orange.fr \
--to=da_vid@orange.fr \
--cc=54196@debbugs.gnu.org \
--cc=larsi@gnus.org \
/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.