Page 1 of 1

Tabs: new mouse click action

Posted: 03 May 2014 18:45
by Filehero
Hi Don,

I would like to see a new on *-click mouse action Toggle last|previous tab, and if it's feasible a new on single-click mouse event as well.

Expected behaviour
In a given XY session on source event

Code: Select all

- if (the currently active tab X has at least one previously active sibling Y)
--- focus Y
- else
--- do nothing
Cheers,
Filehero

Re: Tabs: new mouse click action

Posted: 05 May 2014 11:15
by admin
Nice idea but technically tricky. I implemented it experimentally as a tweak:

Code: Select all

TabOnDblClick=8
Nice side effect: You can dbl-click *any* tab in the bar to trigger the toggle, so you have a large target for the mouse.

Re: Tabs: new mouse click action

Posted: 05 May 2014 11:42
by Filehero
Cool, thanks. :D

Q: which version got that tweak?
admin wrote:

Code: Select all

TabOnDblClick=8
Nice side effect: You can dbl-click *any* tab in the bar to trigger the toggle, so you have a large target for the mouse.

Re: Tabs: new mouse click action

Posted: 05 May 2014 13:13
by admin
The next.

Re: Tabs: new mouse click action

Posted: 05 May 2014 14:48
by bdeshi
nice! but what happens to tab double-click action set up in "config>tabs>on dbl-click"?

Re: Tabs: new mouse click action

Posted: 05 May 2014 15:44
by admin
SammaySarkar wrote:nice! but what happens to tab double-click action set up in "config>tabs>on dbl-click"?
The tweak will not survive OK-ing the Configuration dialog. It's only an experiment for now. If it looks good I will add it to that list as "Select previous tab" or so.

Re: Tabs: new mouse click action

Posted: 05 May 2014 20:22
by admin
Forget the tweak. I just added it to the UI. :)

Re: Tabs: new mouse click action

Posted: 05 May 2014 20:26
by admin
admin wrote:Nice side effect: You can dbl-click *any* tab in the bar to trigger the toggle, so you have a large target for the mouse.
PS: This works only if you have programmed the middle button to perform a dbl click.

Re: Tabs: new mouse click action

Posted: 05 May 2014 20:43
by Filehero
admin wrote:Forget the tweak. I just added it to the UI. :)
:appl:
admin wrote:Nice side effect: You can dbl-click *any* tab in the bar to trigger
That's ultrasmooth. :appl: :appl: :appl:

Nevertheless, except for the X close button, a LMD is eagerly awaiting being assigned a special tab job. :wink:

For me, that's a little but huge enhancer of my daily work. :D :beer:

Edit: I just started to scratch my tabs and make the tree path jump, jump, jump ...


Thanks a lot,
Filehero

Re: Tabs: new mouse click action

Posted: 05 May 2014 20:48
by admin
BTW, I assume you know about this CKS possibility:
Miscellaneous | Tab Functions | Open Previous Tab

Re: Tabs: new mouse click action

Posted: 05 May 2014 21:00
by Filehero
admin wrote:Miscellaneous | Tab Functions | Open Previous Tab
Yep, but here the productivity gain comes from the mouse. In contrast, a majour CKS goodie ist <ctrl><shift><t> - Restore Last Closed Tab.

I browse the web, and I browse my files........

Cheers,
Filehero

PS: FF29 has got a nice gui touch-up, many seem to hate, I like it.
FF29.png

Re: Tabs: new mouse click action

Posted: 05 May 2014 21:08
by admin
OMG. Please tell me how to get the tab bar back down to where it was before.

Re: Tabs: new mouse click action

Posted: 05 May 2014 21:15
by Filehero
admin wrote:OMG. Please tell me how to get the tab bar back down to where it was before.
-> Self-censored: OT moved to a new thread.

Cheers,
Filehero

Re: Tabs: new mouse click action

Posted: 05 May 2014 21:23
by Jerry
admin wrote:BTW, I assume you know about this CKS possibility:
Miscellaneous | Tab Functions | Open Previous Tab
Wow, I don't know when this was added but this seems to address my previous tab issue posted some time ago here.