bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54196: 29.0.50; flat-button face box style does not work as expected


From: David Ponce
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
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

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: face-box-screenshot.jpg
Description: JPEG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]