09-08-2024, 09:31 AM | #16 |
Grand Sorcerer
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. |
09-08-2024, 10:26 AM | #17 |
A Hairy Wizard
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
|
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.
|
Advert | |
|
09-08-2024, 11:10 AM | #18 |
Sigil Developer
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. |
09-08-2024, 01:13 PM | #19 | |
Well trained by Cats
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:
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. |
|
09-08-2024, 09:00 PM | #20 | ||
null operator (he/him)
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
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. |
||
Advert | |
|
09-08-2024, 09:26 PM | #21 |
Sigil Developer
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. |
09-08-2024, 09:48 PM | #22 | |
null operator (he/him)
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
09-08-2024, 11:40 PM | #23 |
Sigil Developer
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. |
09-09-2024, 12:43 AM | #24 | |
null operator (he/him)
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
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) 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. 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. |
|
09-09-2024, 09:06 AM | #25 |
Sigil Developer
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. |
09-09-2024, 10:04 AM | #26 |
Grand Sorcerer
Posts: 28,042
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
09-09-2024, 10:51 AM | #27 |
Sigil Developer
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. |
09-09-2024, 08:26 PM | #28 |
null operator (he/him)
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 |
09-09-2024, 08:46 PM | #29 | |
Sigil Developer
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Quote:
And for the Reports Widgets, what exactly are you finding and in which specific report? |
|
09-09-2024, 09:06 PM | #30 |
null operator (he/him)
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 |
|
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 |