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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Fred Kiefer <FredKiefer>
Open/Closed: Closed

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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by wlux (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 20 Jan 2010 02:31:44 PM UTCFredKieferStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Tue 19 Jan 2010 08:31:04 AM UTCFredKieferStatusNone=>Ready For Test
      Assigned toNone=>FredKiefer
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1