I have a problem with the option "browser.tabs.closeTabByDblclick"
I have a problem with the option "browser.tabs.closeTabByDblclick". This function does not work as it should. Firstly, if I want to close the neighboring tab, I just need to click on the tab first, and only then double-click to close. I don’t know who came up with this, but in normal terms it should close tab without first choosing. Secondly, the function does not work with a quick double click, you need to press slowly. This is very annoying, you click on the tab and it does not close because you click "too fast". I could not find a solution and apologize for the translation errors.
Chi tiết hệ thống bổ sung
- Chuỗi đại diện người dùng: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0
Thông tin chi tiết
The reason that the double click feature doesn't work on an unselected tab is to prevent you from accidentally closing a tab when you are trying to select it. For example, if you are trying to change the tab and accidentally make a second click, the tab would close if you didn't have the delay.
As for the issue with clicking "too fast", I wasn't able to reproduce the issue. I was able to click as fast as I could and it would close the tab. The exception of course being directly after selecting the tab. For example, you can't triple click an unselected tab (1 to select it and 2 to close it) to close it. There's a small waiting period after switching tabs where the double click feature will not close the tab. This is again to guard against accidental closing.
If you are having consistent issues getting the double click to close a tab if you are clicking fast, try running Firefox in Safe Mode. It's possible that something is slowing Firefox or an extension is conflicting with Firefox, making the program fail to detect a rapid double click.
Hope this helps.
I know this might not be a suitable workaround, but I'll mention it as an option:
If you middle-click a tab using the mouse scroll wheel it will close even if it's not the currently active tab.
I have never used that closeTabByDblclick feature. Instead I use middle-click to close a Tab.