bugGNUstep - Bugs: bug #11393, NSToolbar is modifiable when...

Group
 
 

bug #11393: NSToolbar is modifiable when allowsUserCustomization is NO.

Submitter:  Gregory John Casamento <gcasa>
Submitted:  Fri 24 Dec 2004 10:35:36 PM UTC
   
 
Category:  Gui/AppKit Severity:  1 - Wish
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  qmathe
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 30 Dec 2004 02:04:25 PM UTC, comment #1: 

Fixed in cvs.

2004-12-30  Quentin Mathe <qmathe@club-internet.fr>

        * Source/GSToolbarView.m: Modified to be more compliant with GNUstep
        coding standards.
        (-draggingEntered:):
        (-draggingUpdated:): Prevents the user to customize the toolbar when
        -allowsUserCustomization returns NO (bug #11393).
        * Source/NSToolbarItem.m: Modified to be more compliant with GNUstep
        coding standards.
        (-mouseDown:): Prevents the user to customize the toolbar when
        -allowsUserCustomization returns NO (bug #11393).

Quentin Mathé <qmathe>
Group Member
Fri 24 Dec 2004 10:35:36 PM UTC, original submission:  

Steps to reproduce:

1) Open any app which uses a toolbar and sets this attribute to NO.
2) Remove an item by control dragging out of the toolbar.

According to the spec:

- (BOOL)allowsUserCustomization

Answers whether or not users are allowed to modify the toolbar. The default value is NO. If the value is NO, then the Customize Toolbar& menu item is disabled and other modification is disabled. <snip>

Expected: Should not be able to remove item
Actual: Item is removed


Gregory John Casamento <gcasa>
Group administrator

 

(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

 

CC list is empty

 

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 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-12-30 qmathe StatusNone Fixed
    Open/ClosedOpen Closed
2004-12-28 qmathe Assigned toNone qmathe

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code