08-27-2023, 05:03 PM | #16 |
Sigil Developer
Posts: 7,714
Karma: 5444398
Join Date: Nov 2009
Device: many
|
Okay,
Please grab sigil-installer.zip from: https://github.com/kevinhendricks/Bu...OnMac/releases You will need to unzip it first to get to the installer. 1. First set the SIGIL_DEBUG_LOGFILE environment variable to point to a debug.txt file (full path including file name), it will be created when Sigil runs. 2. Install the unzipped debug Sigil build 3. Fire up the debug build of Sigil and try exactly your sequence of steps to create the bug. If you are successful (you see the bug!), then immediately quit Sigil and zip up the debug.txt file it created and post it here. If for some reason you did not recreate the bug that time, please try again by quitting Sigil and removing the old debug.txt file first. Then try again. The shorter and simpler the debug output the better, as I will need to try to map your sequence of steps to the debug output. If you have to modify the steps to recreate the bug, please let me know the new sequence so that I can understand what I am seeing in the debug output. Thanks, KevinH Last edited by KevinH; 08-27-2023 at 05:09 PM. |
08-27-2023, 05:21 PM | #17 |
A Hairy Wizard
Posts: 3,117
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Here is the log file:
It took a couple of attempts to get it to fail, so the end of the file may be more helpful than the beginning. |
08-27-2023, 06:24 PM | #18 |
Sigil Developer
Posts: 7,714
Karma: 5444398
Join Date: Nov 2009
Device: many
|
The problem is that for some reason, when you clicked in CodeView just before the clip is used, it seems that the focus appears to be outside the main window so it ignores that move to CodeView as they think it is not meant for this main window.
Strange indeed. Debug: Focus Changed QWidget(0x0) QComboBoxListView(0x1bde0dd2dd0) CodeViewEditor(0x1bdd4d6b9b0) The first is the detected mainwindow, the next is old object who is giving up focus, and the last is the new object obtaining focus. Very strange... I will need to think about this more. |
08-27-2023, 07:38 PM | #19 |
Sigil Developer
Posts: 7,714
Karma: 5444398
Join Date: Nov 2009
Device: many
|
Okay, I have an idea on how to handle this case. Not sure why it is happening on Windows only but ...
I have pushed a potential solution to master. I will make another sigil debug build using Sigil Windows CI build and post it for you to try. Hopefully it will prevent the error from ever happening. If it still errors, please post the debug log again as that will hopefully tell me where I have gone wrong. |
08-27-2023, 08:01 PM | #20 |
Sigil Developer
Posts: 7,714
Karma: 5444398
Join Date: Nov 2009
Device: many
|
The new debug build is ready. It is at the same place as before with the same instructions.
I am hoping this will fix the issue. |
08-27-2023, 09:00 PM | #21 |
A Hairy Wizard
Posts: 3,117
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Ok. I’ll grab that first thing in the morning. Thanks for working on this!
|
08-27-2023, 09:08 PM | #22 |
Sigil Developer
Posts: 7,714
Karma: 5444398
Join Date: Nov 2009
Device: many
|
No problems. This is what I do for fun since I have now retired. It keeps my mind active.
Take care. |
08-28-2023, 12:02 PM | #23 |
Sigil Developer
Posts: 7,714
Karma: 5444398
Join Date: Nov 2009
Device: many
|
Any chance to test this fix yet?
I have my fingers crossed! |
08-28-2023, 02:36 PM | #24 |
A Hairy Wizard
Posts: 3,117
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Not yet… got commandeered into driving the wife to get a cast on her leg, then to go pickup grandkids from school… I’ll get it as soon as I get home.
|
08-28-2023, 02:56 PM | #25 |
Sigil Developer
Posts: 7,714
Karma: 5444398
Join Date: Nov 2009
Device: many
|
No problem.
Wow! You are a busy man! Hope your wife is okay. I broke my ankle last year and it is not fun. |
08-28-2023, 03:49 PM | #26 |
A Hairy Wizard
Posts: 3,117
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
I was NOT able to get it to glitch with this version!
I've attached the log file if you care to look at it. Again, thank you! |
08-28-2023, 05:17 PM | #27 |
Sigil Developer
Posts: 7,714
Karma: 5444398
Join Date: Nov 2009
Device: many
|
Glad to hear it.
Thank you for your bug report, testing, and feedback. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shortcuts for search & replace clips | celiapgt | Sigil | 2 | 12-11-2016 11:45 PM |
Regular expressions in the replace field | markallanson | Editor | 5 | 09-06-2014 12:44 PM |
Search and Replace: want to remove value that matches another field | einniv | Library Management | 0 | 07-25-2013 08:18 PM |
Search/Replace from Title Field to Pubdate | TMSxMR | Library Management | 5 | 08-06-2012 03:40 AM |
Replace field with match or empty string? | charlweed | Library Management | 2 | 03-29-2012 12:44 AM |