bug-gnustep
[Top][All Lists]
Advanced

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

[bug #58963] Font system menu is not connected to NSFontManager


From: anonymous
Subject: [bug #58963] Font system menu is not connected to NSFontManager
Date: Sat, 15 Aug 2020 17:39:52 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15

URL:
  <https://savannah.gnu.org/bugs/?58963>

                 Summary: Font system menu is not connected to NSFontManager
                 Project: GNUstep
            Submitted by: None
            Submitted on: Sat 15 Aug 2020 09:39:51 PM UTC
                Category: Gorm
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

NSFontManager needs to have access to system's Font menu so that it can manage
menu items based on current selection (e.g. setting "bold" or "unbold")
This can be either be done by letting NSFontManager to create system Font menu
or be assigning Fonts menu to NSFontManager programmatically.

When NSFontManager and Font menu are both created by Gorm, there is no way how
one can connect the Fonts menu to the NSFontManager.
NSFontManager shows "menu" as outlet but as it is impossible to select NSMenu
itself (only NSMenuItem can be selected), the connection cannot be done
manually.

Alternative approach could be to simply find Font system menu at runtime and
assign it to NSFontManager (I believe that's what NextStep and Mac OS does).




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58963>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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