Bug 27054 - Some Plasma and Qt apps on X11 logs warnings in journal (qt.qpa.xcb)
Summary: Some Plasma and Qt apps on X11 logs warnings in journal (qt.qpa.xcb)
Status: RESOLVED DUPLICATE of bug 26900
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: 17523
  Show dependency treegraph
 
Reported: 2020-08-06 20:35 CEST by Aurelien Oudelet
Modified: 2020-12-30 16:39 CET (History)
0 users

See Also:
Source RPM: qt5 kwin_x11 kmail dolphin
CVE:
Status comment:


Attachments

Description Aurelien Oudelet 2020-08-06 20:35:36 CEST
Description of problem:
Lots of apps from Plasma and kwin_x11 display lot of warning level error in journal like this:

qt.qpa.xcb: QXcbConnection: XCB error: 8 (BadMatch), sequence: 20456, resource id: 54526467, major code: 130 (Unknown), minor code: 3

Current versions on Cauldron (Kmail and Dolphin 20.04.3, kwin_X11 5.19.4,...)

This issue is reported upstream:
https://bugs.kde.org/show_bug.cgi?id=425079

and there is fix against error 9... today is error 8... Sadness...
https://bugreports.qt.io/browse/QTBUG-55167

Steps to Reproduce:
1. Simply move mouse cursor on these apps (on menu, on icons,...)
2. See logs (Konsole, journalctl -f)

Assigning to KDE maintainers.
Aurelien Oudelet 2020-08-06 20:35:48 CEST

Keywords: (none) => UPSTREAM

Comment 1 Aurelien Oudelet 2020-08-07 21:15:35 CEST
Recent patch ported by david:
ven. août 07 2020 daviddavid <daviddavid> 5.15.0-4.mga8
        + Revision: 1611740
        - ship $$[QT_INSTALL_DATA]/qtlogging.ini for packaged logging defaults (mga#26900)
        - categoried logging for xcb entries (QTBUG-55167, mga#27054)

There are still warning bug from QT apps:

plasmashell[2282]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
plasmashell[2282]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/ScrollViewStyle.qml:60:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
plasmashell[2282]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
plasmashell[2282]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
plasmashell[2282]: file:///usr/lib64/qt5/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
plasmashell[2282]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml:78:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
drakrpm[4714]: ### Program is starting ###
drakrpm[4714]: opening the RPM database
kwin_x11[2234]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 43401, resource id: 125830024, major code: 15 (QueryTree), minor code: 0
kwin_x11[2234]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 43406, resource id: 125830024, major code: 18 (ChangeProperty), minor code: 0
kwin_x11[2234]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 43903, resource id: 35651735, major code: 15 (QueryTree), minor code: 0


Therefore, there are less than previously mentioned.
Upstream patch did not cover all such useless logging.
Bug still opened:

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

for qt.qpa.xcb errors.

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

For onFoo QML Connections deprecated message.

Such boring messages are very very useless for end-users and have no place within our distribution.

For Errata 8 eventually?
Comment 2 Aurelien Oudelet 2020-08-07 21:54:42 CEST
https://bugs.kde.org/show_bug.cgi?id=418793

For onFoo QML Connections deprecated message:

This comes from a QT 5.15 change, see commit:

https://github.com/qt/qtdeclarative/commit/efe0bec9468d75b768d1e26d2a8b440ade5ba632

According to a blog post here:

https://zren.github.io/2020/06/19/qml-connections-onfoo-warnings-will-get-logging-category-in-qt-5151

There will be a patch to disable these logging errors with a QT_LOGGING_RULES ENV option. It will be available in QT 5.15.1 probably released in August 2020.
Aurelien Oudelet 2020-10-29 16:13:22 CET

Blocks: (none) => 17523

Comment 3 Aurelien Oudelet 2020-12-30 16:39:41 CET
Duplicate. Centralize in 26900.

*** This bug has been marked as a duplicate of bug 26900 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.