Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ST does not start properly #181

Open
femifrak opened this issue Sep 10, 2021 · 5 comments
Open

ST does not start properly #181

femifrak opened this issue Sep 10, 2021 · 5 comments

Comments

@femifrak
Copy link

I just installed 1.0.16 via snap (xubuntu 20.04). When starting scantailor-advanced i get this output:

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.utf8)
/snap/scantailor-advanced/2/snap/command-chain/desktop-launch: line 614: warning: setlocale: LC_ALL: cannot change locale (en_GB.utf8): No such file or directory
Qt: Session management error: Could not open network socket
QStackedWidget(0x55c69250acf0, name="qt_tabwidget_stackedwidget")  does not have a property named  "drawBase"
QWidget::setLayout: Attempting to set QLayout "" on QGroupBox "recentProjectsGroup", which already has a layout
QStackedWidget(0x55c692623470, name="qt_tabwidget_stackedwidget")  does not have a property named  "drawBase"

The window opens, I can also start "New Project", however, when trying to "Browse" to an input directory, nothing happens.
Has someone a clue what I can do?
Thanks, Femi

@ppd
Copy link

ppd commented Sep 11, 2021

Please report snap related issues here: https://github.com/ppd/scantailor-advanced-snap

@ppd
Copy link

ppd commented Sep 11, 2021

But in general with file dialogs an flatpaks/snaps: They most likely need a xdg-desktop-portal. You could probably install something like xdg-desktop-portal-gtk on XUbuntu.

@femifrak
Copy link
Author

I don't know whether this is a snap issue.
Installing xdg-desktop-portal-gtk helps a bit. The error on startup is the same, but now "Browse" allows to select a directory. However, when it is selected it shows something like:
/run/user/1000/doc/1155773c/
instead of the selected one. Manual insertion of the directory helps, but projects cannot be saved.

@derrikF
Copy link

derrikF commented Sep 11, 2021

@ppd
Copy link

ppd commented Sep 11, 2021

The portal doesn't really work for this workflow (yet). Please try "XDG_CURRENT_DESKTOP=KDE scantailor-advanced"
You should see the normal Qt dialog again. I'm going to push a package with this change included. I've pushed a new revision including that change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants