Article View: gnu.gnustep.bug
Article #1[bug #58963] Font system menu is not connected to NSFontManager
From: anonymous
Date: Sat, 15 Aug 2020 21:39
Date: Sat, 15 Aug 2020 21:39
47 lines
3471 bytes
3471 bytes
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/
Technical Details
Message-ID:
<mailman.2241.1597527594.2739.bug-gnustep@gnu.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf2.newsdeef.eu!news.usenet.farm!..!..!not-for-mailReferences:
<20200815-213951.sv0.11196@savannah.gnu.org>Show Full Headers
Complete Article Headers
Message-ID: <mailman.2241.1597527594.2739.bug-gnustep@gnu.org> Subject: [bug #58963] Font system menu is not connected to NSFontManager Date: Sat, 15 Aug 2020 21:39:52 +0000 From: anonymous <INVALID.NOREPLY@gnu.org> References: <20200815-213951.sv0.11196@savannah.gnu.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf2.newsdeef.eu!news.usenet.farm!..!..!not-for-mail Newsgroups: gnu.gnustep.bug Lines: 48 Approved: bug-gnustep@gnu.org NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: usenet.stanford.edu 1597527594 17125 209.51.188.17 (15 Aug 2020 21:39:54 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-gnustep@gnu.org Envelope-to: bug-gnustep@gnu.org X-PHP-Originating-Script: 1001:sendmail.php X-Savane-Server: savannah.gnu.org:443 [209.51.188.72] X-Savane-Project: gnustep X-Savane-Tracker: bugs X-Savane-Item-ID: 58963 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 X-Apparently-From: 84.73.131.68 X-BeenThere: bug-gnustep@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNUstep programming environment <bug-gnustep.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnustep>, <mailto:bug-gnustep-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/bug-gnustep> List-Post: <mailto:bug-gnustep@gnu.org> List-Help: <mailto:bug-gnustep-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnustep>, <mailto:bug-gnustep-request@gnu.org?subject=subscribe> X-Mailman-Original-Message-ID: <20200815-213951.sv0.11196@savannah.gnu.org>