Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditionally show/hide Sidebery for windows that are taller than they are wide #979

Closed
FFdhorkin opened this issue Mar 7, 2023 · 1 comment

Comments

@FFdhorkin
Copy link

FFdhorkin commented Mar 7, 2023

Description

I have two monitors; one is oriented vertically, the other landscape (like most people).

Sidebery is great when I'm on my normal 16:9 monitor. But when I'm on my 9:16 monitor, vertical tabs take up critical screen real estate.

There's an addon I use called Paxmod that allows you to have multiple tab rows at the top of your screen.

I created a request over there to add ability to conditionally switch behavior. numirias/paxmod#108

I'm not sure whether some of this functionality would be better suited for implementation in Sidebery as opposed to Paxmod, so I'm creating a semi-duplicate issue here of the one there.

For convenience, here's a simplified version of my desired behavior that doesn't explain Sidebery behavior:

When I'm on my Portrait monitor:

  • automatically close Sidebery if open (but leave other sidebars open)
  • normal Paxmod behavior (titlebar disabled, multiple tab rows)
  • integrate Sidebery panels into Paxmod so that I can access Sidebery panels even when Sidebery's sidebar is closed (not sure whether or not Sidebery exposes an API for the panels. I imagine the visual side of this would need to be on Paxmod side)

When I'm on my Landscape monitor:

  • I would like to automatically open Sidebery sidebar
  • replace Paxmod's tab rows with a combination of the default Firefox titlebar (i.e. your window title plus minimize/maximize/close buttons) and "tabs" that are actually Sideberry "panels" (basically, show what Sidebery shows at the top of their sidebar as the tabs at the top of the screen)

Current behavior / Example of why I want this:

image

@FFdhorkin FFdhorkin changed the title Conditionally show/hide Sideberry for windows that are taller than they are wide Conditionally show/hide Sidebery for windows that are taller than they are wide Mar 7, 2023
@mbnuqw
Copy link
Owner

mbnuqw commented Mar 24, 2024

Impossible to do from Sidebery side. You can use #214 (Sidebery settings > General > Add preface...) with userChrome.css as a workaround (to show/hide native tabs when Sidebery sidebar is off/on), but Firefox still requires explicit user action (click) to open/close sidebar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants