[haiku-bugs] Re: [Haiku] #13463: adding a NeverDisableDefaultButton parameter to the BFilePanel constructor

  • From: "humdinger" <trac@xxxxxxxxxxxx>
  • Date: Mon, 01 May 2017 06:48:37 -0000

#13463: adding a NeverDisableDefaultButton parameter to the BFilePanel 
constructor
----------------------------------+---------------------------------
   Reporter:  owenca              |      Owner:  nobody
       Type:  enhancement         |     Status:  new
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  Kits/libtracker.so  |    Version:  R1/Development
 Resolution:                      |   Keywords:  BFilePanel, Tracker
 Blocked By:                      |   Blocking:
Has a Patch:  1                   |   Platform:  All
----------------------------------+---------------------------------

Comment (by humdinger):

 Replying to [comment:10 axeld]:

I think the solution is "okay" (not great, but acceptable) for
 `B_DIRECTORY_NODE`, but once a file panel supports both, files and
 directories, it's not that "okay" anymore IMO.

 I've been thinking...why should the proposed behaviour be restricted to
 pure B_DIRECTORY_NODE flavour? Even if you mix B_FILE_NODE and/or
 B_SYMLINK_NODE to it, taking the current folder if nothing's selected
 still seems like a good idea and also consistent.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13463#comment:14>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: