MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Sigil (https://www.mobileread.com/forums/forumdisplay.php?f=203)
-   -   Special character - double click (https://www.mobileread.com/forums/showthread.php?t=341225)

Binchen 08-15-2021 12:18 PM

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

Turtle91 08-15-2021 12:24 PM

lol

Double-click = one click on character - one click on the 'X'

KevinH 08-15-2021 12:30 PM

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.

Binchen 08-15-2021 12:48 PM

Quote:

Originally Posted by Turtle91 (Post 4146639)
lol

Double-click = one click on character - one click on the 'X'

I can make fun of myself alone

theducks 08-15-2021 02:17 PM

Quote:

Originally Posted by Binchen (Post 4146645)
I can make fun of myself alone

But we love to help :rofl:

Doitsu 08-15-2021 03:49 PM

Quote:

Originally Posted by Binchen (Post 4146636)
I myself need mainly only one character and then close the window again.

In that case, simply add it to the Clip Bar.

Binchen 08-16-2021 02:47 AM

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.

Turtle91 08-16-2021 08:33 AM

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!

KevinH 08-18-2021 03:40 PM

@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.

Tex2002ans 08-18-2021 06:25 PM

Quote:

Originally Posted by KevinH (Post 4147364)
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.

Binchen 08-19-2021 04:30 AM

Quote:

Originally Posted by KevinH (Post 4147364)
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.

https://media1.giphy.com/media/l0MYE...giphy.gif&ct=g

KevinH 08-19-2021 09:14 AM

You are joking right?

Binchen 08-19-2021 10:55 AM

Quote:

Originally Posted by KevinH (Post 4147579)
You are joking right?

Of course not.

KevinH 08-19-2021 12:55 PM

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.

Binchen 08-19-2021 01:50 PM

Please buy new batteries tomorrow. The ones in your irony detector seem to be empty.

Turtle91 08-19-2021 01:57 PM

Quote:

Originally Posted by Binchen (Post 4147665)
Please buy new batteries tomorrow. The ones in your irony detector seem to be empty.

I think you'll fit in just fine around here! :rofl:

DiapDealer 08-19-2021 02:28 PM

Maybe don't lay the sarcasm and irony on so thick with the Sigil developers at first. We're familiar with a lot of the long-time members personalities, but we don't always have the time to parse all of the new folk's posts for humor/sacarsm. Until we get to know you, consider, slapping a wink on that sarcasm. ;) Because believe it or not, we HAVE had people come here and make similar comments to yours in a totally serious, and unjokey way.

Binchen 08-19-2021 02:43 PM

Quote:

Originally Posted by Turtle91 (Post 4146821)
We have fun around here and sometimes poke at an idea

From this I assumed that the people here do not lack experience with joking and the hint with the popcorn was sufficient,

Turtle91 08-19-2021 06:09 PM

I actually liked the popcorn gif! :D


All times are GMT -4. The time now is 09:21 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.