|Summary:||It appears that kwin caused kwindowsystem to make an X call I think under Wayland|
|Product:||[Frameworks and Libraries] frameworks-kwindowsystem||Reporter:||bluescreenavenger|
|Component:||general||Assignee:||Martin Flöser <mgraesslin>|
|Latest Commit:||http://commits.kde.org/kwindowsystem/9bb99d6c06e014c7fd202597aef90afa2eaa0d38||Version Fixed In:||5.10|
Description bluescreenavenger 2015-04-23 02:57:49 UTC
Comment 1 Martin Flöser 2015-04-23 08:03:44 UTC
any chance that you had xterm open? On my whiteboard there is a note that xterm crashes kwin_wayland when accessing the icon. Please note that it is expected that kwin_wayland uses X11. KWin cannot be run without X11 support yet and that's why it is required to have either a dedicated XServer running for kwin_wayland or to pass --xwayland to the command line argument. The QPA plugin does not need to be specified for KWin. kwin_x11 forces to xcb, kwin-wayland forces to wayland.
Comment 2 bluescreenavenger 2015-04-23 11:35:37 UTC
Yes. I was first testing xterm, because I thought it would be one of the simpler X11 apps to try. I tried to run qt's wiggly as an X11 app. It works. BTW: I am calling kwin_wayland as RANDOMNUMBER=$RANDOM ServerID=wayland-$RANDOMNUMBER kwin_wayland --windowed --xserver --socket=$ServerID
Comment 3 Martin Flöser 2015-04-24 06:01:36 UTC
> Yes. I was first testing xterm, because I thought it would be one of the simpler X11 apps to try. Very well, that's the one I was already aware of (which is good). > kwin_wayland --windowed --xserver --socket=$ServerID use: kwin_wayland --windowed --xwayland --socket=$ServerID There is no option --xserver in 5.3 any more.
Comment 4 Martin Flöser 2015-04-24 12:53:03 UTC
Review request created: https://git.reviewboard.kde.org/r/123490/
Comment 5 Martin Flöser 2015-04-28 06:24:48 UTC
Git commit 9bb99d6c06e014c7fd202597aef90afa2eaa0d38 by Martin Gräßlin. Committed on 28/04/2015 at 06:24. Pushed by graesslin into branch 'master'. Do not hard depend on QX11Info in KXUtils::createPixmapFromHandle KXUtils::createPixmapFromHandle is used from e.g. KWindowSystemPrivateX11::icon which can be used on platforms != xcb. So the methods called from that method should not hard depend on platform xcb. FIXED-IN: 5.10 REVIEW: 123490 CHANGELOG: Don't depend on QX11Info in KXUtils::createPixmapFromHandle M +1 -1 src/kwindowsystem_x11.cpp M +7 -6 src/kxutils.cpp M +3 -0 src/kxutils_p.h http://commits.kde.org/kwindowsystem/9bb99d6c06e014c7fd202597aef90afa2eaa0d38