Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-15-2021, 11:18 AM   #1
Binchen
Connoisseur
Binchen began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
Special character - double click

Sorry for being creative today

Currently a double click in the special character window inserts the char twice.

I myself need mainly only one character and then close the window again.

It would be nice if a double click would insert the character and the window is then closed.

Binchen
Binchen is offline   Reply With Quote
Old 08-15-2021, 11:24 AM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,301
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
lol

Double-click = one click on character - one click on the 'X'
Turtle91 is offline   Reply With Quote
Advert
Old 08-15-2021, 11:30 AM   #3
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: 8,454
Karma: 5703586
Join Date: Nov 2009
Device: many
Or just learn to use clips for frequently used special characters so you can single click on a clip icon to enter the char you want as opposed to havin to pick from a menu and close it.

Alternatively, just make your Special Character palette window will be covered by the MainWindow so when you click back in CV, the Special Character window is naturally hidden until you need it next time. Invoking InsertSpecialCharacter again will raise it on top.
KevinH is offline   Reply With Quote
Old 08-15-2021, 11:48 AM   #4
Binchen
Connoisseur
Binchen began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
Quote:
Originally Posted by Turtle91 View Post
lol

Double-click = one click on character - one click on the 'X'
I can make fun of myself alone
Binchen is offline   Reply With Quote
Old 08-15-2021, 01:17 PM   #5
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: 30,891
Karma: 60358908
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 Binchen View Post
I can make fun of myself alone
But we love to help
theducks is offline   Reply With Quote
Advert
Old 08-15-2021, 02:49 PM   #6
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Binchen View Post
I myself need mainly only one character and then close the window again.
In that case, simply add it to the Clip Bar.
Doitsu is offline   Reply With Quote
Old 08-16-2021, 01:47 AM   #7
Binchen
Connoisseur
Binchen began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
I don't always need one in particular, but one at a time and then another at some point. And again only one.
But let it be, I do not need to be ridiculed.
Take care and thanks for the fish.
Binchen is offline   Reply With Quote
Old 08-16-2021, 07:33 AM   #8
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,301
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Awesome - a Hitchhiker reference!!

I think you misunderstood the good-natured joking…NOT intended as ridicule. We have fun around here and sometimes poke at an idea - but we don’t tolerate bullying or personal attacks.

Cheers!
Turtle91 is offline   Reply With Quote
Old 08-18-2021, 02:40 PM   #9
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: 8,454
Karma: 5703586
Join Date: Nov 2009
Device: many
@Binchen,

I think what you want already exists in a slightly different form.
I noticed the following code in the Sigil 1.7 and earlier in the Select Special Character dialog:

Code:
void SelectCharacter::SetSelectedCharacter(const QString &text)
{
    bool isCtrl = QApplication::keyboardModifiers() & Qt::ControlModifier;
    emit SelectedCharacter(text);

    if (isCtrl) {
        accept();
    }

    // Return focus to last window to allow typing to continue
    QApplication::setActiveWindow(parentWidget());
}
So try Control single clicking on a character you want. It should insert that char and then close the dialog.

If that doesn't work, file a bug report and I will try and fix it.

ps: Remember on macOS that Ctrl-Click is actually Command-Click via how Qt operates on macOS to make things cross-platform.

Works just fine on my macOS machine.

Last edited by KevinH; 08-18-2021 at 02:48 PM.
KevinH is offline   Reply With Quote
Old 08-18-2021, 05:25 PM   #10
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by KevinH View Post
So try Control single clicking on a character you want. It should insert that char and then close the dialog.

[...]

Works just fine on my macOS machine.
Ctrl+Click works fine on Windows too.
Tex2002ans is offline   Reply With Quote
Old 08-19-2021, 03:30 AM   #11
Binchen
Connoisseur
Binchen began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
Quote:
Originally Posted by KevinH View Post
If that doesn't work, file a bug report and I will try and fix it.
Command+Click works fine on my macOs Big Sur.

But Doubleclick is 342 milliseconds faster (of course without closing the window) und i dont need to move my fingers on the keyboard since my right pointer finger is already on the mouse.

Binchen is offline   Reply With Quote
Old 08-19-2021, 08:14 AM   #12
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: 8,454
Karma: 5703586
Join Date: Nov 2009
Device: many
You are joking right?

Last edited by KevinH; 08-19-2021 at 09:21 AM.
KevinH is offline   Reply With Quote
Old 08-19-2021, 09:55 AM   #13
Binchen
Connoisseur
Binchen began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
Quote:
Originally Posted by KevinH View Post
You are joking right?
Of course not.
Binchen is offline   Reply With Quote
Old 08-19-2021, 11:55 AM   #14
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: 8,454
Karma: 5703586
Join Date: Nov 2009
Device: many
Sorry but I have no interest in changing the Select Character interface just to fit your specific desires.

If I did that Sigil would be torn between people who want to use the keyboard for everything (thinking of you BetterRed!) and people who only want to use a mouse and not touch a keyboard. And Sigil would end up with too many ways to do the same thing to ever make it supportable.

If speed is essential and you use special characters that frequently, creating clips for them and using the clips toolbar would be even faster. There is a Clips2 bar which will fit up to 20 additional special characters if you set it up that way. Following pareto's rule that should cover a huge number of cases.

Otherwise just use the established way to do it. Or build Sigil from source with your own changes.

For speed when inputing when my hands are on the keyboard, I often use a 2 or 3 character short hand placeholder for each special character or long word directly. When I am done typing running a saved search group to replace my shorthand with whatever I created the shorthand for.

Last edited by KevinH; 08-19-2021 at 12:06 PM.
KevinH is offline   Reply With Quote
Old 08-19-2021, 12:50 PM   #15
Binchen
Connoisseur
Binchen began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
Please buy new batteries tomorrow. The ones in your irony detector seem to be empty.
Binchen is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Double click in Quick view Katja_hbg Calibre 12 07-30-2017 02:14 PM
Double Click Options phossler Calibre 6 10-11-2015 09:15 AM
Javascript double click silver18 Kindle Developer's Corner 8 05-06-2012 12:26 PM
Turn Off Double Click to Edit BetterRed Calibre 2 03-28-2012 05:34 AM
double click mfaine Calibre 1 11-09-2009 10:56 AM


All times are GMT -4. The time now is 07:50 AM.


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