Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-23-2022, 09:27 AM   #1
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: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
PageEdit-1.9.10 Released

PageEdit-1.9.10

PageEdit-1.9.10 is a minor update that represents 3 bug fixes and a single new feature.


New Features:
  • support building with Qt6
  • make Qt6 versions use their own ini file for settings
  • add Ctrl+PgUp/PgDown shortcuts to Prev and Next actions


Bug Fixes:
  • harden URLInterceptor to dead QWidget bugs in Qt
  • setMovable true on QToolbars to work around broken linux theme issues
  • update sigil gumbo version with upstream fixes


--------------------------------- Notes -----------------------------------

The PageEdit user guide has been updated and can always be downloaded from its own repository.


The binary downloads (and source) can be found as assets at the bottom of the PageEdit Github Release page.
DiapDealer is online now   Reply With Quote
Old 05-23-2022, 09:27 AM   #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: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Post reserved for future use.
DiapDealer is online now   Reply With Quote
Advert
Old 06-04-2022, 06:17 AM   #3
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
I want to build PageEdit 1.9.10 with qt6 but the program is built with qt5 (of course, I have installed qt6 in my Arch). I tried to compile PageEdit with:

Code:
/usr/lib/qt6/bin/qt-cmake "Unix Makefiles" -DINSTALL_BUNDLED_DICTS=0 -DCMAKE_BUILD_TYPE=Release ../pageedit-src
but no case, is compiled with qt5:

Click image for larger version

Name:	PageEdit.png
Views:	225
Size:	29.4 KB
ID:	194126

By the way, how do I set PageEdit in "dark mode" (Arch)? The option "File/Preferences.../Appearence/Make PageEdit simulate a dark appearence in dark mode" seems not to work.
RbnJrg is offline   Reply With Quote
Old 06-04-2022, 09:07 AM   #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: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
Just like with the Sigil build process add this to your cmake command:

-DUSE_QT6=1

And I believe there is a

FORCE_PAGEEDIT_DARKMODE_PALETTE

And if a epub sets its own colours they will overrde the simulated darkmode setting.
KevinH is offline   Reply With Quote
Old 06-04-2022, 11:06 AM   #5
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: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Yes the "simulate appearance setting" will only try to affect the background/text color (much like the setting for Preview in Sigil). It is separate from the dark mode for the application itself. But the application must be set to dark mode before that PageEdit setting will have any effect.

Last edited by DiapDealer; 06-04-2022 at 11:53 AM.
DiapDealer is online now   Reply With Quote
Advert
Old 06-04-2022, 11:06 AM   #6
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Thanks Kevin; two things:

One: PageEdit with Qt6 compiles but it doesn't work; when I compiled it with Qt5 it works as is expected.

Two: no case, even with the statement FORCE_PAGEEDIT_DARKMODE_PALETTE=1 in the enviroment variables, I can't enable dark mode on my Arch. Or I need to do another thing more or dark mode is not working under Linux (by the way, in Windows I don't have any issue -with the Windows version of course-).

Quote:
Originally Posted by KevinH View Post
Just like with the Sigil build process add this to your cmake command:

-DUSE_QT6=1

And I believe there is a

FORCE_PAGEEDIT_DARKMODE_PALETTE

And if a epub sets its own colours they will overrde the simulated darkmode setting.
RbnJrg is offline   Reply With Quote
Old 06-04-2022, 11:19 AM   #7
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: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
Please define "doesn't work"? Does it crash? What if any error messages are given? I just tried Qt6 PageEdit on macOS and it all works just fine.



Quote:
Originally Posted by RbnJrg View Post
Thanks Kevin; two things:

One: PageEdit with Qt6 compiles but it doesn't work; when I compiled it with Qt5 it works as is expected.

Two: no case, even with the statement FORCE_PAGEEDIT_DARKMODE_PALETTE=1 in the enviroment variables, I can't enable dark mode on my Arch. Or I need to do another thing more or dark mode is not working under Linux (by the way, in Windows I don't have any issue -with the Windows version of course-).

Last edited by KevinH; 06-04-2022 at 11:50 AM.
KevinH is offline   Reply With Quote
Old 06-04-2022, 12:02 PM   #8
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: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
PageEdit Qt6 has not been tested as nearly as heavily as Sigil Qt6 (at least on Linux and Windows). That's probably on me. But then we've not declared Qt6 versions of either PageEdit or Sigil production-ready quite yet, either.

But if you're satisfied with Sigil Qt6 (and it's really close to being declared production-ready IMO) , there's no real reason you need to build PageEdit with Qt6 to match. PageEdit Qt5 will happily integrate with Sigil Qt6.
DiapDealer is online now   Reply With Quote
Old 06-04-2022, 12:34 PM   #9
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: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
FWIW - I just built PageEdit using QT6 on my Manjaro Linux box following the build instructions and it launches just fine.

Edit:

But will ends up with empty qwebengine pages no matter what I load.

So there does appear to be a problem

Last edited by KevinH; 06-04-2022 at 12:52 PM. Reason: Updating after further testing
KevinH is offline   Reply With Quote
Old 06-04-2022, 01:03 PM   #10
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: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
Okay, it seems in WebPageEdit.cpp there is a linux specific background hack for Qt 5.14 that needs to be restricted to Qt5 as it breaks Qt6 versions of PageEdit.

I just pushed a fix for this to PageEdit master.

So now Qt6 versions of PageEdit from master launch and run fine on my Manjaro box but there is still issues with forcing dark mode on Linux that I have not tracked down yet.

Last edited by KevinH; 06-04-2022 at 01:14 PM.
KevinH is offline   Reply With Quote
Old 06-04-2022, 01:08 PM   #11
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by KevinH View Post
Please define "doesn't work"? Does it crash? What if any error messages are given? I just tried Qt6 PageEdit on macOS and it all works just fine.
Well, what you wrote:

Quote:
But will ends up with empty qwebengine pages no matter what I load.
PageEdit starts but you can't load anything.
RbnJrg is offline   Reply With Quote
Old 06-04-2022, 01:09 PM   #12
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,764
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
But if you're satisfied with Sigil Qt5 (and it's really close to being declared production-ready IMO) , there's no real reason you need to build PageEdit with Qt6 to match. PageEdit Qt5 will happily integrate with Sigil Qt6.
I wanted to build PageEdit with Qt6 because I can't set Qt5 version in dark mode; dark mode doesn't work under linux.
RbnJrg is offline   Reply With Quote
Old 06-04-2022, 01:13 PM   #13
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: 8,760
Karma: 5706256
Join Date: Nov 2009
Device: many
Yes, I am seeing the same thing under both Qt5 and Qt6 in Linux. In Qt6 the file dialogs are properly in dark mode but the main window is not. In Qt5 is appears to be broken as well. I will look into it this afternoon if DiapDealer does not beat me to it.
KevinH is offline   Reply With Quote
Old 06-04-2022, 02:20 PM   #14
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: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Hmmm. There was something on Sigil I had to keep going back and forth on to keep dark mode working correctly on newer versions of Qt. Perhaps I missed a forth (or a back) on PageEdit.
DiapDealer is online now   Reply With Quote
Old 06-04-2022, 02:28 PM   #15
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: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
We need a Qt check similar to:

https://github.com/Sigil-Ebook/Sigil.../main.cpp#L488

in PageEdit's main at https://github.com/Sigil-Ebook/PageE.../main.cpp#L299

My bad.

Just comment out line 299 in PageEdit's main.cpp if you want to test before I get around to testing and pushing.

Last edited by DiapDealer; 06-04-2022 at 02:43 PM.
DiapDealer is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PageEdit-1.7.0 Released DiapDealer Sigil 1 07-22-2021 11:44 AM
PageEdit-1.6.0 Released DiapDealer Sigil 10 07-08-2021 12:34 PM
PageEdit-1.5.0 Released DiapDealer Sigil 1 03-19-2021 10:59 AM
PageEdit-1.2.0 Released DiapDealer Sigil 13 04-02-2020 04:16 AM
PageEdit-0.8.0 Released DiapDealer Sigil 37 08-25-2019 04:14 PM


All times are GMT -4. The time now is 06:24 AM.


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