10-10-2024, 02:57 PM | #1 |
Groupie
Posts: 173
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
2.3.1: Accented character encoding automatically updated?
Edit: Oops, I checked the update log for 2.3.0 and I think this is probably the answer to my question:
"we are now using NFC unicode normalization form for all content, links, urls, and file paths." Sorry, I didn't make the connection when I read it the first time. Please delete this thread. Thanks for the latest version, it looks great. Spoiler:
Last edited by Mister L; 10-10-2024 at 04:33 PM. |
Yesterday, 09:58 AM | #2 |
Sigil Developer
Posts: 8,115
Karma: 5450818
Join Date: Nov 2009
Device: many
|
There is an environment variable that disables the unicode C normalization where the spec allows it. It makes no sense to me to use it but ....
Check out the latest Sigil Users Guide for a table of environment vars if interested. |
Yesterday, 02:28 PM | #3 | |
Groupie
Posts: 173
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
Quote:
I will take a look at the variables table, thanks for that info. One other question, my default window size is not retained, any idea why that might happen? When I open Sigil the main window is in the right place but it's too wide on the right side, regardless of the size / position of the window on the last close. |
|
Yesterday, 03:40 PM | #4 |
Sigil Developer
Posts: 8,115
Karma: 5450818
Join Date: Nov 2009
Device: many
|
What OS? What Qt version? (see the About Sigil menu).
Does this happen only with Sigil 2.3.1 or can it happen with earlier versions as well? When we moved our release builds to Qt6 only we removed a bunch of cruft that was needed for remembering sizes for Qt5 only but that was fixed in Qt 6.7.x series. Perhaps some change there is impacting things? Are you using 2 or more monitors? Are it (they) using fractional dpi scaling by chance? |
Today, 11:12 AM | #5 | |||
Groupie
Posts: 173
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
Windows 10, Sigil 2.3.1, QT 6.7.2. Let me know if you need anything more precise about the windows version.
Quote:
Then I tried with Sigil 1.9.30 / Qt 5.12.9 and the window position / size was properly saved. Sigil v1 uses a different .ini file to the v2 Sigils: sigil.ini (Sigil 1) and sigil_v6.ini (Sigil v2). I copied the "mainwindow" geometry from the (correct) sigil.ini file into the sigil_v6.ini to test but it didn't change anything. Quote:
Quote:
Not sure this is useful at all but in case it helps, here is the mainwindow geometry from the sigil_v6.ini file (used by Sigil v2): Spoiler:
|
|||
Today, 11:54 AM | #6 |
Grand Sorcerer
Posts: 27,986
Karma: 199001268
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I've never had any problems with mainwindow retaining it's size on Windows 10. I also wouldn't recommend copying data directly from Sigil.ini to Sigil_v6.ini. I'm suspecting that parts of your .ini may be corrupted.
|
Today, 12:01 PM | #7 |
Groupie
Posts: 173
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
That seems plausible. How can I fix it? Can I delete the sigil_v6.ini and let it regenerate a new .ini file or will that cause more problems?
|
Today, 12:33 PM | #8 | |
Grand Sorcerer
Posts: 27,986
Karma: 199001268
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Also keep in mind that when multiple instance of Sigil are running, the last one to close is the geometry that get's saved. So make sure the last instance is set to to the size you want before closing. |
|
Today, 12:58 PM | #9 | |
Groupie
Posts: 173
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
Quote:
Oh, I know. I very frequently have 2 epubs open at the same time in different positions and if I accidentally close the "right" one first I relaunch another instance of Sigil before I close the "wrong" one. |
|
Today, 01:18 PM | #10 | |
Grand Sorcerer
Posts: 27,986
Karma: 199001268
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
Today, 02:10 PM | #11 | |
Groupie
Posts: 173
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
Quote:
Here are some screenshots: How I want it How it is when I open it I tried reducing the height a little bit and then opening a file / saving / closing / relaunching; the new height was saved but still not the width. |
|
Today, 03:05 PM | #12 |
Grand Sorcerer
Posts: 27,986
Karma: 199001268
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Best guess is that you're shrinking one element below it's (current Qt) recommended width. Qt tries to juggle all of these things but isn't always successful at restoring everything exactly.
Try temporarily closing the F&R Window, and see if that stops the growth. Or the Clips bar. Everything looks to be staying the same size to me except for the central widget (which in turn makes MainWindow grow). |
Today, 03:16 PM | #13 |
Guru
Posts: 772
Karma: 2298438
Join Date: Jan 2017
Location: Poland
Device: Various
|
The main window (in my case, Windows 10) has a minimum required width of around 955-960px with the F&R window open. If you shrink the window below this value then the next time you open Sigil it is set to this minimum width.
On the other hand, it's hard to see such a situation as a bug, as Qt simply tries to fit all widgets/controls on the screen. |
Today, 03:48 PM | #14 |
Groupie
Posts: 173
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
|
Ok, it is indeed a question of minimum window size apparently. The size I want is approximately 927px, the size I get is 1014 pixels (according to my screen cap).
If I close the F&R + several toolbars + the ToC I still get 1014. If I leave it at 1014 but move it to the left (so the preview is not blocking it) I can keep all the usual toolbars + ToC and F&R and the size / position is restored on open. Means I have a bit less space for reference documents to the left of Sigil but I will learn to live with it, I guess. Thanks very much to both of you for helping me figure it out. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Character encoding issue | Frenchguy | Editor | 5 | 10-02-2017 02:33 PM |
Is there a setting to change all accented characters to the corresponding character | LadyKate | Library Management | 1 | 06-29-2014 09:11 AM |
Problem with character encoding | thesuker | Calibre | 2 | 11-09-2012 10:11 PM |
What character encoding am I seeing? | Claghorn | Conversion | 1 | 08-22-2012 10:02 AM |
how to tell the character encoding??? | rheostaticsfan | Calibre | 23 | 06-21-2010 03:26 PM |