![]() |
#16 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,851
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
See the new hidpi settings in the UI appearance preferences. Depending on your actual screen dimensions, you may be better off turning qt's highdpi support off entirely. "Detect" will honor any system Qt highdpi environment variable you may have set, "On" will turn on Qt's highdpi scaling regardless, and "off" will turn it off regardless of any system environment variables related to Qt highdpi scaling.
The "incomprehensible sizes" you mentioned (though I can't imagine what's incomprehensible about simple pixel dimensions) are a result of Qt (and Windows) trying to automatically scale things on its own. If that's not working correctly for your particular setup, turn it off in the settings. The extra granularity for the variety of setups/resolutions out there is precisely why the new settings were added. Last edited by DiapDealer; 02-07-2020 at 10:58 AM. |
![]() |
![]() |
![]() |
#17 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,059
Karma: 5449552
Join Date: Nov 2009
Device: many
|
To be safest, make a copy of your sigil.ini files (and any other .ini files in the Sigil Preferences directory). That way if there are any settings related issues, you can always deal with them. There should not be any issues going from Sigil 1.1 to Sigil 0.9.10 and back. But you can never be too safe.
Yes you can always uninstall and reinstall from the release packages always available on our Releases page. On macOS I regularly install/replace right over top of the previous release with no issues. In Windows I am unsure. Maybe someone else could comment on that. I simply turn on Preview to see what I am getting while editing in CodeView. When it comes time for Final proofing, I load up the opf in the main tab of Sigil, and launch PageEdit via the external Xhtml editor settings. I then use Preview in Edit mode to make very small fixes when proofing, and then change to Preview mode in PageEdit to test links and things, while using PageEdits navigation icons to read the xhtml in spine order. Any changes will show up in Sigil after saving and closing out of PageEdit. Then I make any final changes in Sigil (create a ncx, update epub3 manifest, etc) and do a final save. Of course that is just my workflow. I am sure there are many other flows just as valid. Hope this helps. KevinH Quote:
Last edited by KevinH; 02-07-2020 at 12:12 PM. |
|
![]() |
![]() |
![]() |
#18 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,551
Karma: 11250580
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Forma, Pocketbook Era, Kindle Oasis 2
|
Thank you, Kevin! I figured it was probably safe enough, but just wanted to be sure before proceeding. Have everything downloaded, will explore over the weekend.
Sent from my iPad using Tapatalk |
![]() |
![]() |
![]() |
#19 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39,004
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#20 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,851
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Except for those couple of versions that were corrupting ini files (the utf-8 issue that made inis incompatible with other Sigil versions), there should be no problem. We pulled those versions of Sigil, so very few people should be running into that issue any more. I install over top of the old version all the time.
|
![]() |
![]() |
![]() |
#21 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,551
Karma: 11250580
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Forma, Pocketbook Era, Kindle Oasis 2
|
Quote:
I've been playing with some changes to my base ebook template and all seems to be working. I don't think I'll need PageEdit. I like the Previewer! Looking great to me so far! So much so I immediately hit the donate button, only to find it is not available at this time. All I can say about that is keep us posted if it becomes available! |
|
![]() |
![]() |
![]() |
#22 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Just re-opened yesterday's project and got 'Sigil has encountered a problem, Sigil may need to close'.
Closed the error box and it seems I can continue as normal. But I closed Sigil anyway. No error shown on re-loading the same book. Of interest? Error info: Critical: ARB::createContext: wglCreateContextAttribsARB() failed (GL error code: 0x0) for format: QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile), shared context: 0x30000 (The operation completed successfully.) Sigil version: 1.1.0 Runtime Qt: 5.12.6 Compiled Qt: 5.12.6 System: Windows 10 (10.0) Architecture: x86_64 Last edited by theducks; 02-08-2020 at 01:11 PM. |
![]() |
![]() |
![]() |
#23 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,851
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Weird. Was Sigil open/running that entire time (yesterday's project). Or was Sigil being launched again as well?
|
![]() |
![]() |
![]() |
#24 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Cold boot. I just dropped the e-pub file onto Sigil's desktop icon.
Seems to be ok now. |
![]() |
![]() |
![]() |
#25 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,851
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
QSurfaceFormat is bit of a giveaway for me, here.
@KevinH, do you think that the info provided here: https://doc.qt.io/qt-5/qtwebengine-platform-notes.html Quote:
Maybe we should enable Qt.AA_ShareOpenGLContexts early on as well?? |
|
![]() |
![]() |
![]() |
#26 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,059
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Sounds like a reasonable thing to do just to be ultra safe, although I thought it was only needed for QQuick widgets, but perhaps QtWebEngine uses those internally.
So something along the lines of Code:
QGuiApplication::setAttribute(Qt::AA_ShareOpenGLContexts); just before invoking MainApplication in main.cpp? Last edited by KevinH; 02-08-2020 at 02:02 PM. |
![]() |
![]() |
![]() |
#27 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,851
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Should do, yes. Though I think we're using QCoreApplication in main.cpp.
Last edited by DiapDealer; 02-08-2020 at 02:10 PM. |
![]() |
![]() |
![]() |
#28 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,059
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Please push that when you get a chance as my build of Qt5.12.7 is eating up my build machine currently.
|
![]() |
![]() |
![]() |
#29 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,059
Karma: 5449552
Join Date: Nov 2009
Device: many
|
QGuiApplication inherits from QCoreApplication; and QApplication inherits from QGuiApplication. And our MainApplication inherits from QApplication.
But I think that QCoreApplication does not support gui like opengl but I could be wrong. These should be static routines otherwise they could not be invoked before creation as is required here. So unless I am all wet (and I could easily be!) then doing a QGuiApplication::setAttribute call right before MainApplication is created should be allowed. Last edited by KevinH; 02-08-2020 at 02:37 PM. |
![]() |
![]() |
![]() |
#30 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,851
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'll find out and push it.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil-0.9.10 Released | DiapDealer | Sigil | 149 | 11-19-2018 10:20 PM |
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 | KevinH | Sigil | 106 | 10-04-2015 10:41 AM |
Sigil 0.8.2 Released | user_none | Sigil | 12 | 12-22-2014 06:02 PM |
Sigil 0.8.0 Released | user_none | Sigil | 126 | 10-11-2014 07:52 PM |
Sigil 0.5.3 Released | user_none | Sigil | 85 | 05-13-2012 05:29 AM |