04-14-2021, 01:14 PM | #1 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Cannot reduce window size on macOS
I have a pretty low-stakes problem: at some point I maximized my Sigil window, and now I'm unable to reduce it again. When I try, it just snaps right back. Is there a setting somewhere that I can unset for this?
|
04-14-2021, 01:24 PM | #2 |
Sigil Developer
Posts: 8,155
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Hmm ... I have not seen that. Typically having it open full screen and moving your mouse to the top left corner pops up the menu to escape full screen. Once you have done that immediately have sigil do a save-file as to someplace and close. athis should force Sigil to overwrite the sigil settings file that saves if it was fullscreen or not.
If that does not fix it, Close and exit completely out of Sigil (all Sigil main windows) and I can tell you which line to edit manually in the Sigil.ini file to tell it you do not want fullscreen. You should not need to do that but ... |
Advert | |
|
04-14-2021, 06:03 PM | #3 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
It's not actually fullscreen, just maximized. So a huge window, but the macOS menu bar is still visible and I can take it into and out of "real" fullscreen, I just can't achieve anything smaller. I also can't drag it to another display--when I release it, it just goes right back where it started.
If there's a line in the ini file that would help, I'd love to try it! But again it's not a huge deal. I've been using it that way for a pretty long time, just today I figured heck--might as well ask. |
04-14-2021, 06:22 PM | #4 |
Sigil Developer
Posts: 8,155
Karma: 5450818
Join Date: Nov 2009
Device: many
|
That is strange. There are two settings, Maximized and FullScreen but on macOS Qt when you told it to Maximize, it went to Full Screen. Perhaps that has changed.
With Sigil closed, take a normal text editor and edit your "sigil.ini" file (AFTER MAKING A BACKUP COPY FOR SAFETY). You can find that file in /Users/YOURUSERID/Library/Application\ Support/sigil-ebook/sigil/ The settings group is called "mainwindow". Look for two settings under that group and change them both to false. maximized fullscreen Then save that file, and fire up Sigil and you should now be able to resize it. |
04-15-2021, 12:01 PM | #5 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
That did the trick! Thank you so much. In case anyone else comes across this, the problem was with the maximized value.
|
Advert | |
|
04-15-2021, 12:33 PM | #6 |
Grand Sorcerer
Posts: 28,033
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
A can't recall if macos has a similar functionality, but on Windows, you need to "Restore Down" a maximized Window before you can resize it. The "Maximize" button toggles between Maximize and Restore Down functionality depending on the current state of the Window. Probably not relevant, given that you seem able to resize the Window--it just doesn't stay that way--but I wanted to throw it out there just in case.
|
04-15-2021, 01:43 PM | #7 |
Addict
Posts: 311
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
The closest we have on macOS is probably double-clicking anywhere at the top of the window. That toggles between "very large" and "whatever you started with" ordinarily--but even that didn't work til I made that ini adjustment. Thanks as always for the powerful tool!
|
05-21-2024, 03:39 PM | #8 |
Connoisseur
Posts: 55
Karma: 54
Join Date: Apr 2011
Location: NYC
Device: Many
|
Not sure whether to start a new thread or not, but:
I have this problem with Sigil 2.02 and Sigil 2.1 on MacOS 13.6.2, and editing the Maximized and Fullscreen values doesn't fix it. Fullscreen was already False, and Maximized resets to True by itself. I also can't move the window onto my second monitor, and disconnecting the second monitor doesn't change anything. I've edited the .ini before installing 2.1 and also after installing 2.1. Same result both times: "True" keeps reinstating itself as the Maximized value. EDIT: Deleting the .ini entirely and having Sigil build a new one on restart solved it. Last edited by noteon; 05-21-2024 at 03:46 PM. |
05-21-2024, 03:50 PM | #9 |
Sigil Developer
Posts: 8,155
Karma: 5450818
Join Date: Nov 2009
Device: many
|
I can not reproduce this on my macOS machine.
Are you sure you are editing the sigil_v6.ini file and not the old sigil.ini file used before Qt6? You have to edit that file with all Sigil Main Windows closed and Sigil NOT running. Once you edit the sigil_v6.ini file and fire up Sigil you must immediately shrink the Window down to normal size. Then exit Sigil one more time so that it saves the new Window geometry in the ini file. I will look into what Qt has done that makes this stuck on Maximized or Full Screen happen. |
05-21-2024, 03:53 PM | #10 |
Connoisseur
Posts: 55
Karma: 54
Join Date: Apr 2011
Location: NYC
Device: Many
|
Yes, editing sigil_v6.ini, and can also see that file's modified date changing when Sigil writes to it.
Sigil was not running when I edited it. I could not shrink the window. It snapped back when I tried. It's solved now that I deleted it entirely and Sigil rebuilt it. Some kind of permissions thing? |
05-21-2024, 04:09 PM | #11 |
Grand Sorcerer
Posts: 28,033
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I've run into corrupted geometry data on Windows and Linux before. That would be my guess.
|
05-21-2024, 04:12 PM | #12 |
Connoisseur
Posts: 55
Karma: 54
Join Date: Apr 2011
Location: NYC
Device: Many
|
I did notice Linux problems in another thread, and deleted the geometry line. Sigil rebuilt it and the problem persisted.
|
05-21-2024, 04:12 PM | #13 |
Connoisseur
Posts: 55
Karma: 54
Join Date: Apr 2011
Location: NYC
Device: Many
|
I also noticed mention of a second monitor, which is also my setup. FWIW.
|
05-21-2024, 05:08 PM | #14 |
Sigil Developer
Posts: 8,155
Karma: 5450818
Join Date: Nov 2009
Device: many
|
I can now recreate this on my mac, by the following sequence ....
1.launch Sigil 2. click on green button to go full screen 3. move mouse to title bar and hit the green button again to exit full screen 4. Sigil starts to return to normal but grows to become maximized and can not be resized. 5. Even using option+green button to leave maximized state fails. I will try to trackdown what on earth Qt is doing. |
05-21-2024, 05:11 PM | #15 |
Sigil Developer
Posts: 8,155
Karma: 5450818
Join Date: Nov 2009
Device: many
|
To rectify remove maxsize, fullscreen, maximized, and geometry from sigil_v6.ini
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to reduce size of opf file??? | karenbryant | ePub | 28 | 10-10-2022 12:39 PM |
possible to reduce size of Sigil window? | Notjohn | Sigil | 5 | 09-02-2016 12:57 PM |
How to reduce line spacing int the main window ? | PO40600 | Library Management | 8 | 12-29-2015 04:15 PM |
How to reduce size of image files? | HC9 | Library Management | 22 | 07-01-2013 06:40 AM |
How do I reduce popup size for cover selection? | lizzielou | Calibre | 2 | 05-06-2012 04:41 AM |