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

Cannot pin/unpin extensions anymore. #6

Closed
VaiTheCatto opened this issue Nov 9, 2023 · 11 comments
Closed

Cannot pin/unpin extensions anymore. #6

VaiTheCatto opened this issue Nov 9, 2023 · 11 comments
Assignees

Comments

@VaiTheCatto
Copy link

I tried unpinning some of my extensions from the top right but i cant right click them or even click on them

@VaiTheCatto
Copy link
Author

one more thing. when i click on them, it just opens a new tab

@Tagggar Tagggar self-assigned this Nov 9, 2023
@Tagggar
Copy link
Owner

Tagggar commented Nov 9, 2023

I tried unpinning some of my extensions from the top right but i cant right click them or even click on them

Hello, thank you for feedback.
To configure extensions position:

  1. You need to restart Firefox in Troubleshoot mode (without themes / extensions):
    Alt > Help > Troubleshoot Mode

  2. Pin / unpin / adjust extensions from customization menu and restart.

@Tagggar
Copy link
Owner

Tagggar commented Nov 9, 2023

All buttons have been removed to maximize space for Tabs and to enhance the overall UI simplicity.

You can unhide Extensions button by deleting the */ in the Hide Items section of the userChrome.css file:

/* ❌ Extensions Menu */
#unified-extensions-button,

to 

/* ❌ Extensions Menu
#unified-extensions-button,

After, you can easily customize the position of the Extensions Menu, for example:

#unified-extensions-button {
  position: fixed !important;
  top: 38px;
  right: 8px;
  z-index: 2 !important;
}

@VaiTheCatto
Copy link
Author

i see. i think i fixed it by unpinning all my extensions. what if i have to access a menu for ublock origin or smth. gestureify?

@Tagggar
Copy link
Owner

Tagggar commented Nov 9, 2023

  1. Full Extensions settings can be accessed via the shortcut: Ctrl + Shift + A,
    or through the browser's main menu:
    Alt > Tools > Add-ons

  2. Some extensions are available via the context menu like uBlock:
    RMB > Block Element.

  3. Other extensions, such as Gesturefy, do not require constant tweaking after the initial setup. Therefore, keeping them in the extensions menu is unnecessary.

Certainly, if you utilize numerous extensions that require frequent menu access, you can display the ❌ Extensions Menu, as detailed above.

@VaiTheCatto
Copy link
Author

Understood. Thank You.

@Tagggar Tagggar pinned this issue Nov 10, 2023
@AeliusSaionji
Copy link

The menu doesn't necessarily need be clickable or visible, but it does need to exist in order for other extensions to draw their own popups when invoked by shortcut.

The current default should probably be changed so it doesn't break invoking extension popup by their keyboard shortcut.

@AeliusSaionji
Copy link

AeliusSaionji commented Nov 28, 2023

On this line

#unified-extensions-button,

I replaced with this

#unified-extensions-button {
  position: fixed !important;
  top: 0px;
  left: 0px;
  z-index: -1 !important;
}

The z-index: -1 seems to do the trick. The rest is just moving the popup menu to the top left.

I want to stress: I do not know any css, I'm just poking at this.

@Tagggar
Copy link
Owner

Tagggar commented Nov 29, 2023

Hello, and thanks for the feedback.

Yes, that's actually how it works. The main goal of this configuration is to demonstrate the ease of using the browser by removing the UI clutter. Thus, everything is hidden and minimalist by default, while all functionality is preserved for 90% of users.

Moreover, the code is easily configurable to customize the UI to suit your needs.

@VaiTheCatto
Copy link
Author

Ok thanks a lot for da help :D

@AeliusSaionji
Copy link

AeliusSaionji commented Nov 30, 2023

Yes, that's actually how it works. The main goal of this configuration is to demonstrate the ease of using the browser by removing the UI clutter.

To be clear, the Z index of -1 keeps it hidden, so this is a purely functional change without visual impact.
When you invoke an unpinned extension by its browser shortcut, it opens the unified menu and the extension is rendered inside the unified menu.

The current css appears to actually remove the unified menu as opposed to hiding it, which breaks the browser's ability to invoke unpinned extensions.

functionality is preserved for 90% of users.

This project is, to paraphrase you and my own experience, encouraging users to keep extensions unpinned. That should be fine- we don't need to keep uBlock pinned when we can bind Alt+o to access the UI, for example.
image

But, as mentioned above, the current css implementation denies us this option.

the code is easily configurable to customize the UI to suit your needs.

I think you've done a great job at that- I've never really been able to successfully tweak css before. But I am suggesting that this specific scenario is a solvable bug and not a UI customization.

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

No branches or pull requests

3 participants