Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-16-2024, 10:56 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,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
PageEdit-2.3.0 Released

PageEdit-2.3.0

PageEdit version 2.3.0 represents a mix of bug fixes and new features. PageEdit 2.3.0 also marks the first version to only support building with Qt6.

New Features in this release
  • move to Qt6 (minimum version 6.4.2), remove support for Qt5 as it cluttered the codebase
  • remove the need for Qt6Core5Compat library (use QStringView instead of QStringRef)
  • added support for using NFC for search, and for all content, links, hrefs, urls
  • added support for Windows Dark mode
  • added support for auto dark/light switching for Windows and major Linux desktops to match MacOS

Bug Fixes
  • fix broken use of arrow keys when selecting images to insert
  • move to Qt 6.7.2 for improved security and bug fixes

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

The latest PageEdit user guide can always be downloaded from the PageEdit website, or from its own GitHub repository.

The MacOS builds are signed AND notarized.

All PageEdit binary downloads (and source) can be found as assets at the bottom of the PageEdit 2.3.0 Github Release page.
DiapDealer is offline   Reply With Quote
Old 08-16-2024, 10:57 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,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Post reserved for future use.
DiapDealer is offline   Reply With Quote
Advert
Old 08-30-2024, 10:54 AM   #3
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,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
From a Sigil topic: https://www.mobileread.com/forums/sh...d.php?t=363245

Quote:
Originally Posted by BetterRed View Post
That's easily, and probably best, done in Page Edit, viz:
On that note; I think I've noticed a bit of a hiccup when pasting rich text into PageEdit 2.3.0 on Windows.

When using "Paste" from the menu, you get the option of choosing to paste plain text when html/rich text is detected on the clipboard. But regardless of which option I choose. Both the unformatted text (with color styles applied) AND the formatted text are being pasted. Resulting in double content.

Last edited by DiapDealer; 08-30-2024 at 10:58 AM.
DiapDealer is offline   Reply With Quote
Old 08-30-2024, 11:17 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,160
Karma: 5450818
Join Date: Nov 2009
Device: many
A bug! I will look into it.
KevinH is offline   Reply With Quote
Old 08-30-2024, 11:21 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,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I recall having to do something to restore the "Paste plain Text" choice in a past version. Something to do with how html fragments were being handled.
DiapDealer is offline   Reply With Quote
Advert
Old 08-30-2024, 11:32 AM   #6
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,160
Karma: 5450818
Join Date: Nov 2009
Device: many
That was fixed earlier. I think we are just missing a return from someplace or the wrong clipboard entry is being used.
KevinH is offline   Reply With Quote
Old 08-30-2024, 12:07 PM   #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,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Yes we are missing a return here in the Paste routine in MainWindow.cpp:

Code:
if (!html.isEmpty()) {
        QMessageBox msgBox(QMessageBox::Question,
          tr("Clipboard contains HTML formatting"),
          tr("Do you want to paste clipboard data as plain text?"),
          QMessageBox::Yes|QMessageBox::No|QMessageBox::Cancel);
        msgBox.setDefaultButton(QMessageBox::Yes);
        // populate the detailed text window - by HTML
        msgBox.setDetailedText(html);
        int rv = msgBox.exec();
        if (rv == QMessageBox::Yes) {
            m_WebView->triggerPageAction(QWebEnginePage::PasteAndMatchStyle);
        } else if (rv == QMessageBox::No) {
            m_WebView->triggerPageAction(QWebEnginePage::Paste);
        } else {
            // they have hit Cancel so paste nothing
            return;
        }
        return;   // fix missing return
    }
I will push that fix to PageEdit master.
KevinH is offline   Reply With Quote
Old 08-30-2024, 12:07 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,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
That was fixed earlier. I think we are just missing a return from someplace or the wrong clipboard entry is being used.
I think the fix is what I was recalling. I just knew we'd been in there doing something in the past.
DiapDealer is offline   Reply With Quote
Old 08-30-2024, 12:25 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,160
Karma: 5450818
Join Date: Nov 2009
Device: many
A simplified version of the fix to prevent double pasting of html content has now been pushed to master.
KevinH is offline   Reply With Quote
Old 08-30-2024, 09:59 PM   #10
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DiapDealer View Post
From a Sigil topic: https://www.mobileread.com/forums/sh...d.php?t=363245



On that note; I think I've noticed a bit of a hiccup when pasting rich text into PageEdit 2.3.0 on Windows.

When using "Paste" from the menu, you get the option of choosing to paste plain text when html/rich text is detected on the clipboard. But regardless of which option I choose. Both the unformatted text (with color styles applied) AND the formatted text are being pasted. Resulting in double content.
I used Ctrl+C at NYT and Ctrl+V in PE.

But I just repeated the exercise and used Edit->Paste->Yes rather than Ctrl+V… did not get double paste. So I disabled ClipboardFusion (my 3rd party clipboard manager) and did it again… still no double paste. See attached images.

@DD - do you have Windows Clipboard History enabled?

BR
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2024-08-31 104056.jpg
Views:	44
Size:	160.4 KB
ID:	210507   Click image for larger version

Name:	Screenshot 2024-08-31 104220.jpg
Views:	42
Size:	607.9 KB
ID:	210508  
BetterRed is offline   Reply With Quote
Old 08-30-2024, 10:07 PM   #11
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,160
Karma: 5450818
Join Date: Nov 2009
Device: many
This bug only exists in PageEdit 2.3.0 when pasting richtext/html. Earlier versions do not have it. I rewrote that code to support use of Unicode NFC Normalization and in so doing inadvertently missed adding a required return.

Last edited by KevinH; 08-30-2024 at 10:10 PM.
KevinH is offline   Reply With Quote
Old 08-30-2024, 10:58 PM   #12
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I can now recall reverting to 2.0.2 but I can't remember why, and I didn't attach a note to Page Edit as I would normally do.

Because I cut & paste into PE quite a lot I'll stick with it for the time being.

BR
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PageEdit-2.0.2 Released DiapDealer Sigil 9 10-31-2023 01:10 PM
PageEdit-1.9.20 Released DiapDealer Sigil 1 09-03-2022 04:15 PM
PageEdit-1.4.0 Released DiapDealer Sigil 1 11-13-2020 02:00 PM
PageEdit-1.1.0 Released DiapDealer Sigil 6 02-09-2020 08:29 PM
PageEdit-0.8.0 Released DiapDealer Sigil 37 08-25-2019 05:14 PM


All times are GMT -4. The time now is 02:34 AM.


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