appimage-packages / kexi

Appimage packaging for KDE Kexi
https://s3-eu-central-1.amazonaws.com/ds9-apps/kexi-master-appimage/kexi-latest-x86_64.AppImage
1 stars 0 forks source link

Unsetting QT_STYLE_OVERRIDE breaks desktop integration, e.g. custom keyboard support #8

Open staniek opened 7 years ago

staniek commented 7 years ago

Hi, One of practical consequences of fixing the issue #1 by unsetting QT_STYLE_OVERRIDE= is non-functioning desktop integration, e.g. custom keyboard support see https://forum.kde.org/viewtopic.php?f=221&t=139449. I'd deduce that based on Kexi versions reported.

I do wonder that we may need some 'lighter' solution for the issue #1. Any ideas welcome (I'll search for them too).

staniek commented 7 years ago

EDIT: MuseScore app seems to have similar issue: https://musescore.org/en/node/104816

I am asking on the KDE forum to test solution from the Cura app forum: https://github.com/Ultimaker/Cura/issues/1113 and to test the AppImage of MuseScore https://musescore.org/en/download#AppImage

@probonopd ping... help appreciated

probonopd commented 7 years ago

@staniek I can't explain what is going on but I suspect we need to patch libQt5Core.so to load files from somewhere else than from /usr/share/X11/xkb, or possibly use a qt.conf file?

What file should be loaded, and where is it located? (Can you gather this information from running strace?)

staniek commented 7 years ago

There's

access("/usr/share/X11/xkb", R_OK|X_OK)

Log from execution of "QT_STYLE_OVERRIDE=gtk ./AppRun > log 2>&1" (AppRun contains a 'strace kexi' command):

log.txt

staniek commented 7 years ago

For the record: during tests I also appended :$XDG_DATA_DIRS to export XDG_DATA_DIRS=... for completeness. Make sense, @ScarlettGatelyClark?

This is because on XFCE XDG_DATA_DIRS is /usr/share/xfce:/usr/share --note the /usr/share/xfce that's maybe worth adding.

staniek commented 7 years ago

Update: according to the user

github-musescore-musescore-3c7a69d downloaded on March 28 recognizes my BÉPO kbd