Opened 13 years ago
Last modified 4 years ago
#8116 assigned enhancement
Add a "Select {current folder}" button to filepanels
Reported by: | humdinger | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1.1 |
Component: | Kits/Storage Kit | Version: | R1/Development |
Keywords: | BFilePanel | Cc: | |
Blocked By: | Blocking: | #9120 | |
Platform: | All |
Description
This is hrev4902.
Expander has a custom file panel with a button "Select {current folder}":
This saves you from having to navgate to a folders parent, just to select that folder.
Is is possible to backwards-compatibly have this button for every BFilePanel that has the node_flavor B_DIRECTORY_NODE?
Attachments (1)
Change History (9)
by , 13 years ago
Attachment: | Expander_panel.png added |
---|
comment:2 by , 12 years ago
Any news about this ticket? Could be easily implemented? That would be definitely an useful enhancement! :-)
comment:3 by , 10 years ago
Unfortunately, not the easy way. Some applications (for example Expander) customize the filepanel to add such a button. If we put one there by default, such apps would then have two buttons. Maybe we can have a separate flag or method to enable this button instead, so existing apps aren't affected. But then we need to update all apps to make use of the feature, which isn't so great.
comment:4 by , 10 years ago
Blocking: | 9120 added |
---|
comment:5 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:6 by , 8 years ago
As I read owenca's Filer issue #20: How about not adding another button, but just keeping the file panel's "Open" button active if there's no folder selected? Pressing open would then choose the current folder. Not completely obvious, but still better than the hoops we have to jump at the moment: Going up to the parent folder to choose our folder.
Oh, oh, how about re-labeling the "Open" button to "Open current folder" if no folder is selected, "Open {folder name}" if one folder is selected and "Open {number of selected folders} folders" if more than one folder is selected.
comment:7 by , 8 years ago
That wouldn't really solve the issue of applications customizing the panel, though. We really have only two choices here AFAICT:
- Add a flag that adds the button or changes how "open" works (I haven't made up my mind about that yet, although I often wondered why "open" would just open the folder, and not close the panel).
- Detect R5 software, and let them suffer, and document Haiku's different behavior (and fixing all apps in tree).
Both solutions won't provide a consistent user experience, though, although 2.) is slightly better in this regard, as the problem will fade away with time :-)
comment:8 by , 4 years ago
Milestone: | R1 → R1.1 |
---|
Expander's file panel sporting a "Select {this folder}".