![]() |
#61 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,765
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Well that is not good. CV used to always grab focus but for some reason that has changed.
I will try a few things tomorrow. Thanks! Kevin Quote:
|
|
![]() |
![]() |
![]() |
#62 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
I was going to say "No, clicking on Find does not restore the focus," but the behavior is a little more complicated. Focus is not restored immediately, but if you continue to click on Find after changing the search direction, then at some point focus is restored and the matches are highlighted. I think the focus is restored when the cursor moves to a new file. If you have multiple matches in one file and change the search direction, then focus is not restored until it finds a match in a different file than the one you started in.
|
![]() |
![]() |
Advert | |
|
![]() |
#63 | ||
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,827
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#64 | |||||
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,827
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Quote:
![]() ![]() ![]() - - - Like others, I noticed the focus issues, but didn't pay too much attention as I was focused on the Search/Replace issues (pun intended ![]() Quote:
Quote:
Quote:
However, I did find that clicking in the Replace field steals focus from CV window until you click on CV window again:
Given that I commonly enter text in Find field, then enter text in Replace field, then hit Find button, I will end up with CV window not highlighting matches. Thank you for all your efforts KevinH. I'm sure this is more than you dreamed could possibly happen when you revamped Find & Replace for 1.9.0. |
|||||
![]() |
![]() |
![]() |
#65 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 500
Karma: 3498633
Join Date: May 2011
Location: Surrey, UK
Device: Kobo Aura One, Sony PRS 600/650
|
Quote:
As I said to Kevin it was not a huge issue, as the results pane came to the foreground once the check had completed. I will report back if I experience it again, but for now I think this can be put down to a rogue book. |
|
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Wannabe Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
@kevinh Using text build 376 on Win 10 build 19043.1415, open a not small epub and
I have seen Sigil quit before once or twice before (many months ago) when doing some quick repeated ctrl-g but haven't been able to reproduce this. Seems like a simple search and press-and-hold ctrl-g is enough. When run from a cygwin command line which I've been able to capture some Sigil messages before, there are no diagnostic messages; the Sigil process just exits. If there's any debug options I can enable, let me know. Not sure I'd consider this a show-stopper for the next release, but a) would be nice to fix now that I can reproduce, and b) you're having so much fun in the S&R code now. |
![]() |
![]() |
![]() |
#67 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,765
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Yes indeed! Too much fun! I'll add it to my bugs to fix list!
Quote:
|
|
![]() |
![]() |
![]() |
#68 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,354
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
|
Quote:
|
|
![]() |
![]() |
![]() |
#69 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 817
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#70 | |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,827
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
I am not able to reproduce this on macOS 10.15.7. I pressed-and-held ctrl-g for 60 seconds.
That said, I used to get Sigil crashes when doing repeated replace/find in very quick succession (clicking Replace/Find button, not keyboard command). This was a while back. Sent KevinH crash reports at the time. Seems to be resolved on Mac for the most part, though I still occasionally get a stray random crash that I can't reproduce. Curious: what is the purpose of pressing-and-holding ctrl-g (as opposed to ctrl-g in quick succession). Why press-and-hold? Quote:
|
|
![]() |
![]() |
![]() |
#71 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,765
Karma: 6000000
Join Date: Nov 2009
Device: many
|
I have finally tracked down all of the bugs reported so far except for the fast ctrl-g segfault/crash.
With master I was able to open a huge book and search for "the" repeatedly. I was even able to hold ctrl-g down and get it to repeat as fast as it possible could but never get it to crash. I tried the same with a short book and no crash - just a No Matches Found message constantly flashing. So either this is not an issue on MacOS or I am not doing enough to recreate what you are seeing. I do hope people report all crashes though. I truly hate apps crashing and there is no reason for it. I want to track down any you are seeing. That said, my macOS Sigil builds have not crashed on me in literally years. So you must be exercising code I rarely use. Stability should be the first goal of any piece of software. I thought we were there (at least on macOS) but if many of you are reporting a crash there must be something there (but maybe platform specific). The test builds are build made right now and in half an hour or so, I hope to have a a new (and hopefully close to last) test build for people to try. |
![]() |
![]() |
![]() |
#72 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,765
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Yet Again a New Test Build
Hi All,
As far as my testing shows, this one seems to fix all of the bugs reported so far (except the icons disappearing and the repeated ctrl-g crash neither of which I can recreate yet on macOS). The test builds can be downloaded from my repo here: https://github.com/kevinhendricks/Bu...OnMac/releases - Sigil-master-1dcef80-build_num-377-Mac.tar.xz - Sigil-master-1dcef80-build_num-377-Win-Setup.exe Again thanks to everyone who tests and helps make Sigil better! I have my fingers crossed! |
![]() |
![]() |
![]() |
#73 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,827
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
KevinH, you are AWESOMENESS
Test build 377 is working great for me ![]() My only comment is cosmetic. Sometimes the line highlight uses the default Line Highlight color (yellow) and sometimes it is gray (default line# Background). Using Find & Replace dialog:
Using Saved Searches window:
Not sure if this is expected behavior or if highlighted line should always be yellow or gray. Not a big deal, but thought I'd mention it in case it interests you. |
![]() |
![]() |
![]() |
#74 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,765
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Glad to hear bugs have been squashed.
The line highlight colour change is expected. It still indicates if CodeView has focus. I tried to force focus in earlier test builds but that is a blind alley that was doomed for failure. So I went back to Sigil 1.5 and 1.7 and watched and noticed that focus was never forced onto CodeView. Next I went and noticed, that under earlier test builds, matches were actually found and selected but you can not see them anymore due to the inactive (no focus) current line highlighting in CodeView. I was able to make the active highlighting for selected text properly appear but being active or inactive properly determines the current line highlight colour. But focus can and does and should move back and forth from Saved Searches, Spellcheck Dialog, Find and Replace, and CodeView. We could force that to match but I like knowing with a quick glance if CodeView is active (has focus) or not. Thanks for testing and reporting back! |
![]() |
![]() |
![]() |
#75 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,765
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Actually, I just remembered the CodeView current line highlight colour is controlled by a Sigil user Preferences setting under Appearance then the CodeView tab.
So a user can make those highlight line background colours match if they so desire. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil-1.9.0 Release | DiapDealer | Sigil | 101 | 03-11-2022 07:20 PM |
Sigil-1.8.0 Release | DiapDealer | Sigil | 59 | 12-24-2021 10:38 PM |
Sigil-0.9.0 Release | KevinH | Sigil | 76 | 11-14-2015 06:45 PM |
New Sigil Release: Sigil-0.8.901 | KevinH | Sigil | 137 | 11-03-2015 09:42 AM |
Sigil 0.2.0 Release Candidates | Valloric | Sigil | 46 | 05-10-2010 09:55 PM |