treestyletab icon indicating copy to clipboard operation
treestyletab copied to clipboard

[Enhancement] Support Firefox Split View

Open omid opened this issue 2 months ago • 3 comments

Abstract

Steps to see the situation

  1. In Firefox nightly, go to about:config
  2. Enable browser.tabs.splitView.enabled
  3. Then I expected to see "Open to Split View" menu on the context menu of the tabs

Refer to this Reddit post for the screenshots and options: https://www.reddit.com/r/firefox/comments/1opelhw/firefox_split_view_is_here/

Environment

  • Platform (OS): Linux
  • Version of Firefox: Latest nightly version (146.0a1)
  • Version (or revision) of Tree Style Tab: 4.2.7

omid avatar Nov 08 '25 15:11 omid

Currently Firefox (Nightly 147.0a1) does not provide any information about the split view to addons via WebExtensions API. Tabs got as tabs.Tab via browser.tabs.query() (and other APIs) does not have any hint telling the tab is rendered as a split view or not. And the meta bug about the feature does not list any bug about WebExtensions API for addons. https://bugzilla.mozilla.org/show_bug.cgi?id=1980370

BTW, a "split view" tab looks to be treated just as a tab next to the original tab internally. And the "split" status is not restored for now - it is restored just as a next tab after restarting of Firefox.

piroor avatar Nov 12 '25 09:11 piroor

@piroor I'm about to schedule the implementation of the extension APIs for the Split View feature.

The current set of APIs is very minimal, described at https://github.com/w3c/webextensions/blob/main/proposals/split_tabs_proposal.md (added in https://github.com/w3c/webextensions/pull/842, also referenced from 1993037 - Expose splitViewId in tabs extension API).

Since the implementation has not started yet, now would be a good time to voice whether the proposed APIs are sufficient for the extension to work with the Split View feature, or whether additional work is required. Could you take a look at the API description, and let me know if there are anything missing?

Rob--W avatar Dec 08 '25 15:12 Rob--W