Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.0 Beta1, 6.5.1
-
None
-
MacBook Pro 18 (Apple M1 Pro) + macOS 12.4 (21F79) + Qt 6.4.0b1; Windows 10 22H2 + Qt 6.5.1
-
-
c472a0f7b (6.5), 67f61eed8 (6.6), 27dfc7cc8 (6.7)
Description
Standalone reproducer
import QtQuick import QtQuick.Pdf Window { id: root width: 480 height: 640 visible: true PdfDocument { source: "https://dagrs.berkeley.edu/sites/default/files/2020-01/sample.pdf" } }
(Issue does not occur if PdfDocument is replaced with Image)
Outcomes
The document does not load.
The Application Output says:
QCoreApplication::postEvent: Unexpected null receiver QFSFileEngine::open: No file name specified
If the HTTP(S) URL is replaced with a local URL, then the Application Output says:
QCoreApplication::postEvent: Unexpected null receiver
Original report
Running the attached qml file from the qml tool results in the following error reported to the terminal:
$ qml nullReceiver.qml QCoreApplication::postEvent: Unexpected null receiver
If the source property is commented out, the error is not reported.
The error occurs apparently with any PDF file.
Attachments
Issue Links
- duplicates
-
QTBUG-120245 A crash occurred in C:\Users\qt\work\qt\qtwebengine_standalone_tests\tests\auto\pdfquick\multipageview\tst_multipageview.exe
- Closed
For Gerrit Dashboard: QTBUG-104766 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
528295,3 | Fix for crash in tst_multipageview | 6.5 | qt/qtwebengine | Status: MERGED | +2 | 0 |
528296,3 | Fix for crash in tst_multipageview | 6.7 | qt/qtwebengine | Status: MERGED | +2 | 0 |
528297,2 | Fix for crash in tst_multipageview | 6.6 | qt/qtwebengine | Status: MERGED | +2 | 0 |