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-08-2024, 09:31 AM   #16
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: 28,042
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
It's not possible for a dialog to be able to be automatically positioned so as not to cover a specific word in a dialog underneath.

Last edited by DiapDealer; 09-08-2024 at 10:48 AM.
DiapDealer is offline   Reply With Quote
Old 09-08-2024, 10:26 AM   #17
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,225
Karma: 19000635
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
Quote:
Originally Posted by Shohreh View Post
Suggestion for the Spellcheck dialog: If need be, display it so that the user doesn't have to move it to see the word underneath
Once the dialog is open you can move it over to the side/other monitor/etc so it isn't covering the CV window... then you can double click on any word in the list without having the dialog cover any.
Turtle91 is offline   Reply With Quote
Advert
Old 09-08-2024, 11:10 AM   #18
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,160
Karma: 5450818
Join Date: Nov 2009
Device: many
And you can shrink the size of the Dialog.

Last edited by KevinH; 09-08-2024 at 01:26 PM.
KevinH is online now   Reply With Quote
Old 09-08-2024, 01:13 PM   #19
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,451
Karma: 58055868
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 Shohreh View Post
Suggestion for the Spellcheck dialog: If need be, display it so that the user doesn't have to move it to see the word underneath
We have no clue on what size monitor or window size or where the word is in the line, making dialog placement probably wrong anyway.
BTW the dialog is also resizable.
I have mine on my second monitor, (Sigil remembers where it was from a previous session) so it never overlays.
You might find an ancient 1024x768 LCD at a thrift store for very little $ if you want another display. There are USB video cards (modules) if you don't have an extra video port. For Sigil, you do not need FAST.
theducks is online now   Reply With Quote
Old 09-08-2024, 09:00 PM   #20
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: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Shohreh View Post
Suggestion for the Spellcheck dialog: If need be, display it so that the user doesn't have to move it to see the word underneath
I interpret the earlier reply from Kevin as something that would address this issue

Quote:
Originally Posted by KevinH View Post
I will add a keyboard only way to make the Spellcheck Dialog show context for the currently selected word to my to-do list for a future Sigil release as that would help keyboard centric users and those with Accessibility issues with a mouse.
So something like this:

Click image for larger version

Name:	misspell context.jpg
Views:	41
Size:	33.2 KB
ID:	210697

Afterthought: make the Spellcheck Dialogue window dockable, e.g. in the same dock as most have Preview.

BR

Last edited by BetterRed; 09-08-2024 at 09:06 PM.
BetterRed is offline   Reply With Quote
Advert
Old 09-08-2024, 09:26 PM   #21
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,160
Karma: 5450818
Join Date: Nov 2009
Device: many
No, I was suggesting a keysequence that would do the same as a double-click does. That is all. The actual context depends on word list order as the word double-clicked on is searched for its first occurrence in CV.

So far I do not think any change is needed in the SpellCheck Dialog. And making yet another QDockWidget is not in the cards. The QDockWidget interface in the MainWindow is overly cluttered now in my opinion.

Last edited by KevinH; 09-08-2024 at 09:30 PM.
KevinH is online now   Reply With Quote
Old 09-08-2024, 09:48 PM   #22
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: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by KevinH View Post
No, I was suggesting a keysequence that would do the same as a double-click does. That is all. The actual context depends on word list order as the word double-clicked on is searched for its first
I don't doubleclick unless I have to, but what would the new keysequence do that F3 doesn't already do?

BR
BetterRed is offline   Reply With Quote
Old 09-08-2024, 11:40 PM   #23
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,160
Karma: 5450818
Join Date: Nov 2009
Device: many
F3 does nothing as far as I can tell, at least on my mac. I have to doubleclick on a word in the wordlist in Spellcheck to get CV to find the word and show its context.

From the SpellCheck Dialog code:
Code:
  connect(ui.SpellcheckEditorTree, SIGNAL(doubleClicked(const QModelIndex &)),
            this,         SLOT(FindSelectedWord())

I was going to add a key sequence to do the same thing but if one already exists, that works to.

But according to the code the only only place to get that is from the popup context menu but that requires a right mouse click as well.

Are you sure we are talking about the same thing?

Last edited by KevinH; 09-08-2024 at 11:53 PM.
KevinH is online now   Reply With Quote
Old 09-09-2024, 12:43 AM   #24
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: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by KevinH View Post
F3 does nothing as far as I can tell, at least on my mac. I have to doubleclick on a word in the wordlist in Spellcheck to get CV to find the word and show its context.

From the SpellCheck Dialog code:
Code:
  connect(ui.SpellcheckEditorTree, SIGNAL(doubleClicked(const QModelIndex &)),
            this,         SLOT(FindSelectedWord())

I was going to add a key sequence to do the same thing but if one already exists, that works to.

But according to the code the only only place to get that is from the popup context menu but that requires a right mouse click as well.

Are you sure we are talking about the same thing?
Sure as I can be

I have installed 2.3.1 and I've restored the default settings.

F3 appears to be hard coded into the spell checker (along with F1 and F2)

Click image for larger version

Name:	Screenshot 2024-09-09 130717.jpg
Views:	40
Size:	75.9 KB
ID:	210709

Note the lack of a key sequence for Select all - however Ctrl+A does work, as does Ctrl+C.

Here are the default short cuts I see, where F3 is Go to link or style.

Click image for larger version

Name:	Screenshot 2024-09-09 132507.jpg
Views:	41
Size:	268.8 KB
ID:	210710

Added: If it's of any interest the calibre editor spellchecker uses the Enter key to cycle through the occurrences of a misspelt word - seems quite effective.

BR

Last edited by BetterRed; 09-09-2024 at 01:03 AM.
BetterRed is offline   Reply With Quote
Old 09-09-2024, 09:06 AM   #25
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,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Huh? That is only available in the right click context pop-up menu. To use it you should have to have the pop-up menu open. If it works for you without a pop-up menu open first it really should not. It should be creating that context menu on the fly when a right click is done and tearing it down afterwards. Any connections of actions/signals to slots should happen only when built on the fly and then torn down when the context menu is closed.

Last edited by KevinH; 09-09-2024 at 09:18 AM.
KevinH is online now   Reply With Quote
Old 09-09-2024, 10:04 AM   #26
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: 28,042
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BetterRed View Post
Note the lack of a key sequence for Select all - however Ctrl+A does work, as does Ctrl+C.
Ctrl+A is the default Windows "Select All" shortcut (and Ctrl+C will always be Copy). Sigil's shortcuts rarely succeed in overriding (or eliminating) those.
DiapDealer is offline   Reply With Quote
Old 09-09-2024, 10:51 AM   #27
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,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Okay, my bad. I tested using my laptop which has the damn active key area instead of real function keys. Hitting "F3" did nothing without me finding and hitting the "fn" key as well in the bottom left hand corner.

Yes repeated use of F3 (or double-clicking) will in fact show you a sequence of matches all in a row if the same misspelled word is used multiple times in a document.

So I guess there is nothing to do here at all - other than maybe document that the context menu is only built once here and is not dynamic- - which means those shortcuts are always active.
KevinH is online now   Reply With Quote
Old 09-09-2024, 08:26 PM   #28
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: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
At first I assumed F3 worked because I have F3 assigned to Find Next in Preferences.

It was only when I restored the default settings and discovered F3 still worked that I pressed the AppMenu key that I saw that context menu, and then deduced it was hard coded. So, it was happenstance that F3 to Find next occurrence of a misspelling made sense to me. F1 and F2 to Ignore and Add to dictionary make no sense at all…

I have the F1 key disabled to prevent me pressing it at all, and I have F2 assigned to Book browser Rename.


Bug: Tabbing in Preferences->Shortcuts never lands on the Assign or Remove buttons, tabbing out of the Shortcut field lands on Find.

Deficiency: there's no way to find next occurrence using the keyboard in the Reports lists, double click is the only way… Enter key would work well here.

FWIW As I posted previously the calibre editor uses Enter in its Spell checker to find next occurrence of a misspelling, but it doesn't use it in its Reports… have to double click there too Ψ

BR
BetterRed is offline   Reply With Quote
Old 09-09-2024, 08:46 PM   #29
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,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by BetterRed View Post
Bug: Tabbing in Preferences->Shortcuts never lands on the Assign or Remove buttons, tabbing out of the Shortcut field lands on Find.

Deficiency: there's no way to find next occurrence using the keyboard in the Reports lists, double click is the only way… Enter key would work well here.

BR
You have to have an established shortcut highlighted for the remove button to be enabled and to get Tab Focus, and the shortcut field must have a shortcut ready to assign for the Assign button to be enabled and get tab focus.

And for the Reports Widgets, what exactly are you finding and in which specific report?
KevinH is online now   Reply With Quote
Old 09-09-2024, 09:06 PM   #30
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: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
IMO: Because the Spellcheck dialogue is non-modal, i.e. the user can access the Main window and use the shortcuts assigned in Preferences. The use of the same keysequences to do totally different things in Spellchecker is just plain wrong. If it was modal it would only be borderline acceptable.

That said, I appreciate why the developers would be reluctant to change it, but I do wonder how many users make use of those hard coded shortcuts. If it were me I'd keep the context menu, but get rid of hard coded shortcuts except for Find in Text which I'd make Enter. And if it's doable, I'd make provision for a user assigned shortcuts in Preferences for Ignore and Add to user dictionary. But, I for one wouldn't assign anything to them… I'd use the AppMenu and arrow keys.

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent spellchecker from opening every file Karellen Editor 7 01-10-2023 11:08 PM
Spellchecker problem neilrh Sigil 5 03-04-2021 11:15 AM
Spellchecker - enhancements BetterRed Sigil 11 03-01-2016 06:53 PM
Sigil 0.5.3 - spellchecker missing? Naloomi Sigil 3 08-08-2012 10:03 PM
Am I Missing Something? (spellchecker) Guns4Hire Sigil 11 01-10-2010 07:57 AM


All times are GMT -4. The time now is 05:04 PM.


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