In new windows, "Focus on tab group" switches tab as well

Steps to reproduce

From a freshly opened Sandbox vault, execute the following commands in order:

  • “Open current tab in new window”
  • “Split right”
  • “New tab”
  • “Focus on tab group to the left”
  • “Focus on tab group to the right”

Expected result

Obsidian is focused on the tab group on the right side, with the “New tab” tab selected.

Actual result

Obsidian is focused on the tab group on the right side, with the “Start Here” tab selected.

Environment

SYSTEM INFO:
	Obsidian version: v1.1.16
	Installer version: v0.15.9
	Operating system: Darwin Kernel Version 22.3.0: Thu Jan  5 20:48:54 PST 2023; root:xnu-8792.81.2~2/RELEASE_ARM64_T6000 22.3.0
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

I would expect the “Focus on tab group <to the left|to the right|above|below>” command to only move focus between tab groups and nothing else. In reality, it also selects the first tab of the tab group that the focus is moved to. This only happens in newly opened windows, so in the main window, the behavior is as I would expect. The expected behavior in the main window can be reproduced by skipping the new window step:

  • “Split right”
  • “New tab”
  • “Focus on tab group to the left”
  • “Focus on tab group to the right”

thanks

will be fixed v1.2.4

1 Like

So fast! Thanks so much! :smiley:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.