black7375 / Firefox-UI-Fix

🦊 I respect proton UI and aim to improve it.
Mozilla Public License 2.0
5.24k stars 183 forks source link

browser.tabs.cardPreview.enabled revert back after closing the browser #885

Closed seatg32 closed 2 months ago

seatg32 commented 2 months ago

Describe the bug

I've folders for bookmarks. I simply drag the tab to the appropriate folder to bookmark it, but with this unnecessary and ugly tab preview, it obscures the folders with its preview window. So, I can't just drag a tab and save it in a folder any more. I used what you suggested in the release note, I enabled this: “browser.tabs.cardPreview.enable" yet it reverts to false when I close the browser for some reason!

Expected behavior

the preference “browser.tabs.cardPreview.enable" should stay true after I close the browser.

Screenshots

No response

OS

Windows 10

OS - Others

No response

Firefox Version

125.0.2 (64-bit)

Distribution

Theme

Theme - More Info

No response

user.js setup

user.js setup
```javascript // Your settings ```

Additional context

No response

testitus commented 2 months ago

Since "browser.tabs.cardPreview.enabled" is set at "true" in the user.js file, it overrides what is in about:config.

You need to edit manually user.js.

With the Search tool of your code editor, look for "browser.tabs.cardPreview.enabled" (it should be around lines 280-290, depending on your Firefox UI version and variant.)

If you don't have a code editor, you can use Notepad.

Also, for some general information, here is an article describing more in details the tab preview feature : https://www.omgubuntu.co.uk/2024/02/firefox-devs-working-on-tab-hover-previews

seatg32 commented 2 months ago

Since "browser.tabs.cardPreview.enabled" is set at "true" in the user.js file, it overrides what is in about:config.

You need to edit manually user.js.

With the Search tool of your code editor, look for "browser.tabs.cardPreview.enabled" (it should be around lines 280-290, depending on your Firefox UI version and variant.)

If you don't have a code editor, you can use Notepad.

Also, for some general information, here is an article describing more in details the tab preview feature : https://www.omgubuntu.co.uk/2024/02/firefox-devs-working-on-tab-hover-previews

you're absolutely right. I completely forgot about the user.js file, I'm a layman with zero experience in these things, it is not really an excuse, but accept my sincere apology for the inconvenience I made.