Summary: | kdeinit5[363]: KXMessages used on non-X11 platform! This is an application bug. | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kwindowsystem | Reporter: | luigide |
Component: | general | Assignee: | Martin Flöser <mgraesslin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdelibs-bugs, simonandric5 |
Priority: | NOR | ||
Version: | 5.1.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kwindowsystem/837f1ccc0af5b53dcd394d5cce535ee54a857933 | Version Fixed In: | |
Sentry Crash Report: |
Description
luigide
2014-10-24 18:31:27 UTC
do you know which application was causing the log message? As it says: it's an application bug which the library reports. hi. i just test plasma-5.1.0.1 i boot with plasma. as soon as plasma desktop come then i switch another tty. in there a get a copy of log. As you see i didnt run an application or open any window. i get a copy of log immediately, after booted. So app/lib should be part of plasma which is report it. but i dont know how i detect it. The messages might be created by kdeinit whenever an application is started. Git commit 837f1ccc0af5b53dcd394d5cce535ee54a857933 by Martin Gräßlin. Committed on 21/11/2014 at 10:58. Pushed by graesslin into branch 'master'. Drop incorrect warnings when using KXMessages without QX11Info The idea was to not perform the action if QX11Info reports that its not the xcb plugin. But this check is not correct as those methods are not going through QX11Info at all. In addition they pass in either an xcb connection or XLib display which is totally fine and needed for example if we want Wayland applications interact with the X11 world. Also it causes problems for e.g. kdeinit which is not a Q*Application and thus does not have a QX11Info. At the same time fix an incorrect usage of QX11Info::connection where an xcb_connection_t* is already passed in to the method. REVIEW: 121198 M +2 -10 src/kxmessages.cpp http://commits.kde.org/kwindowsystem/837f1ccc0af5b53dcd394d5cce535ee54a857933 |