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

Group
 
 

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

Submitter:  None
Submitted:  Sat 15 Aug 2020 09:39:51 PM UTC
   
 
Category:  Gorm Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 08 Dec 2021 11:43:44 PM UTC, comment #2: 

This was recently addressed in Gorm's current release.

Gregory John Casamento <gcasa>
Group administrator
Mon 26 Oct 2020 08:25:21 AM UTC, comment #1: 

Assigned to maintainer.  Please enter future bugs on github.com

Gregory John Casamento <gcasa>
Group administrator
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).

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #52455:  Untitled.jpg added by gcasa (200KiB - image/jpeg - The screenshots demonstrate the fix. In the first, the Font Manager is collected to Menu(0), the second illustrates that "Font" is Menu(0))
file #52456:  Untitled1.jpg added by gcasa (42KiB - image/jpeg - The screenshots demonstrate the fix. In the first, the Font Manager is collected to Menu(0), the second illustrates that "Font" is Menu(0))

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gcasa (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-09 gcasa Attached File- Added Untitled.jpg, #52455
        Attached File- Added Untitled1.jpg, #52456
    2021-12-09 gcasa Open/ClosedOpen Closed
    2021-12-08 gcasa StatusNone Fixed
    2020-10-26 gcasa Assigned toNone gcasa

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code