Unrud / djpdf

Create small, searchable PDFs from scanned documents
GNU General Public License v3.0
45 stars 5 forks source link

Blank screen on startup after installation #4

Closed sh2515 closed 4 years ago

sh2515 commented 5 years ago

After I installed via snap on ubuntu 18.04 all I have is a blank window see image Screenshot from 2019-06-02 16-13-18 I ran it with the command line djpdf and got the following

QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/1000/snap.djpdf', please create it with 0700 permissions.
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/1000/snap.djpdf', please create it with 0700 permissions.
file:///snap/djpdf/7/lib/python3.6/site-packages/PySide2/Qt/qml/QtQuick/Dialogs/DefaultFileDialog.qml:102:33: QML Settings: Failed to initialize QSettings instance. Status code is: 1
file:///snap/djpdf/7/lib/python3.6/site-packages/PySide2/Qt/qml/QtQuick/Dialogs/DefaultFileDialog.qml:102:33: QML Settings: The following application identifiers have not been set: QVector("organizationName", "organizationDomain")
file:///snap/djpdf/7/lib/python3.6/site-packages/PySide2/Qt/qml/QtQuick/Dialogs/DefaultFileDialog.qml:102:33: QML Settings: Failed to initialize QSettings instance. Status code is: 1
file:///snap/djpdf/7/lib/python3.6/site-packages/PySide2/Qt/qml/QtQuick/Dialogs/DefaultFileDialog.qml:102:33: QML Settings: The following application identifiers have not been set: QVector("organizationName", "organizationDomain")

Can anyone help please?

Unrud commented 5 years ago

You have to click the "+" button to add images.

sh2515 commented 5 years ago

Hi Yes it didn't do anything. Single, double, right clicked. I have sorted the

QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/1000/snap.djpdf', please create it with 0700 permissions.
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/1000/snap.djpdf', please create it with 0700 permissions.

By adding the folder. But still no luck.

Unrud commented 5 years ago

I have sorted the

QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/1000/snap.djpdf', please create it with 0700 permissions.
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/1000/snap.djpdf', please create it with 0700 permissions.

By adding the folder. But still no luck.

These warnings are unrelated and can be ignored.

Yes it didn't do anything. Single, double, right clicked.

A single click should be enough. I can't reproduce the problem on Ubuntu 18.04.

Please check if the "open dialog" was opened somewhere in the background. Unfortunately the dialog is not modal in the snap version (a problem with Qt Quick).

sh2515 commented 5 years ago

Okay I will try the flatpak version and update

onshisan commented 5 years ago

I have exactly the same issue as describe here, also in Ubuntu 18.04...

Unrud commented 4 years ago

I can reproduce the issue on Lubuntu 19.10. It seems to be a bug in snap. It uses the document portal to show file dialogs.

Flatpak uses the document portal too but it works on Lubuntu 19.10. Interestingly, after using the document portal in Flatpak it also starts to work in Snap until the next reboot.

I close the issue, because it's not a bug in djpdf.