bugGNUstep - Bugs: bug #24985, Menus loaded from nibs are oddly...

 
 

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

bug #24985: Menus loaded from nibs are oddly arranged....

Submitted by:  Gregory John Casamento <gcasa>
Submitted on:  Tue 02 Dec 2008 03:57:35 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Closed

Wed 03 Dec 2008 04:50:10 AM UTC, comment #2:

As it turns out when the main menu is set after loading a nib it seems that the code runs a method called "_organizeMenu" which assumes that if it's not horizontal it must do certain transformations. Under normal circumstances this is fine, but when loading from a nib it seems to mangle the menu. I've added some code into GSNibLoading which corrects this issue when loading from Nibs.

Please take a look and let me know if anyone finds any issues.

GC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Tue 02 Dec 2008 04:26:32 PM UTC, comment #1:

I'm not sure what the issue is here, and what I'm remembering may not be relevant to loading from a nib, but we should be able to change the menu layout (from horizontal to vertical and back) dynamically ... as you need to do that when switching between themes. There is code to do that in the gui, and it seemed to work well when I was using it a year or two ago. Please take care that you don't break it (or fix it if it's already broken).

Richard Frith-Macdonald <CaS>
Project Member
Tue 02 Dec 2008 03:57:35 PM UTC, original submission:

I believe we're doing some transformations in certain cases to make what is supposed to be a horizontal menu into a vertical one, but what we end up with is a menu arrangement that is nearly unusable.

I'm going to take out the code that does this or, at least, apply some minimal transformations (like just moving Quit to the top leve menu) to achieve a more acceptable result.

GC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.

 

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 rmottola (Updated the item)
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by gcasa (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 15 Jan 2013 10:18:42 PM UTCrmottolaOpen/ClosedIn Test=>Closed
    Wed 03 Dec 2008 04:50:10 AM UTCgcasaStatusIn Progress=>Fixed
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1