Page 1 of 1
Mouse cursor location behaviour inconsistency
Posted: 04 Aug 2015 12:44
by zer0
I have to be honest: this is quite annoying. Put simply: there does not seem to be complete consistency of behaviour when it comes to mouse actions triggered with respect to cursor location.
For example, XY seems to be "mouse cursor location aware" when it comes to the wheel scrolling. So, if a cursor is in either of the list panes (irrespective of which one is active), wheeling up and down scrolls the list. Similarly, if a cursor is over the tab bar, wheeling up and down flicks between the tabs.
However -- and this is my bugbear -- the cursor-location awareness does not extend to side mouse buttons that allow rocking back and forth through current tab's history. It only does it for the currently selected tab, irrespective of where the cursor actually is. I make extensive use of dual panes, so having to flick between them to change locations is really something I could do without. Especially since other behaviour is location-aware, so it's as much about convenience as consistency.
P.S. Don, I remember you saying that you don't have a mouse that has those buttons. Not sure if the situation changed since then. However, I don't think that you need to have one either. You should just need to get the cursor location -- like you must do for scrolling -- and action in the tab of the pane where the cursor is.
Re: Mouse cursor location behaviour inconsistency
Posted: 04 Aug 2015 16:33
by admin
No idea what the expected/standard behavior is in that case, but it would be easy to implement.
Re: Mouse cursor location behaviour inconsistency
Posted: 04 Aug 2015 18:08
by zer0
admin wrote:No idea what the expected/standard behavior is in that case, but it would be easy to implement.
Basically, the expected behaviour is to go forward/back in history of the tab in whose list the mouse cursor is currently located. In [potentially] simpler terms:
Pane 1 current tab's history:
A <> B <> C (I am in B, having been to A at some point in the past, but have since visited C)
[Inactive] Pane 2 current tab's history:
D <> E <> F (Similarly, the list shows contents of E, having been to D in the past but already been to F and returned)
When my mouse cursor is located in the list of Pane 1, clicking the "Back" mouse button should trigger the equivalent of Alt+Left and "Forward" should trigger Alt+Right.
If I was to move my cursor to inactive Pane 2's list of E, "Back" and "Forward" should behave the same as with Pane 1 (Alt+Left and Alt+Right, respectively) but -- and here's the key bit -- without me having to make Pane 2 the active one. In short, the behaviour should rely on where the mouse cursor is and not which pane is active.
Glad to know that it will be easy and look forward to testing the implementation

Re: Mouse cursor location behaviour inconsistency
Posted: 04 Aug 2015 18:55
by bdeshi
make it a togglable option. I've often scrolled and wondered why isn't the list moving? only to find the cursor was on the other pane, or the catalog... Add x1/x2 buttons to the mix, and I'll lose my mind!
Re: Mouse cursor location behaviour inconsistency
Posted: 04 Aug 2015 23:41
by PeterH
SammaySarkar wrote:make it a togglable option. I've often scrolled and wondered why isn't the list moving? only to find the cursor was on the other pane, or the catalog... Add x1/x2 buttons to the mix, and I'll lose my mind!
Though it wouldn't be a mix then, but consistent. You want the inconsistent mix
I'm with zer0: mouse buttons and wheel are for the pane the cursor is over, while only mouse-forward/back are for the active: that seems a strange mix
Or should the toggle switch
all mouse-actions between active or mouse-over?
(Hehe - strange for left&right button

)
Re: Mouse cursor location behaviour inconsistency
Posted: 05 Aug 2015 08:09
by bdeshi
Nothing against consistency. I wanted an option to toggle both scrolling and back/forward on cursor location. :smile:
Re: Mouse cursor location behaviour inconsistency
Posted: 05 Aug 2015 10:18
by zer0
SammaySarkar wrote:Nothing against consistency. I wanted an option to toggle both scrolling and back/forward on cursor location. :smile:
Well, there is no option now: it just works the way it works. So are you looking for 2 birds to be killed there with one stone: resolve the consistency conflict and have it toggled on a active pane / cursor location basis?
Re: Mouse cursor location behaviour inconsistency
Posted: 05 Aug 2015 11:30
by PeterH
zer0 wrote:SammaySarkar wrote:Nothing against consistency. I wanted an option to toggle both scrolling and back/forward on cursor location. :smile:
Well, there is no option now: it just works the way it works. So are you looking for 2 birds to be killed there with one stone: resolve the consistency conflict and have it toggled on a active pane / cursor location basis?
More or less I think that's what he wants.
My addition, better understandable, was: should this also affect the scroll wheel functions?
(While my comment to left/right button was a joke

, but with reference to consitancy

)
Re: Mouse cursor location behaviour inconsistency
Posted: 05 Aug 2015 12:00
by admin
Spoke too early. Not possible to go back in the back pane (without making it the front pane first).
Re: Mouse cursor location behaviour inconsistency
Posted: 05 Aug 2015 15:08
by zer0
admin wrote:Spoke too early. Not possible to go back in the back pane (without making it the front pane first).
Hmm, given that I can script the toggling over to the other pane, going back/forward in history and then toggling back to the original pane, why is it so impossible? The only thing I am missing -- other than an ability to assign scripts to those mouse buttons -- is being able to determine which pane a cursor is in. You can do that, because you do exactly that when the wheeling action is triggered.