bugGNUstep - Bugs: bug #11599, NSBrowser doesn't provide any way...

Group
 
 

bug #11599: NSBrowser doesn't provide any way of validating columns that aren't visible

Submitter:  Alexander Malmberg <alexm>
Submitted:  Fri 14 Jan 2005 03:38:51 PM UTC
   
 
Category:  Gui/AppKit Severity:  2 - Minor
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  alexm
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 14 Jan 2005 03:38:51 PM UTC, original submission:  

The only validation method is -validateVisibleColumns, and it (obviously :) validates only visible columns. This matches the documentation and behavior on OPENSTEP (thanks to Gürkan Sengün for testing), so it isn't a bug per se, just a lack of feature.

However, this means that NSSavePanel's -validateVisibleColumns also validates only visible columns (as documented), and this means that -setDelegate: can't verify non-visible columns, and that's a bug.

Can be reproduced by creating an NSSavePanel with a popup button for selecting which file types should be displayed, selecting some file in a directory that has files that will be filtered away, scrolling back to the root without changing the selection (the directory needs to be deep enough that it isn't visible when you do this), and changing the filtering using the popup. Even if the popup action method calls -validateVisibleColumns, the files in the deep directory will still be displayed. (this is "tests/gui/NSSavePanel/setDelegate_reload.m" in the 'new' test suite)

So, do we ignore the documentation and make -validateVisibleColumns validate all columns (name won't make sense, but then, why would you ever want to validate only the visible columns?), or do we add new -validate[All?]Columns methods?

Alexander Malmberg <alexm>
Group Member

 

(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.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.14-25bf.
Corresponding source code