sidebery icon indicating copy to clipboard operation
sidebery copied to clipboard

Opening or moving tab to "new window" opens a new window, but with sidebery closed

Open StudioNirin opened this issue 1 year ago • 4 comments

Steps to reproduce

  • Open Firefox in a new profile
  • Install Sidebery
  • open some tabs
  • right click a tab and move to 'new window'

Actual behavior

New window opens with that tab, but sidebery sidebar is closed

Expected behavior

Sidebery should remain open in the new tab

System

Windows 11

Firefox version

1.28 and 1.29beta and nightly

Sidebery version

5.2.0

Logs

no messages seem to appear.

StudioNirin avatar Jul 17 '24 05:07 StudioNirin

same problem on arch linux

alegaab avatar Jul 25 '24 02:07 alegaab

Adding fuel to this fire. I also have this issue on both Windows 11 and Arch Linux.

Frai7ty avatar Jul 27 '24 16:07 Frai7ty

https://github.com/mbnuqw/sidebery/issues/405

uaevuon avatar Aug 12 '24 02:08 uaevuon

Tab Center Reborn doesn't have this problem once you move windows around a couple of times.

UnholySheep avatar Oct 21 '24 15:10 UnholySheep

This can be done with a workaround. Here's how I did it -

You need to modify your xulstore.json file within your profile to read in the package id of Sidebery as an extension to load when a new window is opened.

Go to about:support in your browser.

  1. Scroll down to the Add-ons section and make note of the ID value for the Sidebery extension.
  2. Click on "Open Folder" in the Profile Folder value near the top to find the xulstore.json file. Edit this in any text editor.
  3. After "main-window:{...}, add "sidebar-box":{"sidebarcommand":"_XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX_-sidebar-action","style":"order: 1; width: 238px;","checked":"true"}, Replace the GUID of Xs here with the ID value of your Sidebery extension, keeping the underscore characters at start and end. And modify the width value as required.

Restart Firefox.

Hope that helps!

Squire4Hire avatar Nov 05 '24 20:11 Squire4Hire

It helped a lot : thanks, @Squire4Hire !

noraef avatar Nov 07 '24 17:11 noraef

@Squire4Hire Thanks, this works! Is it possible to have the same settings when opening in a new private window (ctrl+shift+p)? The setting persists when I open the new private window through the dock icon, but not through the keyboard shortcut.

jeb12301 avatar Mar 25 '25 18:03 jeb12301

@jeb12301 - xulstore.json is used for persistent settings related to the UI and is not utilized or modified during a private window session, rendering this approach ineffective. As far as I'm aware, there is no way to retain these settings in a private window session accordingly. Your best approach might be to toggle Containers with 'F1' after a private window has been opened.

Squire4Hire avatar Mar 25 '25 19:03 Squire4Hire

Closing this as addons can't control this behavior

mbnuqw avatar Mar 26 '25 14:03 mbnuqw