INTERACT FORUM

More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: MrC on December 12, 2012, 12:46:33 pm

Title: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: MrC on December 12, 2012, 12:46:33 pm
I find myself frequently selecting a bunch of files and pressing F2 to edit a cell.  But usually I've already selected the files before I realize I clicked on the wrong cell, so F2 ends up not editing the cell I want.  So I have to reselect all the files clicking on the appropriate column, and this can be cumbersome with a large selection.

What do folks think about having F2 open the cell under the mouse rather than the last clicked location?  Or Shift-F2 if necessary, so that the old behavior remains?
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: JimH on December 12, 2012, 12:48:03 pm
Do you know you can slow double click on the cell?
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: MrC on December 12, 2012, 12:50:06 pm
Do you know you can slow double click on the cell?

Yes, but too many times this ends up being a fast double cliick, and then it replaces the entire Playing Now playlist and starts playback.  Slow double click just takes too long sometimes, since the time interval appears to be affected by system load.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: MrC on December 12, 2012, 12:51:20 pm
Actually, it doesn't work correctly.  The first click causes a deselection.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: glynor on December 12, 2012, 01:39:50 pm
If my vote counts, I vote yes on this change.

The same thing happens to me regularly too.  The issue is that I almost always need to select an item based on a tag way-over to the left (the [Name] field, usually), and then I scroll to the right in the details view and find the cell that I want to edit, and hit F2.  Then, since it "edits" the [Name] field (based on where I last clicked), it slides the view way back over to the left.  This is visually jarring and disorienting, and then you have to hit tab a million times to get back to where you want to edit.  In other words, if you can't see the [Name] field and the field you want to edit on screen at the same time, it can be difficult to get right.

Using the mouse-hover location "feels" like the way it should work.  I don't know why, but I always mess it up too.  And, I can't think of any reasons why changing this behavior would cause problems (though, admittedly, I didn't try very hard).
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: Matt on December 12, 2012, 02:16:27 pm
I don't disagree, but this is fraught with unintended consequences.

To work nicely, the program needs to keep track of if you've last used the keyboard or mouse for navigation.  Because imagine moving the mouse, then doing down, down, F2 to edit a couple rows down.

It would be weird if the selection moved, but then it edited under the mouse instead of the selection you just moved with the down key.

So in place editing would have to have an anchor that's independent from selection state.

I think it's possible to solve this, but it's not a "sneak that in quick" change.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: MrC on December 12, 2012, 02:39:41 pm
I knew there would be some issues I hadn't thought of.

If you're able to find a good solution, that would be great.  Maybe Shift-F2 would just open the edit box under the mouse, leaving the old behavior untouched (and maybe changed once you find the right solution).
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: rjm on December 12, 2012, 02:45:53 pm
I run into the problem this proposal intends to solve almost every day.

It would be great if a solution could be found.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: Matt on December 12, 2012, 03:09:09 pm
Middle click?

I think middle-click scroll is a bit pointless now that every mouse has a wheel.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: wig on December 12, 2012, 03:31:26 pm
I'll re-suggest the addition of drop-down arrows.

Here's my mock-up.

(http://www.hotspur.us/albums/misc/jriverdropdown.jpg)

It could help in this situation, it would make mouse-only editing much quicker and more accurate. It could also be touch-friendly.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: MrC on December 12, 2012, 03:36:56 pm
Middle click?

I think middle-click scroll is a bit pointless now that every mouse has a wheel.

I could live with that.  Currently my (Razer) mouse is configured for Universal Scroll (which does up/down, left/right), but I never use that functionality.  I can configure it to Click... but will MC see this as a middle-click or a left-click?  I don't see how to configure it to Windows Button 3.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: glynor on December 12, 2012, 03:44:14 pm
I knew there would be some issues I hadn't thought of.

+1

I'm with everyone else... It isn't critical (which is why I never complained on my own, but jumped on MrC's complaint immediately).  Some kind of solution that doesn't cause unintended consequences would be sweet, but I won't die without one.

Middle Mouse seems a little... Concerning.  I agree, in principle, with Matt that the middle mouse scroll is dumb.  I don't know, I can just imagine that being accidentally triggered too much.  Something like Keypress+Click would be better, if you want to involve the mouse to make sure that's the input device being used.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: fitbrit on December 12, 2012, 03:59:02 pm
A kind of offshoot of glynor's request and situation; I'd love if MC standard view were to have some kind of "Freeze Panes" feature like Excel does. In other words, the one can choose to prevent the side scrolling of one or more columns on the far left. Thus, as you scroll right, the [name] column remains in place.
This would make in-place tagging quite a bit more convenient; as you scroll right to add, maintain or delete tags, you can always see the [name] or any other frozen columns you specified.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: vagskal on December 12, 2012, 04:42:23 pm
I run into the problem this proposal intends to solve almost every day.

It would be great if a solution could be found.

I even once wrote a bug report regarding this and Matt had to explain the intended behaviour (F2 opens the last clicked field, not the field where I had the cursors which I thought was the intended and intuitive behaviour). I have programmed a button on my Logitech mouse to send F2 (not the middle button) and I am not sure that it can be programmed to send something like ctrl+F2.

Slow double click does not work for multiple selection for the reason MrC stated (it deselects first).

I think I could live with F2 working on the field where the cursor is and I think it would be more intuitive for new users. But since Matt taught me how it worked I have learned to cope with the current way of things. I do not have strong feelings either way. (Changing the current F2 command to something that I am not able to teach my mouse to send would, however, be a bad thing for me.)
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: Matt on December 12, 2012, 04:58:59 pm
Shift+F2 is a hard reach.

I can't think of a left click + key that's available (ctrl and shift are used for selection, alt goes to the main program).

I tried Space+Click, but then if you hold space down it ends up repeating and going into the edit box.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: ThoBar on December 13, 2012, 06:47:47 pm
A kind of offshoot of glynor's request and situation; I'd love if MC standard view were to have some kind of "Freeze Panes" feature like Excel does. In other words, the one can choose to prevent the side scrolling of one or more columns on the far left. Thus, as you scroll right, the [name] column remains in place.
This would make in-place tagging quite a bit more convenient; as you scroll right to add, maintain or delete tags, you can always see the [name] or any other frozen columns you specified.
+1  :D
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: MrC on December 13, 2012, 06:55:54 pm
Since Alt-Enter goes to tag mode, what about Shift-Alt-Enter?
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: Matt on December 13, 2012, 08:12:46 pm
Since Alt-Enter goes to tag mode, what about Shift-Alt-Enter?

But isn't the point to make something easy to use in conjunction with the mouse?  Unless your hands are a lot more flexible than mine, that's not too easy to hit with only the non-mouse hand.

How about a right-click while the left button is down?  Or is that too prone to accidents?
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: rjm on December 13, 2012, 08:18:22 pm
But isn't the point to make something easy to use in conjunction with the mouse?  Unless your hands are a lot more flexible than mine, that's not too easy to hit with only the non-mouse hand.

How about a right-click while the left button is down?  Or is that too prone to accidents?

It'll take some practice to get used to this unusual motion but it'll probably work.

I would find double right click easier. Is this an option?
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: MrC on December 13, 2012, 08:27:41 pm
But isn't the point to make something easy to use in conjunction with the mouse?  Unless your hands are a lot more flexible than mine, that's not too easy to hit with only the non-mouse hand.

How about a right-click while the left button is down?  Or is that too prone to accidents?

I can see your point.  You're right, hovering the mouse over a cell and being able to enter a simple key-combo is the goal.

Generally, when I've selected a range of files, and hit F2, I type to enter a value (either entirely, of via type-select).  So I'm already there.  The mouse is useful for expanding the pick-lists.  Since I'm going to type anyway, I don't really care what the shortcut is; just want to avoid using the mouse again to remake the selection.

I'm not sure the left-right mouse will work well.  Its another one of those subtle timing actions, and misses will be aggravating so I'll stop using it after cursing a few times.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: wig on December 13, 2012, 09:17:29 pm
Can you program a double right-click?

Not as simple as drop-down arrows  :P , but it might work.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: MrC on December 13, 2012, 09:41:50 pm
Contextual menus are activated on right mouse-up.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: glynor on December 14, 2012, 01:09:57 am
Shift+F2 is a hard reach.

I hadn't really thought about it and took you at your word on this, but now that I try it...  What kind of teensy hands/monster keyboard do you have?  Shift-F2 is easy to reach on with my left hand with all of my keyboards that I have kicking around.

Something+F2 seems like the best option for mnemonics purposes (shift the normal function of F2).  I don't see why Shift-F2 wouldn't work.  Do most people have tiny hands or monster split keyboards and agree with Matt on this?  Or is it a southpaw thing?
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: Hendrik on December 14, 2012, 01:14:16 am
I agree with Matt that Shift+F2 feels unnatural to press, its not exactly an "easy" combination.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: rjm on December 14, 2012, 01:35:28 am
I feel a hand cramp coming on when I press Shift + F2.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: JimH on December 14, 2012, 06:30:35 am
I agree with Matt that Shift+F2 feels unnatural to press, its not exactly an "easy" combination.
How about double F2?
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: glynor on December 14, 2012, 08:33:59 am
I agree with Matt that Shift+F2 feels unnatural to press, its not exactly an "easy" combination.

Huh.  Maybe I have giant hands and don't realize it...  Or do all of you use those absurd split Microsoft "Natural" keyboards with the enormous footprint?

Or maybe it is just because I'm a video editor and NLEs make very heavy use of keyboard combos.  I regularly use 3-4 key combos, so Shift-F2 feels extremely mild by comparison.  Here's an example:  Add the default Audio Transition in Final Cut is Command-Option-T (the same as Alt-Windows-T on a PC keyboard), which I use daily.  A whole swath of the marking and angle commands are Shift+Number, or Shift-Option-Number, or Control-Number, or some other similar combination.  Shift-F2, honestly, feels more "natural" to me than typing your average capital letter, or even using the Shift-Number-Row combinations (!@#, etc).

Whatever.  No biggie.  I was just surprised.

I don't know if double F2 would work for your end, Jim (you'd have to make the initial F2 press "wait" for a little bit to check for the "double-tap"), but if you want to go that route, that'd be even easier.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: Hendrik on December 14, 2012, 08:43:07 am
I dont like double F2, its also a rather unintuitive key combination. Can't we just screw everyone and use F2? :p
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: Matt on December 14, 2012, 08:51:19 am
Double keys are hard to code, because normally the first action runs on the first key.  So then you have to wait to run the single action to see "will there be a double?"  And anything that makes things feel slower is bad.

My vote is right-click while left button is down.  It's mouse-only and simple to invoke.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: Hendrik on December 14, 2012, 09:04:31 am
I think this could work. I tried doing some of those clicks, and it seems OK.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: Matt on December 14, 2012, 10:03:03 am
Next build:
NEW: You can in-place edit under the mouse cursor by doing a right-click while holding the left mouse button down (or by pressing the keyboard menu key while holding the left mouse button down).

I like it.  And I think the change is unlikely to break anything else.

It reminds me of my old Nintendo days.  Up, up, hold down, start, Bill Clinton playing basketball!
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: MrC on December 14, 2012, 11:09:51 am
Thanks Matt!
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: rjm on December 14, 2012, 11:24:33 am
Love the way things get done around here. Thanks.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: vagskal on December 15, 2012, 03:59:20 am
Nice solution per se!

But it does not seem to work with multiple selections. Only the field where I clicked can be altered, not the entire selection. Using F2 with multiple selections on a list type field gives me a list of all the items in all the selected fields, while the new method only gives a list of the items in the specific field in the selection where I clicked. This makes the new method less useful for me.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: marko on December 16, 2012, 05:25:37 am
I came to post what vagskal has already said.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: vagskal on December 19, 2012, 05:50:14 am
On multiple selections using the new method on a field with a drop down menu (not checkboxes, the date field, for instance) or no drop down menu at all (the name field for instance), the selection is lost when I release the left mouse button to edit (unless I release the button over the very first item in the selection). It works with fields with a drop down menu with checkboxes.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: Matt on January 11, 2013, 08:37:25 pm
Bump now that this is public.

This is a little change to v18, but one I thought was pretty neat due to all the collaboration above.
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: InflatableMouse on January 12, 2013, 01:55:37 am
Wow I entirely missed this thread. It worked out nicely though thanks!  ;D
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: InflatableMouse on January 12, 2013, 02:11:23 am
Except ...

I thought this was supposed to keep a selection and edit a different collumn than was last selected with the last left click?

When I select a bunch of files and right click while holding down the left mouse button, it resets the selection to the file I clicked on and edits that field only?

Sorry if I'm being dim here, did I miss something?
Title: Re: Feature Request: F2 to edit selects cell under mouse (vs. last clicked location)
Post by: MrC on January 12, 2013, 03:04:05 am
I just tried it.  It seems I can only get the selection to remain about 1 in 20 tries.  Although I like the feature, the left-right mouse combo is turning out as I feared.  It is just too difficult to do accurately.