r-bishop / bpbible

Automatically exported from code.google.com/p/bpbible
0 stars 0 forks source link

Add a keyboard shortcut to focus the toolbar verse navigation field (see screenshot) #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Why is this feature needed?
That would be a step toward a more fully keyboard driven application.

What problem will it solve?
Not having to use the mouse to focus the verse navigation field.

Describe a typical usage of the feature:
Find a verse reference on the internet, copy it with CTRL-C, alt-tab to
bpbible, press the shortcut to focus the verse navigation field, paste the
reference in with CTRL-V, hit ENTER and voila. All keyboard driven. Right
now you have to use the mouse, which is a bit cumbersome.

Original issue reported on code.google.com by war...@gmail.com on 19 Feb 2010 at 12:56

Attachments:

GoogleCodeExporter commented 9 years ago
Just a thought, how about F3 to focus it? A lot of apps use F3, like Firefox. 
Should
be pretty intuitive.

Original comment by war...@gmail.com on 19 Feb 2010 at 1:11

GoogleCodeExporter commented 9 years ago
Firefox uses F3 to show the search pane and find the next search result (or at 
least 
my version does).  That is what I would expect from F3.  I would use Ctrl-L in 
Firefox to focus the URL bar (or Chrome, for that matter).  That might be a 
candidate.  Another one would be Ctrl-G, by analogy to 'g' for the quick search 
reference.  However, here it would need to be made quite clear whether it 
should go 
to the location box for the currently selected pane (which is only that box for 
the 
Bible pane - commentary, dictionary, etc. have their own location bar) or the 
overall 
location bar.  I would tend towards the one for the currently selected pane, 
but that 
would mean that there was no universal way to get to the main reference box.

Original comment by jonmmor...@gmail.com on 19 Feb 2010 at 1:19

GoogleCodeExporter commented 9 years ago
You're right, Jon, Firefox does that with F3, next search result. It's just 
that I
have "search as soon as you start typing" enabled.

Yes, I think CTRL-L would be great. Or ALT-D (both Firefox and Internet 
Explorer).
Anyway, I like the analogy -- it is indeed a location bar.

My 2 cents: I'd like to see this shortcut focus the main reference box. Because 
all
others are linked to it. When you change the verse from their, all other frames
update themselves, if they are linked. So this box updates all frames, which 
doesn't
work vice versa, if you change a verse from, say, commentaries frame.

How about CTRL-L for the main reference box I highlighted on the screenshot, and
CTRL-G for individual frames?

Original comment by war...@gmail.com on 19 Feb 2010 at 1:57

GoogleCodeExporter commented 9 years ago
Also, it'd be great if when you press the shortcut, the box would not just be
focused, but also its contents selected. That way, if you paste a reference with
CTRL-V, it'll replace the highlighted contents immediately. In short, just like 
a
browser's address/location bar works. That would save time and improve user
experience, IMHO.

Original comment by war...@gmail.com on 19 Feb 2010 at 8:45

GoogleCodeExporter commented 9 years ago
Fixed in r986.

Original comment by jonmmor...@gmail.com on 19 Apr 2010 at 12:27

GoogleCodeExporter commented 9 years ago
Great job! However, there's a minor inconvenience -- now I can hit Ctrl-L to go 
to 
Location Bar, but I still HAVE TO use the mouse to get out of it. TAB doesn't 
work -- 
at least on Linux, rev988. Is this a bug or am I missing something?

Original comment by war...@gmail.com on 19 Apr 2010 at 6:13

GoogleCodeExporter commented 9 years ago
Similar happens on Windows.  However, tab order is controlled by the operating 
system 
and I'm happy to leave it that way. I'm not really sure where tab should go 
after 
leaving the location bar.

Original comment by jonmmor...@gmail.com on 20 Apr 2010 at 12:30

GoogleCodeExporter commented 9 years ago
Well, how about if TAB went to the frame which was focused when user hit Ctrl-L?

Original comment by war...@gmail.com on 20 Apr 2010 at 1:13