Crash when opening popups on Qt 6. Site-specific.
Hi! I tried the last release 2023.12.25.
I tried to use https://typst.app (a typesetting software) with dooble. In the typst web app there is a feature that allows to open a popup window with the pdf preview. You can try it here without an account: https://typst.app/project/rq1TfsdCFEVxLol3kUC_Ii You have to click the "window" button placed on the right of "+".
When dooble attempts to open the popup it crashes.
I'm on void linux 86_64-glibc.
https://github.com/textbrowser/dooble/assets/10701156/e4dfbe57-24d4-49a4-93d9-b5c5f421aa8e
Are you on Qt 6?
"qt.core.qobject.connect: QObject::connect(QObject, Unknown): invalid nullptr parameter"
https://github.com/textbrowser/dooble/blob/master/Documentation/TO-DO
"QSqlDatabase complains (connect() and nullptr) if QApplication is not present in Qt 6."
The invalid-parameter warning exists because a QApplication object does not exist before QSqlDatabase is created. This is a Qt 6-ism.
A yup. Your problem is a Qt 6 problem. :) One a warning and the second a problem. Is important to state that you're on Qt 6. Good for you that the people of Dooble are cleverer than the average chipmunk.
GDB is, as usual, not helpful. See you soon.
The signature of createWindow() changed from Qt 5 and Qt 6. The new method returns a page while the older method returns a view. Yuck. Big time headache.
Never mind about the previous comment. There are two implementations. :) One for a page and another for a view.
Yes, I'm on Qt 6.
Thank you!
This is something with this (typst) site.
https://www.w3docs.com/tools/code-editor/1493
Functions correctly in Qt 6.5.3.
Anyone try this with Qt 6.7? 6.8?
Working with Qt 6.7.0.