|
|
#196 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,342
Karma: 6686152
Join Date: Nov 2009
Device: many
|
And even with the QSG_RHI_BACKEND=opengl set in env vars, I still occaissionally get the damn GetCaretLocation to return a null string even when the timeout is longer.
So something on Windows, related to graphics backend is causing the load race, all because we are properly clearing the cache now. Very strange. |
|
|
|
|
|
#197 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,342
Karma: 6686152
Join Date: Nov 2009
Device: many
|
I have tried a different approach and pushed it to master with skip ci and then will manually run the Windows workflow.
I really hate Windows btw. I had to download my Sigil installer 3 times until I figured out how to tell Windows 11, I decide which downloads to keep not Microsoft. And why on earth is Microsoft interfering with downloads from Releases on a github owned site given they own github! Arrrrgggghhhhhhh! |
|
|
|
|
|
#198 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50,278
Karma: 178402650
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
On my main computer, I get the same pop back to the top of preview when I open the stylesheet. I tried the QSG_RHI_BACKEND env var but it seemed to make no difference.
I'm going to download your latest code and try that. Gives me something to do during the commercial breaks in the hockey game. |
|
|
|
|
|
#199 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50,278
Karma: 178402650
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Still goes back to the top of file in preview when I open the stylesheet.
|
|
|
|
|
|
#200 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,084
Karma: 211348980
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
For what it's worth... I've only been able to verify that QSG_RSI_BACKEND=opengl makes a consistent difference on one Windows 10 virtual machine.
|
|
|
|
|
|
#201 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,342
Karma: 6686152
Join Date: Nov 2009
Device: many
|
In fact, the more I test different back ends the % loaded bar underneath Preview gets stuck at 70% or 80% and sometimes even after a manual reload it is stuck at 10% or 30%.
So something very strange is happening. My latest change in master seems to help but it is not a full solution. I will keep digging. |
|
|
|
|
|
#202 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,342
Karma: 6686152
Join Date: Nov 2009
Device: many
|
|
|
|
|
|
|
#203 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,342
Karma: 6686152
Join Date: Nov 2009
Device: many
|
Okay, I have cleaned up a few things and then added the complete ViewPreview load debug output. Hopefully this will show us what is happening during all loads and reloads of Preview on Windows.
On MacOS and Linux, the current master seems to work just fine. So whatever is happening it is specific to Windows and relates to full cache clearing, load vs reloads of Preview, backend used, and GetCaretLocation call in javascript failing (called to early). Last edited by KevinH; Today at 02:55 PM. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Suggestions for Sigil Improvements or New Features | KevinH | Sigil | 168 | 11-18-2025 01:23 PM |
| Suggestions for New Plugins and Plugin Improvements | KevinH | Plugins | 0 | 09-22-2025 11:53 AM |
| Ideas for New Improvements or Features | KevinH | Sigil | 97 | 04-09-2025 10:45 AM |
| Improvements/bugs/features | dontcrash | KOReader | 10 | 10-23-2019 11:05 AM |
| Onyx M92: Suggestions for possible improvements | Lode | Onyx Boox | 3 | 02-11-2013 08:40 AM |