I want to add something to this issue: My mouse (Logitech G603) features side-buttons in order to go back and forth. These buttons don't work in File UWP yet and I'd would be really great, if mouses that have such buttons are supported. Hope the issue got clear. Thanks for the great app! :)
My checklist:
[?] Mouse side buttons for history navigation
Remarks: Attempt to map these buttons to a key failed to fire the event with my mouse.
[x] Enter button to open an item
[x] CTRL + T for new tab
[x] CTRL + SHIFT + N for new item
[x] CTRL + C, CTRL + V, CTRL + F for their respective commands
[x] CTRL + W to close the tab
[x] CTRL + TAB to cycle between tabs
Don't know if this is fixed yet, but I think Alt + LEFT and Alt + RIGHT is a better way to go when navigating history. It's used in the original explorer and in most web browsers. Also allows for future group-selection when icons are in a tile layout (I assume something like that should be implemented in the future)
Ctrl + shift + n to create a new folder would be great to have (essential for me)
I updated my list
Instead of ctrl + shift + a for a new item it should be ctrl + shift + n as @eduardopatricio said, that's the current behavior in file explorer.
@yaichenbaum Correct, that was a mistake
@yaichenbaum I actually discovered the CTRL + C (Copy) accelerator was almost always blocked by a copy function specific to the row's text. After removing this, the event should always work as expected now. Oh, and I also finally removed the ugly black focus indicator around the DataGrid cells to match Windows Explorer. These changes will be in the next snapshot.
That's awesome, I kind of assumed it wasn't that simple to remove that black focus indicator and even took a quick look to see if I can tweak it but did not see a way. I love seeing the progress you are making.
@yaichenbaum I thought that too until I realized I can simply override the hardcoded style of the DataGrid.
<controls:DataGrid.Resources>
<SolidColorBrush x:Key="DataGridCellFocusVisualPrimaryBrush" Color="Transparent"/>
<SolidColorBrush x:Key="DataGridCellFocusVisualSecondaryBrush" Color="Transparent"/>
</controls:DataGrid.Resources>
May I add
Perhaps have a large checklist at the top of this issue to keep track? (plus a second list of rejected suggestion)
I've got some suggestions here:
I would really like to get these:
@yaichenbaum I looked at your list and found three times:
ctrl+[shift]+tab to switch tabs
Otherwise really nice list!
Possible additional shortcuts to be considered could be:
Other shortcuts that are inspired by macos and could work at least in the list view since they have no function there in the moment and could be used to navigate folders and files (in theorie much easier then the current situation):
@szaimen There is a shortcut for renaming already implemented - F2
Backspace is already implemented
Alt + Up is already implemented but it only works when the file area is focused at the moment.
There will be issues with "right" and "left" since when there is a grid view for items and those keys will be needed to switch focus on files and folders with the keyboard.
There will be issues with "right" and "left" since when there is a grid view for items and those keys will be needed to switch focus on files and folders with the keyboard.
I agree, so maybe just adding these shortcuts to the list view and not to the grid view?
There is a shortcut for renaming already implemented - F2
I don't know if a Function-key is appropriate at the current time because I know many devices and keyboards that have other shortcuts on these buttons as default. So maybe it would be appropriate to consider another additional one maybe with "alt" + "another key" or "ctrl" + "another key"?
F2 is the behavior in File Explorer, about having other shortcuts on those keys that's what the FN key is for.
F2 is the behavior in File Explorer, about having other shortcuts on those keys that what the FN key is for.
Yes, I know that but I just find it inconsistent to use.
(it is bad to reach and at least for me just to use in combination with the fn-key.)
The only shortcut, that I could imagine since almost every combination is already used is "ctrl+q" but this has other features in other programs.
Maybe also "ctrl+e" could be considered -> the "e" could stand for editing (aka renaming), but is already planned for searching (although it doesn't make sense imo to have ctrl+f and ctrl+e for the same behavoir, since they are neighbours on a keyboard and ctrl+f is more widely used for searching...)
Another possibility for this shortcut could probably be "ctrl+." (Ctrl + Dot-key) or "ctrl+enter".
But if you don't want this, I will accept it.
[?] Mouse side buttons for history navigation
Remarks: Attempt to map these buttons to a key failed to fire the event with my mouse.
Any update on that?
Also, can this issue be renamed to keyboard / mouse shortcuts? I actually wanted to create an issue about mouse navigation because I didn't find one at first.
@duke7553 Can we get to @R3voA3's request in the next update?
I would like to, but I'm unsure which key code represents the mouse side buttons.
@R3voA3 I believe I got it setup for navigating with the mouse buttons but I don't have a mouse to test with, are you interested in building from the source code and testing?
If you are able to test this out, you should use the v07.1-changes branch since that is where the changes have been made.
@yaichenbaum I am getting this error
System.UnauthorizedAccessException
HResult=0x80070005
Nachricht = Zugriff verweigert (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Quelle = System.Private.CoreLib
Stapelüberwachung:
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.GetResult()
bei Files.App.<DetectCustomLocations>d__50.MoveNext() in C:\Users\xxxxx\Source\Repos\files-uwp\Files\App.xaml.cs: Zeile321
shortly after I started the debugging.
Since I have no clue how to fix that I can not test the new changes.
@R3voA3 I would try enabling file permissions in the privacy setting in Windows.
Thanks for the tip, but that didn't help.
@R3voA3 Make sure to use the v07.1-changes branch, it looks like you are using master.
I cloned the 07.1 branch into visual studio.
You can switch branches on the bottom right of the status bar in Visual Studio.

Alright, now it's working.
Unfortunately, the mouse navigation doesn't seem to work. Pressing the side buttons when hovering over a folder, only opens them.
Ok, thanks for letting me know. I will need to spend some more time on this.
Moving this from #387
The biggest issue I find with the usability of Files UWP is the missing controls that I'm used to.
these are the controls I'd like to see added:
@yaichenbaum There is an app on the MS Store called Math Solver (https://www.microsoft.com/store/productId/9WZDNCRFJ47X) which uses mouse navigation. Maybe you can get in contact with him?
@R3voA3 I have the right code, I just need to get the events in the right place but the problem is I need a mouse to test with 😀
I will see if I can get my hands on one in the near future so I can get this working.
I can test it again, if you made some changes.
@R3voA3 thanks for the offer, I will let you know when there is something new to test.
@R3voA3 I made a small change, I don't know if it will work or not but feel free to try again.
@yaichenbaum Alright, navigating back works, although there is a noticeable delay between the pressing of the button and the actually navigation. Navigating forth doesn't seem to work yet.
Edit: The delay seems to only happend when navigating back to the home page.
@R3voA3 Can you test again if it's working to use the mouse buttons for navigation?
Works fine with the latest Store version. @yaichenbaum
In v0.9.2.0, alt+left/right not work correctly, sometimes they behavior like TAB key pressed and the focus moved.
And mouse back/forward button will make a left click event in window.
Can there be an option to customize the current keyboard shortcuts?
@AbelTheGeorge Customizing keyboard shortcuts is something we are looking into supporting.
Customizing keyboard shortcuts is something we are looking into supporting.
similar to microsoft edge chromium

@XPoppyX Can you open a separate issue with the concept you shared?
@XPoppyX Can you open a seperate issue with the concept you shared?
ok
Whenever I try to select multiple files using the Ctrl+space bar, it doesn't work, only Ctrl+left mouse click.
With the exception of one shortcut #2117, all items in this issue have been resolved. Moving forward, requests for new shortcuts should get their own issue.
Most helpful comment
Don't know if this is fixed yet, but I think Alt + LEFT and Alt + RIGHT is a better way to go when navigating history. It's used in the original explorer and in most web browsers. Also allows for future group-selection when icons are in a tile layout (I assume something like that should be implemented in the future)