bugGNUstep - Bugs: bug #36427, XIB loading causes ALL menus to be...

Group
 
 

bug #36427: XIB loading causes ALL menus to be displayed as main menu

Submitter:  Marcian Lytwyn <mlytwyn>
Submitted:  Mon 07 May 2012 04:09:48 PM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  Ready For Test
Privacy:  Public Assigned to:  mlytwyn
Open/Closed:  In Test
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 21 May 2012 06:08:16 PM UTC, comment #5: 

Modified GSXibLeader.m:

Added a category on NSMenu: NSXibCompatibility
Added category method on NSMenu (NSXibCompatibility)
   - (BOOL)_isMainMenu;
Modified awake:inContainer:withContext to check and set only one menu as main

Marcian Lytwyn <mlytwyn>
Group Member
Fri 11 May 2012 07:30:41 PM UTC, comment #4: 

No, the fix you committed looks the same as the one that Marcian showed me and that he was going to commit, so it's okay to leave it as is.  GC

Gregory John Casamento <gcasa>
Group administrator
Fri 11 May 2012 05:37:45 PM UTC, comment #3: 

Sorry for having interfered here. I set back the assignment to Marcian. Should I also revert the commit I made for the other bug report?

Fred Kiefer <FredKiefer>
Group Member
Tue 08 May 2012 12:32:14 PM UTC, comment #2: 

Marcian and I are working together on a project and he already is working on a solution for both of his recently submitted issues.  Thanks. GC

Gregory John Casamento <gcasa>
Group administrator
Tue 08 May 2012 07:14:41 AM UTC, comment #1: 

Could you please provide a XIB file that shows this behaviour?

And don't assign a bug report to yourself, that way others might expect that you are already working on a solution.

Fred Kiefer <FredKiefer>
Group Member
Mon 07 May 2012 04:09:48 PM UTC, original submission:  

NIB loader distinguishes correctly and load ONE menu as the main menu.  However, the XIB loading makes ALL menus the main menu causing even context menus to be displayed at startup.

Marcian Lytwyn <mlytwyn>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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)
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by mlytwyn (Submitted the item)
  •  

    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
    2012-06-30 FredKiefer Open/ClosedOpen In Test
    2012-05-21 mlytwyn StatusIn Progress Ready For Test
    2012-05-21 mlytwyn StatusNone In Progress
    2012-05-11 FredKiefer Assigned toFredKiefer mlytwyn
    2012-05-08 FredKiefer Assigned tomlytwyn FredKiefer

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code