linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.21k stars 300 forks source link

Nemo keyboard shortcuts aren't working #2503

Open areographe opened 4 years ago

areographe commented 4 years ago

Issue Keyboard shortcuts don't work as expected

Steps to reproduce

  1. Open Nemo
  2. Use F3 to activate 'Extra Pane'
  3. Try to use F6 to switch focus between the Places sidebar, the original pane, and the Extra Pane

Expected behaviour

F6 should switch the focus between the three sections of the window. Instead, nothing happens.

Other information If the Extra Pane is deactivated with F3, F6 will behave correctly and switch focus between the Places sidebar and the original pane. However, if the Places sidebar is deactivated with F9, F6 does not switch focus to anywhere, or have any other visible effect.

areographe commented 4 years ago

Sorry, just realised that this may be a: Duplicate of #1263

Jeremy7701 commented 4 years ago

According to the list of Nemo shortcuts [ CTRL + F1 ], F6 is not a valid shortcut.

areographe commented 4 years ago

According to the list of Nemo shortcuts [ CTRL + F1 ], F6 is not a valid shortcut.

It's true that it doesn't appear in the list of Nemo shortcuts, but it nonetheless works to switch focus between the Places sidebar and the main pane of Nemo, so it's an actually-existing shortcut. Is there a different shortcut that should be used to switch focus between the panes? I'm trying to use Nemo with the keyboard alone but it's difficult to do so if the mouse is required to move the focus from one section of the program to another.

Edit: the binding appears at line 1407 in nemo-window-menus.c

Jeremy7701 commented 4 years ago

Just tried F6 on a single pane - and it does work - partially. If I'm on a bookmark under 'My Computer' I can switch to it from the main pane with F6 (no feedback given), but the up/down arrow keys allow me to choose anything in the 'My Computer' section; F6 then toggles me back to the main pane. It works similarly for the bookmarks section and presumably the same for the devices section.

But with two panes, it is as you say - F6 toggles between the two panes only. Personally, I quite like the present F6 behaviour, but only in a dual pane situation.

areographe commented 4 years ago

@Jeremy7701 have you tried hiding the sidebar with F9, closing the Nemo window, then opening a new one (with no sidebar), activating the extra pane with F3, and trying to switch between the panes with F6?

I just tried it now and it doesn't work, unless I use the mouse to move focus to the extra pane at least once, whereupon F6 will switch focus between the panes.

Personally, I quite like the present F6 behaviour, but only in a dual pane situation.

I get you. I'm honestly not sure what the ideal behaviour should be: maybe there should be one shortcut to switch focus to/from the sidebar (whether it's Places, Tree or Bookmarks), and another shortcut to switch between the two panes when both are activated? The main thing is at the moment it seems to be a bug that F6 behaves unpredictably (and confusingly) depending on the sidebar/extra pane being activated, and it's also missing from the list of shortcuts.

jkirk commented 3 years ago

Took me quite a while to figure out how to toggle the panes. Is it possible to customize the shortcut key? I find TAB way more intuitive. But please add the shortcut to the list of shortcuts. Thx!