bugGNUstep - Bugs: bug #28647, Nib compatibility code ignores the...

 
 

bug #28647: Nib compatibility code ignores the autoenable menu attribute

Submitted by:  Wolfgang Lux <wlux>
Submitted on:  Sun 17 Jan 2010 03:49:24 PM UTC  
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  Fred Kiefer <FredKiefer>
Open/Closed:  Closed

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Tue 19 Jan 2010 10:00:02 AM UTC, comment #2: 

This change fixes this problem.

Thanks.

Wolfgang Lux <wlux>
Tue 19 Jan 2010 08:31:04 AM UTC, comment #1: 

We already are handling the autoenable attribute when loading an NSMenu from a NIB file. What could be wrong is the default value we use when the value NSNoAutoenable is not present. We use NO then, perhaps it should be YES? This would be consistent with the value we use in initWithTitle:

I will submit a fix for this in a minute.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Sun 17 Jan 2010 03:49:24 PM UTC, original submission:  

Take a nib file generated on OS X and containing an application menu. Load this file into Gorm. All menus have their autoenable attribute cleared, regardless of it set in the nib file or not.
Note that this is not a Gorm issue. If one uses this nib file in a GNUstep application, the respective menu items are not enabled or disabled automatically.

Wolfgang Lux <wlux>

 

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

    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.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-01-20 FredKiefer StatusReady For Test => Fixed
        Open/ClosedIn Test => Closed
    2010-01-19 FredKiefer StatusNone => Ready For Test
        Assigned toNone => FredKiefer
        Open/ClosedOpen => In Test

    Back to the top


    Powered by Savane 3.5