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 06-18-2021, 03:19 PM   #1
2scre
Connoisseur
2scre began at the beginning.
 
Posts: 95
Karma: 10
Join Date: Oct 2017
Device: iPhone
Black background problem in Sigil 0.9.14

I recently downloaded 0.9.14 version of Sigil to use the BookView which is not available in later versions.

When I open an ePub file, I'm seeing black background on black text, which makes the text illegible.

I'm using iMac (Mojave).

I was suggested to rename the sigil.ini file to oldsigil.ini, which I did, but it didn't fix the problem.
2scre is offline   Reply With Quote
Old 06-18-2021, 03:25 PM   #2
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: 24,289
Karma: 163636384
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Sigil 0.9.14 had no inherent darkmode capabilities. The only way for BookView to have a black background in 0.9.14 is by using a custom .qss file in your Sigil preferences directory. The only way for Preview to have a black background in 0.9.14 is for the epub's own css to specify it, or by overriding the book's css with a custom user css file (also found in the Sigil preferences directory).

The colors from a newer version of Sigil might have become "stuck" if you downgraded from a newer version of Sigil, but you said you renamed the existing Sigil.ini file, so that rules out that possibility.

Last edited by DiapDealer; 06-18-2021 at 03:30 PM.
DiapDealer is online now   Reply With Quote
Old 06-18-2021, 06:38 PM   #3
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 2,300
Karma: 13611111
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2 & Air/Surface Pro/Kindle PW
I’ve seen this often when opening smashwords epubs. Their guide explicitly states for users to define the text color as black (color:black). When you change to night mode, or otherwise specify a background color in the css, this prevents the device from changing the text to a complementary color.

I could see this happening with other “automated” ePub software designed primary for print. As Diap mentioned, I doubt this is a Sigil issue. Try searching your CSS file(s) for “color”.
Turtle91 is offline   Reply With Quote
Old 06-18-2021, 07:13 PM   #4
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: 5,550
Karma: 3513158
Join Date: Nov 2009
Device: many
To test, try opening a known good epub when your macOS is set to Light mode not dark. Try downloading an loading the Sigil User Guide epub or any known good epub.
KevinH is online now   Reply With Quote
Old 06-18-2021, 08:26 PM   #5
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: 24,289
Karma: 163636384
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I wasn't aware the version of Qt we shipped with 0.9.14 even supported MacOS' light/dark modes, but apparently I'm wrong.

Any chance users could modify Sigil's .plist file to opt out of dark mode with the info provided here:https://developer.apple.com/document...your_macos_app ?
DiapDealer is online now   Reply With Quote
Old 06-18-2021, 08:31 PM   #6
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: 5,550
Karma: 3513158
Join Date: Nov 2009
Device: many
It doesn't but the macOS Mojave does. So they should make sure they have their macOS set to use light mode in case the older QWebkit absorbed any colours from the OS (just to test with).

Yes there are app plist files but changing them would break the digital signature.

I just was trying to see if any epub worked at all, first.

Also, they want to make sure they had fully exited out of Sigil when they renamed the sigil.ini file otherwise it won't impact anything.

For many macOS users get confused when they close the last Window thinking the app has exited but it has not. They need to actually exit out.

Last edited by KevinH; 06-18-2021 at 08:35 PM.
KevinH is online now   Reply With Quote
Old 06-18-2021, 08:37 PM   #7
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: 24,289
Karma: 163636384
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Understood (about digital sigs). But Sigil 0.9.14 ships with Qt5.12.3, and support for MacOS dark mode appears to have begun with Qt5.12.1. So won't 0.9.14's Qt (by default) try to honor the user dark mode setting on Mojave?
DiapDealer is online now   Reply With Quote
Old 06-18-2021, 08:43 PM   #8
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: 5,550
Karma: 3513158
Join Date: Nov 2009
Device: many
But did QtWebkit? For BookView and Preview? It was the last version of Sigil to use QtWebkit. I thought only QtWebEngine was supported in Qt 5.12 officially for theme switching. That is I recommend trying with macOS set to light mode.
KevinH is online now   Reply With Quote
Old 06-18-2021, 08:54 PM   #9
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: 24,289
Karma: 163636384
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
That, I don't know. Hopefully the OP can provide some answers.
DiapDealer is online now   Reply With Quote
Old 06-19-2021, 09:04 AM   #10
2scre
Connoisseur
2scre began at the beginning.
 
Posts: 95
Karma: 10
Join Date: Oct 2017
Device: iPhone
I just now downloaded Sigil User Guide and opened and it had the same problem. (I changed my Mac settings from dark mode to light mode before opening it)

I went to Application Support again, and found oldsigil.ini dated June 13, and sigil.ini dated today.

When I tried renaming the sigil.ini dated today to oldsigil.ini it says "The name “oldsigil.ini” is already taken. Please choose a different name."

Last edited by 2scre; 06-19-2021 at 09:34 AM.
2scre is offline   Reply With Quote
Old 06-19-2021, 10:39 AM   #11
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: 5,550
Karma: 3513158
Join Date: Nov 2009
Device: many
Make sure Sigil is not running at all. Then change sigil.ini to ANY other name. For example badsigil.ini or anything else you like. But the key point it to make sure that Sigil is *not* at all running first.
KevinH is online now   Reply With Quote
Old 06-19-2021, 11:10 AM   #12
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: 5,550
Karma: 3513158
Join Date: Nov 2009
Device: many
Okay. I use macOS with Mojave on one of my machines so I created an entirely new user on my system. Logged in as this new user, downloaded Sigil 0.9.14 for mac and installed it on my desktop and tested it.

- Sigil 0.9.14 works just fine if the Mac is set to system Light Theme *before* launching Sigil. Both Preview and BookView work as expected. No black text.

However if you set your mac to Dark Theme before starting Sigil 0.9.14 both Preview and BookView show black text on black backgroud.

Quitting completely out of Sigil, changing the mac to Light Theme and then starting up Sigil fixes things.

The OP simply needs to set their mac to Light theme *before* launching Sigil. Launching Sigil when under Dark mode and then switching to Light will not work. To do that they must exit completely out of Sigil before switching Themes using Sigil's Quit menu.

So
1. Use Sigil's Quit menu to force Sigil to stop running (exit out completely)
2. Switch your mac to Light mode
3. Then and only then start-up Sigil
4. Load your epub.

Both Preview and BookView will then work just fine as testing proves on an iMac with Mojave.

Note: starting up or restarting your mac may not help to exit from Sigil as they are set by default to reopening all apps with windows open when the shutdown or restart was done. This is horrible if any issues exist in the app. I always uncheck the reopen windows box when doing any restart or shutdown to prevent such stupid behaviour.

Last edited by KevinH; 06-19-2021 at 11:16 AM.
KevinH is online now   Reply With Quote
Old 06-19-2021, 11:26 AM   #13
2scre
Connoisseur
2scre began at the beginning.
 
Posts: 95
Karma: 10
Join Date: Oct 2017
Device: iPhone
I changed the remaining sigil.ini to some other name and now the problem is fixed. Thank you!
2scre is offline   Reply With Quote
Old 06-19-2021, 11:36 AM   #14
2scre
Connoisseur
2scre began at the beginning.
 
Posts: 95
Karma: 10
Join Date: Oct 2017
Device: iPhone
I guess I'll have to change to light mode every time I want to start Sigil and then switch back to dark mode if I feel like it after it's launched.
2scre is offline   Reply With Quote
Old 06-19-2021, 12:02 PM   #15
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: 5,550
Karma: 3513158
Join Date: Nov 2009
Device: many
Sigil 0.9.14 is so old there was no support yet for mac Dark and Light modes.

If you feel comfortable in using Terminal.app and changing system defaults on macOS you might try the following command:

defaults write com.sigil-ebook.Sigil.app NSRequiresAquaSystemAppearance -bool yes

I am not sure if that will work or not, but it is worth a try.

Here is a link that may help I found via a google search:

https://www.techjunkie.com/exclude-a...-macos-mojave/

Last edited by KevinH; 06-19-2021 at 12:13 PM.
KevinH is online now   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
black background, black test shar88 Conversion 8 05-06-2019 09:02 PM
White text On Black Background moofychops Amazon Kindle 7 02-17-2018 05:39 PM
Black background in Night theme is not truly black Peter Ahlstrom Marvin 3 08-01-2015 08:08 AM
ereader for Windows with black background foosion Reading and Management 12 10-28-2011 07:37 PM
Black Background Ekdog Amazon Kindle 2 01-17-2011 08:12 AM


All times are GMT -4. The time now is 05:39 PM.


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