GNU bug report logs -
#55410
28.1; Button text is sometimes trimmed in the NS port
Previous Next
To reply to this bug, email your comments to 55410 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#55410
; Package
emacs
.
(Sat, 14 May 2022 11:30:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Daniel Martín <mardani29 <at> yahoo.es>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 14 May 2022 11:30:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Steps to reproduce:
emacs -Q
C-x C-f foo
Type something
Click on the upper-left red button to close the frame.
Actual result:
The text "Close Without Saving" is trimmed.
Expected result:
The text of all buttons is completely visible.
I think this bug happens whenever the button text is longer than the
minimum button width (MINCELLWIDTH in nsmenu.m).
I've taken a look at the code and I can avoid the problem if I remove
the expression [cell setBezelStyle: NSBezelStyleRounded] from the
NSButtonCell preparation code in [EmacsDialogPanel
initWithContentRect:styleMask:backing:defer]. But, of course, buttons
look ugly if I do that.
In GNU Emacs 28.1 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559))
of 2022-04-04 built on armbob.lan
Windowing system distributor 'Apple', version 10.3.2113
System Description: macOS 12.3.1
Configured using:
'configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules'
Configured features:
ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER THREADS
TOOLKIT_SCROLL_BARS ZLIB
Important settings:
value of $LANG: en_ES.UTF-8
locale-coding-system: utf-8-unix
This bug report was last modified 2 years and 304 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.