GNU bug report logs -
#50798
28.0.50; Tab line close button is off-center until it is highlighted with the mouse
Previous Next
Reported by: Po Lu <luangruo <at> yahoo.com>
Date: Sat, 25 Sep 2021 06:55:02 UTC
Severity: normal
Found in version 28.0.50
Fixed in version 28.0.60
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> (defface test
>> '((t :height 2.0))
>> "")
>>
>> (defface test-tab
>> '((default :inherit test)
>> (t :box (:line-width 1 :style released-button)))
>> "")
>>
>> (defface test-highlight
>> '((default :inherit test-tab))
>> "")
>
> Thanks, but I'm not sure I understand what you expected and why. the
> face 'test' is defined to be twice the width of the default face. The
> face test-highlight inherits from it, but the 't' case doesn't change
> the :height attribute, so it ends up having the same height, just with
> the :box attribute. That's why it looks bad on the header line: its
> height is greater than that of header-line.
>
> What did you expect to happen with these definitions of faces?
My previous patch avoided inheriting from the face that changes the
height of the mouse-highlight face. Maybe it was the right solution?
This bug report was last modified 3 years and 227 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.