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

  • From: "humdinger" <trac@xxxxxxxxxxxx>
  • Date: Tue, 02 May 2017 05:49:52 -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:16 owenca]:

According to the Confirmable Node Flavors section at https://www.haiku-
 os.org/legacy-docs/bebook/BFilePanel_Overview.html, it seems that keeping
 the Open button enabled makes sense only for B_DIRECTORY_NODE.

 I don't really read that there. IMO, as soon as the B_DIRECTORY_NODE
 flavour is in the mix, it makes sense to accept the current directory if
 nothing is selected.

 Do you mean from the BeBook:
"If the setting includes B_FILE_NODE and the user selects and confirms a
 file or a symlink to a file, the file (or symlink) is delivered to your
 target. If it doesn't include B_FILE_NODE and the user selects a file (or
 symlink to a file), the Open button is disabled."

 I don't think the last sentence applies any more. If there's no
 "B_FILE_NODE" flavour included, the file panel doesn't even show files,
 only directories.

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

Other related posts: