Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-01-2022, 12:17 PM   #76
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by KevinH View Post
So perhaps the issue is missing or damaged fonts with bad font metrics. Not sure here.
No Kevin, is not due to bad font metrics. By removing "Times New Roman" as font for the epub body (and using the default system font for serif) the blank page is still there. The setting for Bibi are the same for Windows and Linux (see my previous post), so the issue must be originated by something in the setting of my Sigil or Linux but I can't guess what!
RbnJrg is offline   Reply With Quote
Old 06-01-2022, 12:22 PM   #77
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
If, like I suspect, he's using the legacy ttf-ms-fonts package from the Arch User Repository, that's very likely the culprit.
I think your post and mine crossed No, the font is not the culprit; by using the system serif font the blank page is still there.
RbnJrg is offline   Reply With Quote
Advert
Old 06-01-2022, 12:33 PM   #78
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: 7,793
Karma: 5446592
Join Date: Nov 2009
Device: many
What happens when you change the Window size?

Or wipeout the Bibi folder you copied from Windows and reset to defaults and try that. What happens then?

Copying the Windows Bibifolder for settings over may not be a good idea depending on what exactly Bibi is writing to its own settings.
KevinH is offline   Reply With Quote
Old 06-01-2022, 01:52 PM   #79
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by KevinH View Post
What happens when you change the Window size?
At full window (double page), no blank pages at all. When wider is the window, less blank pages. With a width of 1100px (and the same height of 600px), no blank pages at all. The curious thing is the problem is only with Bibi; Readium and EpubJS display the epub as is expected, no blank pages. Also Calibre displays correctly the epub like Foliate (Linux versions).

Quote:
Or wipeout the Bibi folder you copied from Windows and reset to defaults and try that. What happens then?
The blank pages are there
RbnJrg is offline   Reply With Quote
Old 06-01-2022, 02:22 PM   #80
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by KevinH View Post
What happens when you change the Window size?
The issue is something linked with Sigil and Bibi running on Sigil. I opened the epub with Bibi running on Firefox (linux version) and no problem.

First I opened in Firefox the file index.html that one can find in:

/home/user_name/.local/share/sigil-ebook/sigil/plugins/BibiReader/bibi/

and then I drag and dropped the epub in that page. No matter if the browser window is resized, no blank page is generated. You can explore the epub code by pressing F12 and all works fine there. So, it must be something with my Sigil and Bibi running on it. If it were something linked with Linux, the epub wouldn't be correctly displayed in Calibre, Foliate or Firefox. And if it were something linked with Sigil, then Readium and EpubJS would also generate blank pages, and they don't.
RbnJrg is offline   Reply With Quote
Advert
Old 06-01-2022, 03:13 PM   #81
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: 7,793
Karma: 5446592
Join Date: Nov 2009
Device: many
If you see the extra pages go away with Window sizing, it is probably a bug in Bibi that this combination (Chrome/QtWebEngine) just tickles.

Can you try your Firefox trick with a Chrome browser at the Window size that causes problems? Or try Falkon (also QtWebEngine based).
KevinH is offline   Reply With Quote
Old 06-01-2022, 06:47 PM   #82
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
You were right! I did the try with Falkon and when I went at the window size that caused my issue, also in the browser the blank page was generated. It seems that the combination Chromiun/QtWebEngine triggers the bug. Could you do the test in your Manjaro with Falkon to see if the epub (by opening it) with Bibi running on Falkon (not running maximized, just in a window) generates blank pages?

Quote:
Originally Posted by KevinH View Post
If you see the extra pages go away with Window sizing, it is probably a bug in Bibi that this combination (Chrome/QtWebEngine) just tickles.

Can you try your Firefox trick with a Chrome browser at the Window size that causes problems? Or try Falkon (also QtWebEngine based).
RbnJrg is offline   Reply With Quote
Old 06-01-2022, 06:51 PM   #83
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: 7,793
Karma: 5446592
Join Date: Nov 2009
Device: many
I will give it a try tonight. What exact Window Size causes the issue?

- Update:

Saw your images with 430 x 600 and tried that with Sigil and saw no extra pages. Tried loading that epub into Falkon and Chrome with a whole bunch of window sizes and saw no extra pages with either of them. So I am just not seeing what you are seeing. My Manjaro build uses their latest Qt5.

So please try the following:

- make sure the Bibi setting for zoom has been reset to default

- try removing the following folder if it exists:
~/.local/share/BibiReader/QtWebEngine

Other than that, I am out of ideas.

Last edited by KevinH; 06-01-2022 at 08:04 PM.
KevinH is offline   Reply With Quote
Old 06-01-2022, 07:14 PM   #84
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: 27,641
Karma: 195154104
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I know you (@RbnJrg) recently built Sigil 1.9.10 from my instructions. Did you build the Qt6 version or the Qt5? I just want to try to get as close to your setup as possible.

Did you also remove the problematic repository version of 1.9.10 for good measure?
DiapDealer is offline   Reply With Quote
Old 06-01-2022, 08:18 PM   #85
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Many thanks for your patience Kevin. I erased the folder you said (but when I run Bibi is regenerated) and the zoom already was at default level. No case, the blank pages still are there


Quote:
Originally Posted by KevinH View Post
I will give it a try tonight. What exact Window Size causes the issue?

- Update:

Saw your images with 430 x 600 and tried that with Sigil and saw no extra pages. Tried loading that epub into Falkon and Chrome with a whole bunch of window sizes and saw no extra pages with either of them. So I am just not seeing what you are seeing. My Manjaro build uses their latest Qt5.

So please try the following:

- make sure the Bibi setting for zoom has been reset to default

- try removing the following folder if it exists:
~/.local/share/BibiReader/QtWebEngine

Other than that, I am out of ideas.
RbnJrg is offline   Reply With Quote
Old 06-01-2022, 08:20 PM   #86
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
I built the Qt6 version and yes, I previously removed the official (and problematic) version of Sigil 1.9.10.

Quote:
Originally Posted by DiapDealer View Post
I know you (@RbnJrg) recently built Sigil 1.9.10 from my instructions. Did you build the Qt6 version or the Qt5? I just want to try to get as close to your setup as possible.

Did you also remove the problematic repository version of 1.9.10 for good measure?
RbnJrg is offline   Reply With Quote
Old 06-01-2022, 09:06 PM   #87
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: 27,641
Karma: 195154104
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Ok, thanks.
And I assume that you installed PySide6 since the latest version of BibiReader is working (for the most part)?
DiapDealer is offline   Reply With Quote
Old 06-01-2022, 09:22 PM   #88
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
I inspected the epub and Bibi displays the .xhtml files with the following code:

Code:
<div class="spread-box reflowable spreaded" style="width: 7845px;">
	<div class="spread" style="height: 361px; width: 7845px;">
		<div class="item-box reflowable loaded" style="background-color: rgba(0, 0, 0, 0); background-image: none; background-repeat: repeat; background-position: 0% 0%; background-size: auto; height: 361px; width: 7845px;">
			<iframe class="item" scrolling="no" src="" style="background-color: rgba(0, 0, 0, 0); background-image: none; background-repeat: repeat; background-position: 0% 0%; background-size: auto; padding: 48px 24px 24px; height: 289px; width: 5182px;">

				<html xmlns="http://www.w3.org/1999/xhtml" class="Linux Chromium Blink Chrome bibi-flick-active bibi-flick-scrollable bibi-pinch-active bibi-columned" xml:lang="UND" lang="UND" style="background: transparent; height: 289px; column-fill: auto; column-width: 475px; column-gap: 48px; width: 5182px;">
					<head>...</head>

					<body style="background: transparent; font-size: 1rem;">...</body>
				</html>
			</iframe>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page current"></span>
		</div>
	</div>
</div>
I thought that the issue was caused by the following lines:

Code:
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page"></span>
			<span class="page current"></span>
and I erased them but without luck, the blank page remains.
RbnJrg is offline   Reply With Quote
Old 06-01-2022, 09:26 PM   #89
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,567
Karma: 7043711
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
Ok, thanks.
And I assume that you installed PySide6 since the latest version of BibiReader is working (for the most part)?
Yes, I installed PySide6. I had to, because Bibi didn't run and it said "no pyside6 module found". After installing PySide6 all worked fine.
RbnJrg is offline   Reply With Quote
Old 06-02-2022, 07:01 AM   #90
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: 27,641
Karma: 195154104
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Is your Arch machine virtual (running on a host OS) or is it a physical machine? I ask because Virtualbox video drivers can often introduce flaky behavior/artifacts where WebEngine is concerned. Epubs used to render upside down in Sigil's Preview when 3D acceleration was enabled in the video driver settings for the guest machine in Virtualbox.

Basically, I'm trying to determine what is different between our machines. We've got virtually identical builds of Sigil 1.9.10 on Arch Linux, so video hardware/drivers is about the only thing left that I can think of. The fact that other chrome-based renderers are exhibiting the same behavior lends credence to the notion of there being some issue with chromium/WebEngine and your video card/drivers.

Last edited by DiapDealer; 06-02-2022 at 07:07 AM.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] ePub3-itizer - epub3 output plugin for Sigil KevinH Plugins 435 01-19-2023 09:46 PM
Errors Using plugins with Sigil increase Plugins 3 03-06-2020 05:08 AM
Sigil Plugins! DiapDealer Sigil 33 03-19-2016 08:18 PM
Sigil Plugins (for Sigil 0.7xx Alpha) DiapDealer Sigil 15 09-27-2014 05:21 PM
An epub3 version of Sigil ? apulia03 Sigil 9 11-28-2012 01:07 AM


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


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