GNU bug report logs - #24711
26.0.50; Error message when opening font selection dialog on macOS

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Sun, 16 Oct 2016 17:43:01 UTC

Severity: normal

Tags: confirmed

Found in version 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24711 in the body.
You can then email your comments to 24711 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#24711; Package emacs. (Sun, 16 Oct 2016 17:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philipp Stephani <p.stephani2 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 16 Oct 2016 17:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50; Error message when opening font selection dialog on macOS
Date: Sun, 16 Oct 2016 19:39:26 +0200
After selecting "Option > Select Default Font..." on macOS Sierra, the
following error message is printed on stderr:

2016-10-16 19:31:07.006754 Emacs[25238:14528037] NSToolbarItem (<NSToolbarItem: 0x102131540>) had to adjust the size of <NSPopUpButton: 0x10a767b40> from {40, 25} to the expected size of {42, 27}. Make sure that this toolbar item view has a valid frame/min/max size. This is an app bug, please do not file a bug against AppKit or NSToolbar! Break on _NSToolbarAdjustedBorderedControlSizeBreakpoint

Unfortunately I couldn't debug this further in LLDB; while I could set
the breakpoint on the given function, it apparently wasn't reached.


In GNU Emacs 26.0.50.4 (x86_64-apple-darwin16.0.0, NS appkit-1504.00 Version 10.12 (Build 16A323))
 of 2016-10-16 built on p
Repository revision: cf566b46a6cf85c6d54d0b0db80e32ed6ae8d1ca
Windowing system distributor 'Apple', version 10.3.1504
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Configured using:
 'configure --with-modules --enable-checking
 --enable-check-lisp-object-type --without-xml2'

Configured features:
RSVG IMAGEMAGICK DBUS NOTIFY ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS NS
MODULES

Important settings:
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv
bytecomp byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib
dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec
password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core term/tty-colors frame cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 206725 8026)
 (symbols 48 20333 0)
 (miscs 40 44 140)
 (strings 32 18485 6284)
 (string-bytes 1 595425)
 (vectors 16 35287)
 (vector-slots 8 683828 5550)
 (floats 8 183 17)
 (intervals 56 219 0)
 (buffers 976 12))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24711; Package emacs. (Mon, 19 Dec 2016 10:54:02 GMT) Full text and rfc822 format available.

Message #8 received at 24711 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 24711 <at> debbugs.gnu.org
Subject: Re: bug#24711: 26.0.50;
 Error message when opening font selection dialog on macOS
Date: Mon, 19 Dec 2016 10:52:51 +0000
Philipp Stephani <p.stephani2 <at> gmail.com> writes:

> After selecting "Option > Select Default Font..." on macOS Sierra, the
> following error message is printed on stderr:
>
> 2016-10-16 19:31:07.006754 Emacs[25238:14528037] NSToolbarItem (<NSToolbarItem: 0x102131540>) had to adjust the size of <NSPopUpButton: 0x10a767b40> from {40, 25} to the expected size of {42, 27}. Make sure that this toolbar item view has a valid frame/min/max size. This is an app bug, please do not file a bug against AppKit or NSToolbar! Break on _NSToolbarAdjustedBorderedControlSizeBreakpoint

I've seen this too, but I can't for the life of me work out where the
font picker is defined. I did find this:

http://cocoa-dev.apple.narkive.com/iSLaiCLR/strange-toolbar-item-error

where it appears the recommendation is to ignore it. Hardly ideal.
-- 
Alan Third




Added tag(s) confirmed. Request was from Alan Third <alan <at> idiocy.org> to control <at> debbugs.gnu.org. (Mon, 19 Dec 2016 10:54:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24711; Package emacs. (Sun, 16 Aug 2020 16:22:02 GMT) Full text and rfc822 format available.

Message #13 received at 24711 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 24711 <at> debbugs.gnu.org
Subject: Re: bug#24711: 26.0.50; Error message when opening font selection
 dialog on macOS
Date: Sun, 16 Aug 2020 18:20:45 +0200
Philipp Stephani <p.stephani2 <at> gmail.com> writes:

> After selecting "Option > Select Default Font..." on macOS Sierra, the
> following error message is printed on stderr:
>
> 2016-10-16 19:31:07.006754 Emacs[25238:14528037] NSToolbarItem (<NSToolbarItem: 0x102131540>) had to adjust the size of <NSPopUpButton: 0x10a767b40> from {40, 25} to the expected size of {42, 27}. Make sure that this toolbar item view has a valid frame/min/max size. This is an app bug, please do not file a bug against AppKit or NSToolbar! Break on _NSToolbarAdjustedBorderedControlSizeBreakpoint

I tried this with Emacs 28 in Catalina (Options -> Set Default
Font..."), and I didn't get any warnings on stderr, so I'm going to go
ahead and guess that this has been fixed in the years since this bug
report was opened and close the bug.

If this is still a problem, please reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 24711 <at> debbugs.gnu.org and Philipp Stephani <p.stephani2 <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 16 Aug 2020 16:22:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24711; Package emacs. (Sat, 29 Aug 2020 18:50:01 GMT) Full text and rfc822 format available.

Message #18 received at 24711 <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 24711 <at> debbugs.gnu.org
Subject: Re: bug#24711: 26.0.50; Error message when opening font selection
 dialog on macOS
Date: Sat, 29 Aug 2020 20:48:52 +0200
Am So., 16. Aug. 2020 um 18:20 Uhr schrieb Lars Ingebrigtsen <larsi <at> gnus.org>:
>
> Philipp Stephani <p.stephani2 <at> gmail.com> writes:
>
> > After selecting "Option > Select Default Font..." on macOS Sierra, the
> > following error message is printed on stderr:
> >
> > 2016-10-16 19:31:07.006754 Emacs[25238:14528037] NSToolbarItem (<NSToolbarItem: 0x102131540>) had to adjust the size of <NSPopUpButton: 0x10a767b40> from {40, 25} to the expected size of {42, 27}. Make sure that this toolbar item view has a valid frame/min/max size. This is an app bug, please do not file a bug against AppKit or NSToolbar! Break on _NSToolbarAdjustedBorderedControlSizeBreakpoint
>
> I tried this with Emacs 28 in Catalina (Options -> Set Default
> Font..."), and I didn't get any warnings on stderr, so I'm going to go
> ahead and guess that this has been fixed in the years since this bug
> report was opened and close the bug.
>
> If this is still a problem, please reopen.

Confirmed that this is no longer happening for me.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 27 Sep 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.