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

Group
 
 

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

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

Add a New Comment Rich Markup
   

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>
Group Member
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)
  •  

    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
    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.13-02a9.
    Corresponding source code