Naezr / ShyFox

A very shy little theme that hides the entire browser interface in the window border
Mozilla Public License 2.0
1.71k stars 31 forks source link

Make Sidebery open on new windows #151

Open jeb12301 opened 2 months ago

jeb12301 commented 2 months ago

Whenever I open firefox for a new workspace I need to open the sidebery sidebar with CTRL+E. This isn't for new windows when firefox is active. I was wondering if there was a simple fix for this issue?

Naezr commented 2 months ago

It's not clear what workspaces you're talking about. What OS are you using? Do you have previous tabs opening on startup enabled?

jeb12301 commented 2 months ago

Using hyprland so it basically starts up firefox separately each time I open it. Works similarly to if I were to open the new instance through cli.

Naezr commented 2 months ago

It actually works exactly the same way for me as well. I am using Fedora 40 with GNOME. When opening Firefox via the icon in the menu, or when creating a new window using Firefox itself (ctrl + N or ui button) Sidebery opens automatically. However, if I type flatpak run org.mozilla.firefox in the terminal, Sidebery does not open automatically in the created Firefox window.

In my experience, I have found that the same command in the .desktop file of menu icon, and in terminal behaves differently.

Also, when dragging a tab from Sidebery outside the window, the sidebar also doesn't open automatically in the new window. There might be some relation between all of this, but I'm not sure

jeb12301 commented 2 months ago

For each new instance from terminal, view -> sidebar -> sidebery is turned off. I'll try asking on the sidebery github but they mentioned something about how this was something to do with firefox.

Naezr commented 2 months ago

I think this problem applies not only to Sidebery, but to any extensions that can be opened in the sidebar. I created a clean Firefox profile, and checked the behavior by installing Sidebery, Tab Center Reborn and Bitwarden. Regardless of the extension open in Sidebar, it behaves the same way: the Sidebar opens automatically when you launch Firefox via the icon and when you press ctrl + n. However, the sidebar does not open automatically when launched from the command line