09-04-2024, 12:09 PM | #76 | |
Sigil Developer
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Quote:
If you did try after commenting out that line, please let me know. I just tried commented out those lines in Manjaro Linux and both fullscreen and maxmimized restoring still worked just fine. So if it did work ok on Windows, I am going to comment them out in master to help prevent future race related bugs. As for getting out of FullScreen mode, especially in Linux can be a real bear as well. In macOS you just move the cursor up to the top left cursor of the screen and it will popup the titlebar buttons. In Manjaro Linux, that did not work, neither did right clicking on where the menu bar might be, nor did using esc. I finally googled it and found that Alt-F3 makes a small menu pop-up that allows you to leave FullScreen mode. Leaving Maximized tate is much easier since the titlebar is always available. |
|
09-04-2024, 12:12 PM | #77 |
Guru
Posts: 783
Karma: 2298438
Join Date: Jan 2017
Location: Poland
Device: Various
|
Yes. Of course, I did the tests AFTER commenting out two lines in the MainWindow.cpp file.
|
09-04-2024, 12:14 PM | #78 | |
Sigil Developer
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Quote:
As for the incredible shrinking dockwidget bug, it must be platform specific. Something is adjusting the sizes using some sort of algorithm or maybe monitor scaling impacts this and we are seeing multiple instances of rounding down? I am going to run that test on Linux to see if I can recreate it there. Update: Just tested things by putting the Table of Contents on top over the BookBrowser then repeatedly open the same file and the Table of Contents never shrunk one pixel (as I had aligned it at the bottom of an text line). So I can not recreate this on Linux or macOS. So the bug must be in Qt code someplace. Last edited by KevinH; 09-04-2024 at 12:25 PM. |
|
09-04-2024, 12:19 PM | #79 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Linux on Cinnamon DOES in fact remember its fullscreen state after closing and relaunching. *Someone* apparently unassigned the keyboard shortcut to toggle fullscreen on and off! I can't imagine who would do such a thing.
|
09-04-2024, 12:30 PM | #80 |
Sigil Developer
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Thanks! I just pushed that change to master. Using comments allows the base.ts to still have the right line numbers! For a future release, I will just remove that code completely.
|
09-04-2024, 01:09 PM | #81 | |
Guru
Posts: 783
Karma: 2298438
Join Date: Jan 2017
Location: Poland
Device: Various
|
Quote:
Alt+Space brings up the application's pop-up menu, where we can select "Resize," zoom out Sigil a bit and safely exit full-screen mode. |
|
09-04-2024, 02:13 PM | #82 | |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
09-04-2024, 02:25 PM | #83 |
Bibliophagist
Posts: 40,549
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
After building the latest version, seems to be working happily.
On Windows 11, I have the taskbar set to autohide so setting Sigil to maximized uses the full screen. |
09-04-2024, 02:48 PM | #84 | |
Guru
Posts: 783
Karma: 2298438
Join Date: Jan 2017
Location: Poland
Device: Various
|
Quote:
Sometimes I write too briefly. For testing, I use two ways: 1. I edit sigil_v6.ini and type: Code:
maximized=false fullscreen=true Then the geometry is set to fullscreen. Version 2.3.1 recognizes that the geometry points to fullscreen and I can test. 2. Donate button is often used for me to test, so I plugged myself the code: Code:
void MainWindow::Donate() { if (isFullScreen()) { showNormal(); } else { showFullScreen(); } } It works perfectly. Clicking on the heart icon turns the full screen on/off. I privately use this icon for a different purpose CreateHTMLTOC(); but for full-screen testing this was the easiest solution for me. |
|
09-04-2024, 03:11 PM | #85 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
OK Thanks! So there's no way to use Windows itself to make Sigil go fullscreen like using F11 with browsers and other Windows apps (and similar built-in toggles on Linux and macOS)? How odd. We may have to make our own official fullscreen toggling button for this like you did.
Last edited by DiapDealer; 09-04-2024 at 07:06 PM. |
09-04-2024, 06:16 PM | #86 |
Enthusiast
Posts: 41
Karma: 46
Join Date: Mar 2017
Device: None
|
The build instructions say, "It is not possible at this time build a Debug version of Sigil with Visual Studio." What development environment is needed to build the Debug version?
|
09-04-2024, 06:45 PM | #87 | |
Guru
Posts: 783
Karma: 2298438
Join Date: Jan 2017
Location: Poland
Device: Various
|
Quote:
It may come in handy whether it is a new command in the menu with the assigned keyboard shortcut F11, or additionally located somewhere on one of the toolbars. |
|
09-04-2024, 07:16 PM | #88 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
A Windows debug build of Sigil is quite involved. Perhaps it's changed since I last gave up, but it used to require having a debug build of Qt and a debug build of Python. The latter may have changed. I haven't tried in a long, long while.
|
09-04-2024, 07:24 PM | #89 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Thank you! If the other OSes can do it, there's no reason to leave Windows out if the only thing missing is a toggle mechanism. It's not something I need, but fullscreen clearly exists because some like it.
|
09-04-2024, 07:50 PM | #90 |
Enthusiast
Posts: 41
Karma: 46
Join Date: Mar 2017
Device: None
|
Oh, well. Thanks DiapDealer.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Updated CC (3.5.6) crashes upon opening | SuzDavid | Calibre Companion | 16 | 11-22-2014 11:18 AM |
Opening EPUBs in Sigil takes ages [Windows] | Wasserpulle | Sigil | 4 | 12-13-2013 02:05 PM |
SIGIL Crashes When Opening Files on MacBook Pro | WilliamGarner | Sigil | 2 | 10-09-2013 10:07 AM |
Epub crashes on Sigil for Mac, OK on Sigil for PC | crystamichelle | Sigil | 6 | 08-14-2013 03:52 PM |
4.129 crashes upon opening | da_jane | Calibre | 7 | 01-19-2009 03:25 AM |