Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 10-15-2015, 08:13 PM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Q: Editor shortcut keys question

In the S&R dialog there appears to be a duplication of the Alt- shortcuts, and some don't appear to work

F is used to the [Find:] ___________ and the [Find] action
R is used to the [Replace:] ___________ and the [Replace] action

The alt-a for [Replace all] doen't seem to work

I checked Preferences to see if there was a KB mapping that I needed to set but didn't see any

I'm used to using a KB for a lot of text-oriented actions as well as the Windows alt+somekey so I wonder if I'm missing something
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	177
Size:	86.5 KB
ID:	142875  
phossler is offline   Reply With Quote
Old 10-15-2015, 09:34 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by phossler View Post
In the S&R dialog there appears to be a duplication of the Alt- shortcuts, and some don't appear to work

F is used to the [Find:] ___________ and the [Find] action
R is used to the [Replace:] ___________ and the [Replace] action

The alt-a for [Replace all] doen't seem to work

I checked Preferences to see if there was a KB mapping that I needed to set but didn't see any

I'm used to using a KB for a lot of text-oriented actions as well as the Windows alt+somekey so I wonder if I'm missing something
Alt-A works here. This may be a focus issue

Remember the editor has its own preferences
What is weird (to me) is the Edit: Preferences: Keyboard shortcut lists Ctrl-A which is Select All (a standard) if in the main Edit area
theducks is offline   Reply With Quote
Advert
Old 10-15-2015, 10:43 PM   #3
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Hmmm - Maybe I'm too Windoze oriented, but the standard convention I'm used to is alt+key 'presses a button' or selects a menu

1. Having the same hot key for different controls is a little (or a lot) confusing

There are 3 alt-f short cutted fields visible in that editor window for example: [File] in the main toolbar, [Find] to highlight the string, and [Find] to actually execute the find

2. Not sure what you mean about 'focus issue'.

With no S&R open, the first alt-f doesn't seem to do anything, another opens the file menu

With a S&R open via Control-f, the first alt-f highlights the search string, the next 2 don't seem to do anything, and a fourth opens the file menu

In the screen shot you can't see the cursor, but it's position over [Replace All] and I could see a slight button color shift. I would think that meant that window had the focus. Alt-a still doesn't seem to do anything (for me at least)
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	146
Size:	184.2 KB
ID:	142880  
phossler is offline   Reply With Quote
Old 10-15-2015, 11:01 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
When there are multiple controls with the same Alt shortcut, pressing it toggle between them. So for instance the first Alt+F will focus the find field, another will focus the Find button (you then press the spacebar to actually click the button, and so on).
kovidgoyal is offline   Reply With Quote
Old 10-16-2015, 02:02 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Kovid - FYI: a 3rd Alt+F refocuses the kb to the the File drop down menu. On a large high res monitor this is easily missed; one is left wondering wtf did kb focus go

First time this happened to me, after tapping Alt+F a few times, I tapped Alt+R and the Recently used list popped - I noticed that

Just saying, off hand I can't think of an easy resolution

BR
BetterRed is online now   Reply With Quote
Advert
Old 10-16-2015, 02:11 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The search functionality has dedicated shortcuts, so there is no need to use the Alt based shortcuts for them
kovidgoyal is offline   Reply With Quote
Old 10-16-2015, 03:12 AM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Some of us have been using Alt+<the underlined character> for something like a quarter of a century as the standard way to navigate around GUI apps - including many parts of calibre.

In version 2.41, one too many Alt+F's and one is invited to select a folder for the new Editing an unzipped EPUB feature - which is a bit disconcerting.

BR
BetterRed is online now   Reply With Quote
Old 10-16-2015, 03:36 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Others of us long ago realized that using Alt based shortcuts for any non-trivial UI is simply not scaleable, so we switched to applications that provide dedicated, customizable keyboard shortcuts.
kovidgoyal is offline   Reply With Quote
Old 10-16-2015, 09:15 AM   #9
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Well, I had seen and checked the [Preferences] [Keyboard Shortcuts], but I can't figure out for example why the 'n' in [Replace and Find] is underlined in the GUI

That normally (for Windows anyway) indicates an alt+key to select or press a button (Control+n generates a count)

In general (and it's only what I'm used to) a Control+key is scoped to the session (?) like Calibre's Control-f for a 'Find', and an Alt+key selects or operates a control
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	139
Size:	172.7 KB
ID:	142886  

Last edited by phossler; 10-16-2015 at 09:18 AM.
phossler is offline   Reply With Quote
Old 10-16-2015, 09:28 AM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
All the search related shortcuts are under Preferences->Keyboard shortcuts->Search in the editor. You can find, replace, replace all, go to next/previous match, etc. They have nothing to do with Alt based shortcuts. Alt based shortcuts are orthogonal, and intended as simple mnemonic based alternatives for people that have trouble remembering shortcuts. Serious keyboard based usage should never rely on Alt based shortcuts.
kovidgoyal is offline   Reply With Quote
Old 10-16-2015, 09:39 AM   #11
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by phossler View Post
Well, I had seen and checked the [Preferences] [Keyboard Shortcuts], but I can't figure out for example why the 'n' in [Replace and Find] is underlined in the GUI

That normally (for Windows anyway) indicates an alt+key to select or press a button (Control+n generates a count)

In general (and it's only what I'm used to) a Control+key is scoped to the session (?) like Calibre's Control-f for a 'Find', and an Alt+key selects or operates a control
The two ashortcuts re disconnected.

The button underlines are from the 'standard' (assumed by the ) UI toolkit(s) used
theducks is offline   Reply With Quote
Old 10-16-2015, 10:05 AM   #12
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
Alt based shortcuts are orthogonal, and intended as simple mnemonic based alternatives for people that have trouble remembering shortcuts. Serious keyboard based usage should never rely on Alt based shortcuts.
1. I don't understand what 'Orthogonal' means

2. "for people that have trouble remembering shortcuts" would be me, but how does [Replace and Find] help a user to remember Ctrl+], especially when alt-n appears to not do anything?
phossler is offline   Reply With Quote
Old 10-16-2015, 10:10 AM   #13
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Quote:
Originally Posted by theducks View Post
The button underlines are from the 'standard' (assumed by the ) UI toolkit(s) used
I think that control captions are defined by the program, so the caption for [Find] would be .Caption = "&Find"

Possibly not underlining would be less confusing since there would not be any implications????
phossler is offline   Reply With Quote
Old 10-16-2015, 11:05 AM   #14
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by phossler View Post
1. I don't understand what 'Orthogonal' means
Unrelated, independent of

Quote:
2. "for people that have trouble remembering shortcuts" would be me, but how does [Replace and Find] help a user to remember Ctrl+], especially when alt-n appears to not do anything?
Because, the mnemonic (the underlined letter) is for the alt shortcut, not Ctrl+], and alt+n most definitely does something, it focuses that button, after which you have to press the spacebar, to actually press the button, which I explained in my first post in this thread.
kovidgoyal is offline   Reply With Quote
Old 10-16-2015, 11:23 AM   #15
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
OK -- got it now (finally)
phossler is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editor plugin question DiapDealer Development 2 07-28-2014 10:23 PM
Editor: ToC Editor: Start entry macnab69 Editor 2 06-25-2014 11:15 AM
Metadata Editor Question locomouse Sigil 14 02-22-2013 02:12 PM
NiLuJe usbnet - question about keys location passerby314 Kindle Developer's Corner 2 01-07-2013 04:23 PM
Question on Index editor rpitkin49 Sigil 10 12-14-2012 04:44 PM


All times are GMT -4. The time now is 12:44 AM.


MobileRead.com is a privately owned, operated and funded community.