Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Selecting Tab shortcut on MacOS malfunction

for last two years I've been using shortcut to switch between Tabs in Android Studio on Mac. The Shortcut is CMD + Shift + [ / ].

I always have Project Tool window opened on a side.

Today this shortcut started to malfunction. Previously I could switch between tabs as many times I wanted. Now, when I switch once, the main window "lose focus", and when I click it again, tabs in the Project Tool Window, start changing in the dropdown menu.

Is there anyway to restore previous behaviour? I don't remember changing any setting.

I've uploaded that behaviour in the quick video: https://streamable.com/z9t6qb

I keep clicking on the main window to gain focus and start performing shortcut. First time I click it, the tab changes, but then, options from dropdown menu in the Project Tool window change.

EDIT: Two additional screenshots requested

enter image description here

enter image description here

like image 838
Karzel Avatar asked Nov 26 '20 10:11

Karzel


People also ask

How do you control tabs on a Mac?

Move between tabs: Click a tab or swipe left or right in the tab bar with two fingers. You can also press Control-Tab or Control-Shift-Tab to go to the next or previous tab. Reorder tabs: Drag a tab left or right.

How to fix Android Studio squatting on its own keyboard shortcut?

In this case, I discovered that Android Studio was squatting on its own keyboard shortcut with "Rerun Tests": The easiest way to fix double-shortcuts in the IDE is to find the "Apply Changes" keyboard shortcut in preferences, remove the keyboard shortcut, then re-add it.

How to fix double-shortcuts in Android Studio?

The easiest way to fix double-shortcuts in the IDE is to find the "Apply Changes" keyboard shortcut in preferences, remove the keyboard shortcut, then re-add it. That causes Android Studio to notify you of conflicts and how to fix it: Just click "OK" and the next dialog will give you an option to fix the conflict.

How do I enable keyboard shortcuts in Android Studio?

Two of the most useful shortcuts utilize the Fn (function) keys. It is therefore recommended that you enable the "Use all F1, F2, etc. keys as standard function keys" option [System Preferences > Keyboard]. Be sure to enable the Mac OS X 10.5+ keymap in Android Studio [Preferences > Keymap].

How to change keymaps in Android Studio?

The Android Studio keymap settings window. Keymaps dropdown: Select the desired keymap from this menu to switch between preset keymaps. Actions list: Right click on an action to modify it. You can add additional keyboard shortcuts for the action, add mouse shortcuts to associate an action with a mouse click, or remove current shortcuts.


Video Answer


1 Answers

This is apparently a known bug within the entire JetBrains IntelliJ/IDEA codebase that recently popped up, as documented here: https://youtrack.jetbrains.com/issue/IDEA-261595

It is currently marked as fixed, but the Android Studio team will need to get this change into Android Studio for it to be fixed there as well.

It's indeed very annoying as I see it happening as well.

like image 117
Jouva Moufette Avatar answered Oct 15 '22 17:10

Jouva Moufette