Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-17-2021, 01:52 PM   #136
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by KevinH View Post
So unless there are issues...
It's not a bug, but so far, shortcuts are asigned by positions. Thus, if I move a clip, the asigned shortcut is applied to another clip, not to the original.
Will there be some way to assign the shortcuts by clip name and not by position?
RbnJrg is offline   Reply With Quote
Old 09-17-2021, 02:17 PM   #137
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
No plans to accommodate that that I know of (not that that couldn't change).

Shortcuts are assigned to the clip number, not the clip action/description. It has always worked the way it currently does. I can see how it might cause some confusion when reorganizing things in the clip editor, though. But this is the first time I remember anyone bringing the issue up. Perhaps people don't do a lot of clip reorganization.

Last edited by DiapDealer; 09-17-2021 at 02:25 PM.
DiapDealer is offline   Reply With Quote
Old 09-17-2021, 02:29 PM   #138
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
And as names/actions for clips are user assignable and easily changed, using that approach would end up with something broken just as easily.

You are assigning a shortcut to clip number 1's actions, not assigning a shortcut to an action or name.
KevinH is online now   Reply With Quote
Old 09-17-2021, 02:53 PM   #139
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
@RbnJrg: You can easily assign shortcuts to 40 Clips (and even more), so keeping an eye on the order is probably not that scary.

My setup works perfectly for me, and my hands trigger these combinations themselves. Clips 31 to 40 serve as temporary for me and therefore I assigned shortcuts to them from the numeric keypad.

Spoiler:
Code:
Clip1 • Alt+1
Clip2 • Alt+2
Clip3 • Alt+3
Clip4 • Alt+4
Clip5 • Alt+5
Clip6 • Alt+6
Clip7 • Alt+7
Clip8 • Alt+8
Clip9 • Alt+9
Clip10 • Alt+0
Clip11 • Ctrl+Alt+1
Clip12 • Ctrl+Alt+2
Clip13 • Ctrl+Alt+3
Clip14 • Ctrl+Alt+4
Clip15 • Ctrl+Alt+5
Clip16 • Ctrl+Alt+6
Clip17 • Ctrl+Alt+7
Clip18 • Ctrl+Alt+8
Clip19 • Ctrl+Alt+9
Clip20 • Ctrl+Alt+0
Clip21 • Ctrl+Alt+Shift+1
Clip22 • Ctrl+Alt+Shift+2
Clip23 • Ctrl+Alt+Shift+3
Clip24 • Ctrl+Alt+Shift+4
Clip25 • Ctrl+Alt+Shift+5
Clip26 • Ctrl+Alt+Shift+6
Clip27 • Ctrl+Alt+Shift+7
Clip28 • Ctrl+Alt+Shift+8
Clip29 • Ctrl+Alt+Shift+9
Clip30 • Ctrl+Alt+Shift+0
Clip31 • Alt+Num+1
Clip32 • Alt+Num+2
Clip33 • Alt+Num+3
Clip34 • Alt+Num+4
Clip35 • Alt+Num+5
Clip36 • Alt+Num+6
Clip37 • Alt+Num+7
Clip38 • Alt+Num+8
Clip39 • Alt+Num+9
Clip40 • Alt+Num+0
BeckyEbook is online now   Reply With Quote
Old 09-17-2021, 02:54 PM   #140
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by KevinH View Post
And as names/actions for clips are user assignable and easily changed, using that approach would end up with something broken just as easily.

You are assigning a shortcut to clip number 1's actions, not assigning a shortcut to an action or name.
As Diap says, if we reorganize the clips, we lost all our shortcuts.

In the sigil_clips.ini there are the names and the numbers of the clips and in Sigil.ini, we have the associated shortcut to the clip numbers. So, maybe it could be possible to assign, in Sigil.ini (or in another .ini file), where we can read, for example,

120\id=MainWindow.Clip1
120\keySequence=Ctrl+Num+*

the "id" to the name of the Clips that are stored in sigil_clip.ini. Maybe an asociation between MainWindow.Clip1 and the respective name in the sigil_clip.ini could do the trick.
RbnJrg is offline   Reply With Quote
Old 09-17-2021, 03:06 PM   #141
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by BeckyEbook View Post
@RbnJrg: You can easily assign shortcuts to 40 Clips (and even more), so keeping an eye on the order is probably not that scary.
...
Thanks for sharing your method, Becky. Yes, there are ways to minimize the fact that one can't move the clips, but we would have more freedom if Kevin and Diap could link all the info already available.

By the way, that woud be a nice new feature that would do Clips in combination with shortcuts even more practical and powerfull.

Last edited by RbnJrg; 09-17-2021 at 03:15 PM.
RbnJrg is offline   Reply With Quote
Old 09-17-2021, 03:20 PM   #142
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,643
Karma: 5433388
Join Date: Nov 2009
Device: many
It is not that easy. All other actions registered for keyshortcuts have fixed, translatable strings representing their functions known at compile time. There is a one to one mapping of action and function.

For clips, we do not know what name/function they will have only an action number (by clip number) at compile time. So using our current mechanism we assign shortcuts to actions/functions which are clip numbers.

Nothing else is available at compile time.

This is why and how we handle keyboard shortcuts for the first 10 plugins in the same way.

This is not something I am interested in changing. BeckyEbook's approach seems to make the most sense to me.

Last edited by KevinH; 09-17-2021 at 03:34 PM.
KevinH is online now   Reply With Quote
Old 09-17-2021, 06:51 PM   #143
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,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by BeckyEbook View Post
@DiapDealer, @BetterRed: I need to correct my last information about single-key alphanumeric keyboard shortcuts.
Single-key shortcuts work, but only when the focus is not in the Code View or some edit field. So they work when we have active other panels: Book Browser, Preview, Clips, or Table of Contents.
I did wonder about that, but I didn't pursue because I use the menu and arrow keys to access Set Semantic, Rename etc.

Is there a way to give the panels keyboard focus using the keyboard? And see at a glance which panel has keyboard focus?

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG] - M96 out of memory - [BUG] Alf77 Onyx Boox 5 02-05-2015 11:47 AM
Another bug that I wonder if others have seen PeterT Kobo Reader 16 06-08-2013 09:48 PM
DR800 Help, I've got a bug!! A bug on my screen!! Franky iRex 4 06-21-2011 11:45 AM
Embedded font bug or CSS bug in ADE JSWolf ePub 10 06-11-2011 02:34 PM
PRS-505 bug or eBookLib bug? porkupan Sony Reader 3 10-07-2007 10:44 PM


All times are GMT -4. The time now is 12:51 PM.


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