| Summary: | KConfig warnings cannot be silenced | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kconfig | Reporter: | Laurent Bonnaud <L.Bonnaud> |
| Component: | general | Assignee: | Matthew Dawson <matthew> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | abone27, bshah, bugs.kde.org, kdelibs-bugs-null, mgraesslin, plasma-bugs-null, simonandric5 |
| Priority: | NOR | ||
| Version First Reported In: | 5.104.0 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Laurent Bonnaud
2016-03-15 14:45:02 UTC
I can confirm this. It seems kwin_x11 is logging this.
Next to the 481 one, I also have
"\"fsrestore?\" - conversion of \"342,342,0,0\" to QRect failed"
with ? in {1,...,9}.
SInce my inital report I upgraded my system to Ubuntu 16.04 and Neon packages: Package: kwin Version: 4:5.6.3+p16.04+git20160426.0359-0 and the error messages are still there. > I can confirm this. It seems kwin_x11 is logging this.
why do you think KWin is logging this? Can you please change the debug pattern to include the actual process?
Reassigning to KConfig. The warning messages are logged by KConfig. See for example: src/core/kconfiggroup.cpp
case QMetaType::QRect: {
const QList<int> list = asIntList(value);
if (list.count() != 4) {
qWarning() << errString(pKey, value, aDefault)
<< formatError(4, list.count());
return aDefault;
}
Due to the usage of qWarning instead of qCWarning the warnings cannot be silenced and clutter xsession-errors.
(In reply to Martin Gräßlin from comment #3) > > I can confirm this. It seems kwin_x11 is logging this. > > why do you think KWin is logging this? Can you please change the debug > pattern to include the actual process? Sorry, I seem to have missed this comment, but got alerted by comment #4. In any case, if it is still useful: okt 27 18:36:13 <hostname> kwin_x11[2215]: "\"fsrestore1\" - conversion of \"0,0,0,0\" to QRect failed" okt 27 18:36:13 <hostname> kwin_x11[2215]: "\"fsrestore2\" - conversion of \"481,481,0,0\" to QRect failed" okt 27 18:36:13 <hostname> kwin_x11[2215]: "\"fsrestore3\" - conversion of \"481,481,0,0\" to QRect failed" okt 27 18:36:13 <hostname> kwin_x11[2215]: "\"fsrestore4\" - conversion of \"481,481,0,0\" to QRect failed" okt 27 18:36:13 <hostname> kwin_x11[2215]: "\"restore5\" - conversion of \"0,0,0,0\" to QRect failed" okt 27 18:36:13 <hostname> kwin_x11[2215]: "\"fsrestore5\" - conversion of \"0,0,0,0\" to QRect failed" okt 27 18:36:13 <hostname> kwin_x11[2215]: "\"fsrestore6\" - conversion of \"0,0,0,0\" to QRect failed" okt 27 18:36:13 <hostname> kwin_x11[2215]: "\"restore7\" - conversion of \"-4,0,797,0\" to QRect failed" okt 27 18:36:13 <hostname> kwin_x11[2215]: "\"fsrestore7\" - conversion of \"0,0,0,0\" to QRect failed" okt 27 18:36:13 <hostname> kwin_x11[2215]: "\"restore8\" - conversion of \"1010,0,797,0\" to QRect failed" okt 27 18:36:13 <hostname> kwin_x11[2215]: "\"fsrestore8\" - conversion of \"0,0,0,0\" to QRect failed" This bug is still in neon packages as of version 5.29.0+p16.04+git20161220.1217-0. This bug still exists in Kubuntu 17.04 and this package version: Package: libkf5configcore5 Version: 5.31.0-0ubuntu1 This bug still exists in Kubuntu 19.04 and this package version: Package: libkf5configcore5 Version: 5.56.0-0ubuntu1 |