bugGNUstep - Bugs: bug #58963, Font system menu is not connected...


bug #58963: Font system menu is not connected to NSFontManager

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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 15 Aug 2020 09:39:51 PM UTC, original submission:  

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).



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.5