Double Click to Close Tab
Double Click to Close Tab
I thought this would have been mentioned already, but I didn't see it. In any case, it's simple (in concept): An option to double click on a tab to close it.
-
admin
- Site Admin
- Posts: 65246
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Double Click to Close Tab
Ok, there seems to be a true demand for thispissant wrote:I thought this would have been mentioned already, but I didn't see it. In any case, it's simple (in concept): An option to double click on a tab to close it.
Note that dbl-clicking a background tab will first select it and then close it, so this functionality works really cool only on the current foreground tab.
That's how it works with Firefox and the Tab Mix Plus extension (i.e. if an inactive tab is double clicked, it first takes focus, and then closes). Never bothered me one bit. I had to check just now to verify that it even happened that way. 
Re: Double Click to Close Tab
Catching the middle-click (like Tab Mix can) is the perfect solution for that.admin wrote:Note that dbl-clicking a background tab will first select it and then close it, so this functionality works really cool only on the current foreground tab.
Justin
Windows 7 Professional
Windows 7 Professional
-
admin
- Site Admin
- Posts: 65246
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Double Click to Close Tab
What is "Catching the middle-click" ?JustinF wrote:Catching the middle-click (like Tab Mix can) is the perfect solution for that.admin wrote:Note that dbl-clicking a background tab will first select it and then close it, so this functionality works really cool only on the current foreground tab.
-
admin
- Site Admin
- Posts: 65246
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Same here. Middle mouse button = double click is one the best things I ever did for my fingers.pissant wrote:It means using the middle mouse button, rather than a double click. And it wouldn't be a perfect solution for me, anyway, since I have the middle mouse button configured to perform a double click.
By "catch" I meant that in your event handler (in code) you would "catch" the middle mouse button being clicked and close the tab the mouse was clicked over. This way the tab wouldn't have to be focused before it was closed.
I see you've already implemented the double-click to close a tab...Thanks!!
I see you've already implemented the double-click to close a tab...Thanks!!
Justin
Windows 7 Professional
Windows 7 Professional
-
admin
- Site Admin
- Posts: 65246
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Only, if middle button is programmed to dbl click it can not be cought.JustinF wrote:By "catch" I meant that in your event handler (in code) you would "catch" the middle mouse button being clicked and close the tab the mouse was clicked over. This way the tab wouldn't have to be focused before it was closed.
Anyway, dblclick works fine.
-
legion1978
- Posts: 37
- Joined: 19 Oct 2005 18:37
- Location: south am
- Contact:
-
legion1978
- Posts: 37
- Joined: 19 Oct 2005 18:37
- Location: south am
- Contact:
XYplorer Beta Club