Preference "browser.tabs.maxOpenBeforeWarn" actual value is different from expected value
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
People
(Reporter: EpicTux123, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0
Steps to reproduce:
The preference "browser.tabs.maxOpenBeforeWarn" allows the user to set how many tabs should be allowed to open before a warning is presented for opening too many tabs.
However, the actual value is different from the expected value.
Actual results:
For example, if I set "browser.tabs.maxOpenBeforeWarn" to "5", it should only warn me if I try to open 6 tabs or more.
Expected results:
In reality, it warns me when I try to open 5 tabs or more. So for me not to get the warning, I have to set the desired number of tabs plus one, which is wrong considering the logic implied by the name of the preference itself.
If the defined maximum is 5, then it should not warn me if I have reached the maximum, which is in the range allowed to not get a warning. It should only warn me if the number of tabs is above the maximum.
Reporter | ||
Comment 1•9 months ago
|
||
I apologize, I ended up inverting the fields of Actual Results with Expected Results, but I believe it is still clear and there is no major confusion in understanding.
Comment 2•9 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Reporter | ||
Updated•9 months ago
|
Comment 3•9 months ago
|
||
Hello, thank you for the bug report!
Managed to reproduce this issue on:
- Firefox Nightly 129.0a1;
- Firefox 128.0;
Tested and reproduced on:
- Ubuntu 22;
- macOS 14;
- Windows 10;
STR:
- Launch Firefox.
- Go to about:config and set the value for
browser.tabs.maxOpenBeforeWarn
to5
. - Restart Firefox.
- Enable Bookmark sidebar.
- Make sure you have 5 bookmarks saved in Bookmarks Toolbar.
- From Bookmarks sidebar, right click on Bookmarks toolbar and choose ‘Open All Bookmarks’.
Setting as NEW so the developing team can have a look.
Comment 4•9 months ago
|
||
Thanks for filing this bug!
This is an internal preference value and not meant to user facing so while the name of the pref might be a little bit inaccurate, we don't plan on changing this.
Description
•