piroor / treestyletab

Tree Style Tab, Show tabs like a tree.
http://piro.sakura.ne.jp/xul/treestyletab/
Other
3.51k stars 279 forks source link

[Enhancement] Enable Share menu for right-clicking on a tab in TST Sidebar (macOS) #3423

Closed ideologysec closed 3 weeks ago

ideologysec commented 11 months ago

Abstract

Steps to see the situation

  1. Start Firefox with clean profile.
  2. Install TST.
  3. Right click on the standard tab bar at the top of Firefox's window
  4. Observe "Share" option in right-click menu that connects to macOS system services (AirDrop, Messages, etc)
  5. Right click on tab in TST sidebar
  6. Observe missing "Share" item
  7. edit userChrome.css to remove top tab bar and maximize vertical real estate
  8. be sad that you can't airdrop or iMessage a tab to someone except by using the "File -> Share" menu bar item in Firefox
2023-12-22-20 41 27 2023-12-22-20 41 04

Expected result

Context menu on a tab in TST has "Share" option

Actual (present) result

"Share" item in context/right-click menu does not exist.

I realize this is a "quality of life" issue since I can work around it with the File menu, but it's much faster to use a right-click on a single tab to share, especially with a mouse.

Environment

piroor commented 10 months ago

Sadly it is impossible because Firefox does not expose features to call the native "Share" command via WebExtensions API.

ideologysec commented 10 months ago

Is this a bug I could file with Upstream? where would be the best place to do that?

piroor commented 10 months ago

There is an already filed bug: 1706675 - Add an API to call the "Share" command of Firefox itself (on Windows 10 and macOS) and sadly it is resolved as "WONTFIX".

irvinm commented 3 weeks ago

@piroor we should close this item as this won't be resolved upstream and there is nothing more you can do on this end.

piroor commented 3 weeks ago

Thanks. I hope to keep this issues tracker as the place to track unresolved problems possible resolved, so I close this for now.

FYI: The extended version TST built-in to Waterfox has the "Share" context menu command based on Experiments API which is restricted on the release version of Firefox. https://www.waterfox.net/