activitusbar icon indicating copy to clipboard operation
activitusbar copied to clipboard

Activitus bar doesn't recognize when switching to search

Open wjurkowlaniec opened this issue 2 years ago • 7 comments

When I do "CTRL+SHIFT+F" the left panel switches to search view, but it's not being reflected by Activitus bar. image So common situation is when I want to go to file explorer, first click closes the side bar and the second opens it up up with proper view.

Making it a proper bug report.. Steps to reproduce:

  1. Open explorer
  2. press CTRL+SHIFT+F
  3. Click explorer icon Result:
  • left panel closes Expected result:
  • left panel is switched to explorer

wjurkowlaniec avatar Apr 04 '22 09:04 wjurkowlaniec

This is still a thing for me (pressing CMD + Shift + S)

gopeter avatar Feb 06 '23 16:02 gopeter

Have you modified the key bindings as per the README.md ?

The API doesn't expose any method to detect the view being changed, so the best that the extension can do is redefine the keybinding to select the view manually.

Sadly, there's no way to force activitusbar to stay in sync with the selected view.

You might want to try turning off activitusbar.toggleSidebar. That will force the panel to stay open on whichever view is selected, which is different to the activity bar (which toggles).

Gruntfuggly avatar Feb 06 '23 19:02 Gruntfuggly

@gopeter What should CMD+Shift+S do?

For me it does a file save?

Gruntfuggly avatar Feb 06 '23 20:02 Gruntfuggly

@Gruntfuggly let's make a issue to vs code to add support for exposing api to sync opened panel!

wjurkowlaniec avatar Feb 06 '23 20:02 wjurkowlaniec

@gopeter What should CMD+Shift+S do?

For me it does a file save?

That's the shortcut for the search panel on Mac OS. But I just found your warning in the Readme file 🙈 Didn't seen that before. Sorry!

gopeter avatar Feb 07 '23 08:02 gopeter

@wjurkowlaniec I've upvoted it, but don't hold your breath. Even if it gets enough upvotes, I very much doubt they will implement it sadly.

@gopeter No problem, have you got it working now?

Gruntfuggly avatar Feb 07 '23 19:02 Gruntfuggly

Unfortunately not. Would it be possible that this extension expose own shortcuts to switch views? Then we could override the existing ones 🤔

gopeter avatar Feb 08 '23 08:02 gopeter