bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #25363] NSOpenPanel's delegate method panel:shouldShowFilename: is


From: Wolfgang Lux
Subject: [bug #25363] NSOpenPanel's delegate method panel:shouldShowFilename: is called too often
Date: Sun, 25 Jan 2009 19:28:57 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US) AppleWebKit/525.18 (KHTML, like Gecko, Safari/525.20) OmniWeb/v622.3.0.105198

Follow-up Comment #3, bug #25363 (project gnustep):

Gregory,

I fully agree with your comment that in general we should make GNUstep's
behavior as close as possible to the OS X one. Yet, in this particular case I
think that GNUstep already follows the documented behavior, namely to call the
delegate method whenever a file is loaded into the browser. (Of course, the
documented behavior is not always the implemented one.) The problem is that
GNUstep's NSBrowser class simply validates all columns up to the visible ones
whereas Apple apparently validates only the visible ones. There is an obvious
patch to implement that behavior for GNUstep, but I'm not sure whether
NSBrowser will gracefully handle the case that a visible path turns out to be
invalid when the user scrolls left in the browser, nor that GNUstep's
NSOpenPanel/NSSavePanel do.
Furthermore, it seems to me that the original program has a bug in the first
place and that a "correct" program should not expect its delegate method to be
called for only a particular set of path names.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25363>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]