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


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

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

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

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>
Project MemberIn charge of this item.


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


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

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.3