Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 01:27 PM   #196
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: 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.
KevinH is offline   Reply With Quote
Old Today, 01:38 PM   #197
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: 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!
KevinH is offline   Reply With Quote
Old Today, 01:41 PM   #198
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
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.
Attached Files
File Type: txt sigil_debug.txt (6.0 KB, 1 views)
DNSB is online now   Reply With Quote
Old Today, 01:57 PM   #199
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
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.
Attached Files
File Type: txt sigil_debug.txt (2.6 KB, 2 views)
DNSB is online now   Reply With Quote
Old Today, 02:02 PM   #200
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: 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.
DiapDealer is online now   Reply With Quote
Old Today, 02:11 PM   #201
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: 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.
KevinH is offline   Reply With Quote
Old Today, 02:14 PM   #202
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: 9,342
Karma: 6686152
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by DNSB View Post
Still goes back to the top of file in preview when I open the stylesheet.
Your log file seems to show that somehow when doing a reload after clearing the cache, Preview on Windows is not properly loading consistently.

I am seeing something similar in my tests.
KevinH is offline   Reply With Quote
Old Today, 02:38 PM   #203
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: 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.
KevinH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 03:16 PM.


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