Page 1 of 2
Double Click to Close Tab
Posted: 23 Nov 2005 07:22
by pissant
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.
Re: Double Click to Close Tab
Posted: 23 Nov 2005 08:00
by admin
pissant 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.
Ok, there seems to be a true demand for this
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.
Posted: 23 Nov 2005 08:12
by pissant
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
Posted: 23 Nov 2005 14:50
by JustinF
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.
Catching the middle-click (like Tab Mix can) is the perfect solution for that.

Re: Double Click to Close Tab
Posted: 23 Nov 2005 15:01
by admin
JustinF wrote: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.
Catching the middle-click (like Tab Mix can) is the perfect solution for that.

What is "Catching the middle-click" ?
Posted: 23 Nov 2005 15:16
by pissant
It means using the middle mouse button, rather than a double click, to perform the intended action. It wouldn't be a perfect solution for me, personally, since I have the middle mouse button configured to perform a double click.
Posted: 23 Nov 2005 15:19
by admin
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.
Same here. Middle mouse button = double click is one the best things I ever did for my fingers.
Posted: 23 Nov 2005 15:21
by JustinF
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!!
Posted: 23 Nov 2005 15:40
by admin
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.
Only, if middle button is programmed to dbl click it can not be cought.
Anyway, dblclick works fine.
Posted: 24 Nov 2005 00:48
by legion1978
personally im used to dblclick=rename, and midbutton=close, but i dont think its big deal
Posted: 24 Nov 2005 03:12
by pissant
Technically, you don't double click to rename, you issue two single clicks (could also be called a "slow double click", though that's not really accurate).
Posted: 24 Nov 2005 09:16
by admin
legion1978 wrote:personally im used to dblclick=rename, and midbutton=close, but i dont think its big deal
I'm used to dblclick=open, but it seems to have emerged as a de-facto standard for tabbed interfaces to close a tab by dblclick.
Posted: 24 Nov 2005 21:36
by legion1978
pissant wrote:Technically, you don't double click to rename, you issue two single clicks (could also be called a "slow double click", though that's not really accurate).
no i meant on tabs, no file lists.
and yep, browsers do have that config by default
Posted: 26 Nov 2005 07:01
by pissant
And I remember some blathering Opera fan telling me that double click closing wasn't any sort of standard.
Anyway, I think I found a
bug having to do with this new feature.
Posted: 04 Mar 2007 09:14
by Riki
is there any way to be able to double click the tab to send it to home. Middle click to close is great, but I would love to be able to double click the tab to go to its home..
Thanks
Riki