Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-04-2026, 03:11 PM   #1
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 326
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Two problems in Sigil 2.7.0 in Windows11

1. Wanting to edit a template file, I clicked on the 'Open Preferences Location' button in Sigil on my Windows box and to my surprise, it landed me in Desktop on the File Explorer. I tried many times, and it was consistent.

I navigated to the directory I needed: username\AppData\.local\share\sigil-ebook\sigil\ , but this may be a problem for some users.

The 'Open Preferences Location' function works as expected in Linux and on my MacBook, but not in Windows 11.

2. The second problem I find is that Sigil on Windows does not remember the width of the Book Browser pane between sessions. It appears to do so correctly in Linux and on the MacBook. In Windows, Sigil always starts with the Book Browser at its minimum width - all I can read of the chapter names is Ch...ml.

Not mega problems, but the preferences location might be difficult for some users.

Last edited by philja; 02-04-2026 at 03:14 PM. Reason: corrected preferences path
philja is offline   Reply With Quote
Old 02-04-2026, 03:44 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: 29,063
Karma: 211348980
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Neither of your issues manifest for me on any of my Windows 10 or 11 test environments. If number 2 was a widespread problem, there would have been lots of people screaming already. Not sure what might be going on on your machine.
DiapDealer is offline   Reply With Quote
Advert
Old 02-04-2026, 03:45 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: 3,455
Karma: 20534347
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
hmmm...I think this may be an issue on your computer??? My Windows 11 opens the preferences location just fine. It also remembers the width of the book bowser pane....sorta. If I close Sigil after making the Pane half of the window, then it reverts to a "max-width" or a percentage of the window. If I make the pane much smaller - its minimum width - Sigil will re-open to the minimum width. It also remembers any size in-between minimum and "maximum".

Have you tried manually setting the preferences location somewhere else, and then setting it back?? That might help...

Otherwise I'll let the Sigil maintainers troubleshoot this with you.

Windows 11 Pro N version: 25H2
Sigil: 2.7.0
QT: 6.9.3
Turtle91 is offline   Reply With Quote
Old 02-04-2026, 04:06 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: 9,277
Karma: 6565382
Join Date: Nov 2009
Device: many
They may be related. If Qt can not find its local data path, then Sigil will not find its preferences and therefore no settings ini file would be read or written to which means no window geometry is kept.

Qt uses Windows environment vars to determine its path. Perhaps yours are not set correctly or you have moved it to a network drive (damn ms cloud stuff) which I had a dickens to disable when I last used Windows.

Code:
QString Utility::DefinePrefsDir()
{
    // If the SIGIL_PREFS_DIR environment variable override exists; use it.
    // It's up to the user to provide a directory they have permission to write to.
    if (!SIGIL_PREFS_DIR.isEmpty()) {
        return SIGIL_PREFS_DIR;
    } else {
        return QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation);
    }
}

Last edited by KevinH; 02-04-2026 at 04:09 PM.
KevinH is offline   Reply With Quote
Old 02-04-2026, 04:13 PM   #5
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,277
Karma: 6565382
Join Date: Nov 2009
Device: many
And according to Qt's QStandardPaths docs, AppLocalData value defined as:

Returns the local settings path on the Windows operating system. On all other platforms, it returns the same value as AppDataLocation.

And here are the templates for the AppLocalDataLocation on Windows:

"C:/Users/<USER>/AppData/Local/<APPNAME>",
"C:/ProgramData/<APPNAME>",
"<APPDIR>",
"<APPDIR>/data",
"<APPDIR>/data/<APPNAME>"

And the Windows specific code and calls that determine these can be found here:

https://github.com/qt/qtbase/blob/20...dpaths_win.cpp

So check what environment vars you have set? Also check permissions to verify that the location / path is actually writeable by the user.

This code literally has not changed in years in Sigil so it is most likely an issue on your specific machine.

Last edited by KevinH; 02-04-2026 at 04:22 PM.
KevinH is offline   Reply With Quote
Advert
Old 02-04-2026, 04:22 PM   #6
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,781
Karma: 24088595
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by philja View Post
I navigated to the directory I needed: username\AppData\.local\share\sigil-ebook\sigil\ , but this may be a problem for some users.
I wasn't able to reproduce the problem on my Windows 11 machine.

AFAIK, the default preferences folder is:

Code:
%localappdata%\sigil-ebook\sigil
or
Code:
C:\Users\<user>\AppData\Local\sigil-ebook\sigil
where <user> is your actual user name. Did you maybe create a symbolic link to the folder that you mentioned?

Also what happens if you press WIN+R, paste the following path into the Run box and hit Enter:

Code:
%localappdata%\sigil-ebook\sigil
Doitsu is offline   Reply With Quote
Old 02-04-2026, 05:37 PM   #7
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 326
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by Doitsu View Post
I wasn't able to reproduce the problem on my Windows 11 machine.

AFAIK, the default preferences folder is:

Code:
%localappdata%\sigil-ebook\sigil
or
Code:
C:\Users\<user>\AppData\Local\sigil-ebook\sigil
where <user> is your actual user name. Did you maybe create a symbolic link to the folder that you mentioned?

Also what happens if you press WIN+R, paste the following path into the Run box and hit Enter:

Code:
%localappdata%\sigil-ebook\sigil
First, let me humbly apologise for my error in the path in my original post - when correcting the '/' to '\' for Windows, I pasted in a part of the Linux path.

I confirm that my preferences location on the Windows box is:
C:\Users\pnj\AppData\Local\sigil-ebook\sigil

It seems that the problems are down to my machine. It was a W10 box which I upgraded to W11 last summer. I only use it occasionally when I need a couple of applications which don't run well on linux - and when I'm in W11, I'll sometimes use Sigil (which happened today).

I've never, as far as I can recall, ever set any environment variables.

When I press WIN+R & paste the following
Code:
%localappdata%\sigil-ebook\sigil
into the Run box and hit Enter: it correctly opens the preferences location.


So do I conclude that there is something wrong with my Sigil installation?

Afterthought: I recall sometime ago that when I tried to update KDP Previewer3, I got a message saying the upgrade wouldn't work with some mention, IIRC, of inability to find something related to QT. My fix then was simply to delete the old Previewer and make a new installation of the latest version.

Last edited by philja; 02-04-2026 at 05:42 PM.
philja is offline   Reply With Quote
Old 02-04-2026, 05:53 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 81,993
Karma: 150266009
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Do you have these problems if you run Sigil in Safe Mode?
JSWolf is offline   Reply With Quote
Old 02-04-2026, 06:02 PM   #9
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 326
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by JSWolf View Post
Do you have these problems if you run Sigil in Safe Mode?
I don't see any option to start Sigil in Safe mode. How would I do that?
philja is offline   Reply With Quote
Old 02-04-2026, 06:28 PM   #10
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 326
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
I deleted Sigil, downloaded and installed a new 2.7.0 and the two problems are still there. The situation has evolved, though - for the worse, I fear.

Running %localappdata%\sigil-ebook\sigil in Win-R now fails to open the correct location and just opens Desktop in File Explorer - same as the Preferences Location button in Sigil does.

Otherwise, Sigil works fine using my display variations in qt_styles.qss file and my templates.

Off to bed now - see how it develops tomorrow.
philja is offline   Reply With Quote
Old 02-04-2026, 07:15 PM   #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: 9,277
Karma: 6565382
Join Date: Nov 2009
Device: many
My guess is when you installed Windows 11 it got set up with a Microsoft Cloud or network based user account. Windows is making it harder and harder to set up a normal user account that is not tied to the cloud.

I do not think reinstalling Sigil will make any differences. You should manually cd to the expected paths and verify that you have write permissions at that location and its parent.

%localappdata% is effectively a system defined environment variable for each user.

Last edited by KevinH; 02-04-2026 at 07:17 PM.
KevinH is offline   Reply With Quote
Old 02-04-2026, 08:50 PM   #12
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,063
Karma: 211348980
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Using regedit, check the contents of HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\User Shell Folders

The Local AppData folder should be set to %USERPROFILE%\AppData\Local
DiapDealer is offline   Reply With Quote
Old 02-05-2026, 06:24 AM   #13
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 81,993
Karma: 150266009
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by philja View Post
I don't see any option to start Sigil in Safe mode. How would I do that?
You run Windows in safe mode. Then you run Sigil.
JSWolf is offline   Reply With Quote
Old 02-05-2026, 10:55 AM   #14
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 326
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by DiapDealer View Post
Using regedit, check the contents of HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\User Shell Folders

The Local AppData folder should be set to %USERPROFILE%\AppData\Local
I checked this, and it's as you said.

echo %localappdata% returns C:\Users\<NAME>\AppData\Local
echo %USERPROFILE% returns C:\Users\<NAME>

All this seems ok but I can only get to the Preferences Location by manual navigation. Hovering over the button in Preferences does show the correct path to the location, but actually clicking the button takes me to Desktop in File Explorer.

I noticed that some application icons in the Start Menu have a right-click option of 'Open File Location'. I tried that, and it too lands me on Desktop in Explorer after briefly flashing up another page.

I tried using Windows System File Checker to repair missing or corrupted files, but it found no fault. Sadly, though, it has screwed up OBS and Elgato Streamdeck settings, which I'll have to reconstruct.

So, I'm pretty hacked off with Windows at the moment and wish I'd never noticed the difficulty in getting to the Preferences location.

Unless someone has a real easy killer solution, I'll live with the minor aggravations.
philja is offline   Reply With Quote
Old 02-05-2026, 11:13 AM   #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: 9,277
Karma: 6565382
Join Date: Nov 2009
Device: many
You can of course set a Windows Environment Variable (SIGIL_PREFS_DIR) to force Sigil to use the exact path you want. You should not need to do this but it will work as all code in Sigil uses that DefinePrefs routine I posted for you earlier to build the proper path to Preferences.
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to launch Calibre under Windows11/Surface Pro 7 Crisppr.cas9 Calibre 4 04-02-2022 05:31 AM
Sigil Problems Poopsey Sigil 33 02-06-2020 10:43 AM
text problems Sigil? ralphiedee Sigil 14 08-09-2012 05:30 AM
Problems downloading Sigil GMFpubs Sigil 7 11-19-2011 02:40 AM
Problems with Sigil... kevinp Sigil 4 05-09-2010 01:33 PM


All times are GMT -4. The time now is 02:39 AM.


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