scantailor-advanced icon indicating copy to clipboard operation
scantailor-advanced copied to clipboard

ST does not start properly

Open femifrak opened this issue 3 years ago • 5 comments

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

femifrak avatar Sep 10 '21 15:09 femifrak

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

ppd avatar Sep 11 '21 09:09 ppd

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.

ppd avatar Sep 11 '21 09:09 ppd

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.

femifrak avatar Sep 11 '21 13:09 femifrak

try AppImage https://github.com/probonopd/scantailor-advanced/releases

derrikF avatar Sep 11 '21 16:09 derrikF

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.

ppd avatar Sep 11 '21 16:09 ppd