https://bugs.kde.org/show_bug.cgi?id=368633

            Bug ID: 368633
           Summary: No keyboard when recompiling 3.0.1 appimage
           Product: krita
           Version: 3.0.1
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: krita-bugs-n...@kde.org
          Reporter: b...@beuc.net

I recompiled the latest appimage using the packaging script.
Krita starts correctly but no keyboard stroke is taken into account (not even
Ctrl).

Comparing the files in the official and the rebuilt images, besides an
additional krita.wrapper, locales moved to /use/share/krita/local/, different
(rebuilt) Krita binaries and system security updates, I don't see anything
suspicious. All differing files are binaries, system configuration files are
hence identical.

Reproducible: Always

Steps to Reproduce:
docker pull centos:6

(cd src/ && git checkout krita/3.0.1)

docker run -ti -v $(pwd)/src:/krita centos:6 /bin/bash
cd /krita/packaging/linux/appimage/
bash build-deps.sh  # 2h45mn, 5-6GB
docker commit XXXXXX  # 3-4mn
docker tag YYYYYY krita-deps

docker run -ti -v $(pwd)/src:/krita -v $(pwd)/build:/krita_build -v
$(pwd)/out:/out krita-deps /bin/bash
bash build-krita.sh  # 1h
yum install mesa-libGLU-devel
bash build-image.sh  # 10mn

./out/krita-3.0.1-cab6520-x86_64.appimage

Actual Results:  
$ ./krita-3.0.1-cab6520-x86_64.appimage 
QCoreApplication::arguments: Please instantiate the QApplication object first
krita.lib.pigment: Compiled for arch: 7
krita.lib.pigment: Features supported:
krita.lib.pigment:      "SSE2"     ---     yes
krita.lib.pigment:      "SSSE3"     ---     yes
krita.lib.pigment:      "SSE4.1"     ---     yes
krita.lib.pigment:      "AVX "     ---     yes
krita.lib.pigment:      "AVX2 "     ---     yes
xkbcommon: ERROR: failed to add default include path auto
Qt: Failed to create XKB context!
Use QT_XKB_CONFIG_ROOT environmental variable to provide an additional search
path, add ':' as separator to provide several search paths and/or make sure
that XKB configuration data directory contains recent enough contents, to
update please see http://cgit.freedesktop.org/xkeyboard-config/ .
OpenGL Info
  Vendor:  Intel Open Source Technology Center
  Renderer:  Mesa DRI Intel(R) Haswell Mobile 
  Version:  3.0 Mesa 11.2.2
  Shading language:  1.30
  Requested format:  QSurfaceFormat(version 3.0, options QFlags(0x4),
depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1,
alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2,
swapInterval 0, profile  2)
  Current format:    QSurfaceFormat(version 3.0, options QFlags(0x4),
depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8,
alphaBufferSize 0, stencilBufferSize 8, samples -1, swapBehavior 2,
swapInterval 0, profile  0)
krita has opengl true
Setting XDG_DATA_DIRS
"/tmp/.mount_2HvQo0/usr/bin/../share:./share/:/usr/share/mate:/usr/local/share/:/usr/share/"
Available translations QSet("en_US")
Available domain translations QSet("en_US")
Override language: ""
KoJsonTrader will load its plugins from
"/tmp/.mount_2HvQo0/usr/lib/kritaplugins"
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
KoJsonTrader will load its plugins from
"/tmp/.mount_2HvQo0/usr/lib/kritaplugins"


Note the 2 lines about xkb errors.

Expected Results:  
Taking into account keyboard key strokes.
For reference the output of the official build :

$ ./krita-3.0.1-x86_64.appimage 
QCoreApplication::arguments: Please instantiate the QApplication object first
krita.lib.pigment: Compiled for arch: 7
krita.lib.pigment: Features supported:
krita.lib.pigment:      "SSE2"     ---     yes
krita.lib.pigment:      "SSSE3"     ---     yes
krita.lib.pigment:      "SSE4.1"     ---     yes
krita.lib.pigment:      "AVX "     ---     yes
krita.lib.pigment:      "AVX2 "     ---     yes
OpenGL Info
  Vendor:  Intel Open Source Technology Center
  Renderer:  Mesa DRI Intel(R) Haswell Mobile 
  Version:  3.0 Mesa 11.2.2
  Shading language:  1.30
  Requested format:  QSurfaceFormat(version 3.0, options QFlags(0x4),
depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1,
alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2,
swapInterval 0, profile  2)
  Current format:    QSurfaceFormat(version 3.0, options QFlags(0x4),
depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8,
alphaBufferSize 0, stencilBufferSize 8, samples -1, swapBehavior 2,
swapInterval 0, profile  0)
krita has opengl true
Setting XDG_DATA_DIRS
"/tmp/.mount_ThAHpL/usr/bin/../share:./share/:/usr/share/mate:/usr/local/share/:/usr/share/"
Available translations QSet("ne", "cs", "ta", "sq", "tr", "he", "gl", "sv",
"en_GB", "eu", "uz@cyrillic", "pl", "sk", "hu", "ia", "es", "bg", "nds", "et",
"de", "ms", "fr", "tg", "hr", "mr", "fy", "ar", "mk", "en_US", "be", "uk",
"da", "mai", "ro", "nb", "fi", "wa", "bs", "ko", "oc", "xh", "ga", "kk", "hi",
"br", "zh_TW", "km", "nl", "is", "lv", "hne", "nn", "ru", "af", "ast", "ca",
"ja", "it", "eo", "uz", "pt_BR", "pt", "zh_CN", "pa", "fa", "th", "ug", "sl",
"ca@valencia", "vi", "se", "el", "cy", "lt")
Available domain translations QSet("ne", "cs", "ta", "sq", "tr", "he", "gl",
"sv", "en_GB", "eu", "uz@cyrillic", "pl", "sk", "hu", "ia", "es", "bg", "nds",
"et", "de", "ms", "fr", "tg", "hr", "mr", "fy", "ar", "mk", "en_US", "be",
"uk", "da", "mai", "ro", "nb", "fi", "wa", "bs", "ko", "oc", "xh", "ga", "kk",
"hi", "br", "zh_TW", "km", "nl", "is", "lv", "hne", "nn", "ru", "af", "ast",
"ca", "ja", "it", "eo", "uz", "pt_BR", "pt", "zh_CN", "pa", "fa", "th", "ug",
"sl", "ca@valencia", "vi", "se", "el", "cy", "lt")
Override language: ""
KoJsonTrader will load its plugins from
"/tmp/.mount_ThAHpL/usr/lib/kritaplugins"
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
libpng warning: iCCP: too many profiles
KoJsonTrader will load its plugins from
"/tmp/.mount_ThAHpL/usr/lib/kritaplugins"


Incidentally I'm surprised the appimage takes 10 full minutes (on SSD disk) of
doing some massive search and copies for a mere ~100M archive. Hopefully that
was normal.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to