#
2b6ccde0 |
|
25-Apr-2023 |
John Scipione <jscipione@gmail.com> |
Tracker: Disable edit menu items on ro volumes ... such as virtual directories or read-only media. Also applies to open/save panels. Menu items disabled on read-only volumes: * New > * Duplicate * Move to Trash * Move To > * Cut * Paste Other reasons a menu item is disabled: * Duplicate, Move To Trash, Cut, Copy, Move to >, Copy to >, Create link > and Identify require a selection. * Paste requires something in your clipboard. * Edit name requires a single item is selected. Edit name is permitted on a read-only volume so that you may copy the name. However the name is not editable, you may only select and copy. Pop system folder warning dialog on Edit name commit instead, this way you won't see the dialog if you just want to copy the name. Move "Create link here" option last in the right- click drag menu. Disable "Move here" if source or dest is read-only, rest if dest is read-only. Ignore Paste to virtual directory, (even more) but permit Edit name. Allow drag-and-drop to virtual directory but alert and disable all right-click drag menu items like other read-only directories. Tint window backgrounds on all read-only windows darker, not just on virtual and query folders. Automatically switch the background color as you navigate in and out of read-only folders. Fix highlight color on column resize when background color is not white. Fix "reverse video" effect so that the highlight color is the inverse of the background color. On Desktop however, highlight color is always black or white. Do not alter focus in save dialogs after initial focus on the file name because focus on the pose view is required for cut/copy/paste to work. Make Edit Name work in file open/save dialogs and make Cut/Copy/Paste work while editing file name. Make Select all work in Edit name. Duplicate code cleanup: NameAttributeText::CommitEditedTextFlavor() and HeaderView::FinishEditingTitle() call common EditModelName() function in FSUtils. RealNameAttributeText inherits from NameAttributeText and calls its inherited CommitEditedTextFlavor() method. The alert text is defined in just one place in FSUtils ShouldEditRefName() instead of three. Consequently file name changed in the info window can now be undone. Change-Id: I3a78960057b8fb42d1f71af2ec3c808754c9b314 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6357 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
089f15ad |
|
25-Aug-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
Tracker: Remove some unneeded includes.
|
#
8854b897 |
|
09-Feb-2020 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
PaneSwitch: fix a layout issue with large font sizes This is used in Find window and also in Installer. Remove some unused code (I think leftovers from Tracker InfoWindow refactoring). Change-Id: Ic0dd07e06c11b3839adbe5b8ef9598a5b16171a6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2234 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
4766e7fe |
|
22-Dec-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Tracker InfoWindow: collapse borders and make resizable Fixes #15344. Change-Id: I3560137248babb88e9475efb775675decb4d1181 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2050 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
84dc1163 |
|
25-Aug-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Tracker InfoWindow: add a tab with file attributes Now there is no need to resort to listattr and catattr to see the attributes of a file. You can get them easily, from the GUI. Limitations: - No editing support - Only a few well-known types are handled - No support for attributes with array of values or otherwise unexpected size - Special handling for B_TIME_FORMAT which is annoyingly of a different size between 32 and 64bit systems, making the attribute format slightly incompatible. The window is a bit small to show all the information, so the "Type" column is put off-view on the right, one can scroll to it if needed. Vertically there is space for only 4 to 5 entries. It was suggested that we could merge the permissions and information tabs, making the new first tab higher, and thus adding more space to this one as well. Change-Id: I75d192314bc60378c2f058547485cb9c30263485 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1748 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
9bb8d3a4 |
|
25-Aug-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Tracker InfoWindow: fix regressions - Misplaced popup window for showing truncated paths in full (#15301) - Crash when using Alt + E to edit the filename (#15302) - "Link To" information for symlinks does not fit in window (#15303) Change-Id: I72416ab4473e0b01c33817b9364eb9e9e59172e1 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1747 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
2140520f |
|
25-Aug-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Tracker InfoWindow: layoutify, use tabs - Use layout kit to make a few things simpler - Separate the view showing the header (icon/name) and the one showing the extra details, making two simpler files instead of a complex one - Fix some layouting issues - The permissions are now in a second tab, allowing to add a third one with other things (more on that later) screenshot: http://pulkomandy.tk/drop/fileinfo.png Change-Id: Ief80815eba749723664f40f1317f8aa4cf692162 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1745 Reviewed-by: Ryan Leavengood <leavengood@gmail.com>
|
#
ebb30434 |
|
25-Aug-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Tracker: move AttributeView to own file and rename Change-Id: I046eb9aa0fef792e9e940d0a6dfd887ede2fa996 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1744 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
97218560 |
|
25-Aug-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Tracker: move InfoWindow to a subdirectory. I'm going to split it into even more files, and it's easier to track what's part of it this way. Change-Id: I09c302da38ce96f0077c5f53fd17c08cdd6c22c9 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1743 Reviewed-by: Ryan Leavengood <leavengood@gmail.com>
|