Each time I use keyboard to do something KWin related it ends in system journal: kwi 21 15:01:02 puchatek org.kde.kglobalaccel[1296]: Got XKeyPress event kwi 21 15:01:02 puchatek org.kde.kglobalaccel[1296]: "Meta+2" = "Switch to Desktop 2" kwi 21 15:01:07 puchatek org.kde.kglobalaccel[1296]: Got XKeyPress event kwi 21 15:01:07 puchatek org.kde.kglobalaccel[1296]: "Meta+1" = "Switch to Desktop 1" kwi 21 15:01:13 puchatek org.kde.kglobalaccel[1296]: Got XKeyPress event kwi 21 15:01:13 puchatek org.kde.kglobalaccel[1296]: "Meta+2" = "Switch to Desktop 2" kwi 21 15:01:26 puchatek org.kde.kglobalaccel[1296]: Got XKeyPress event kwi 21 15:01:26 puchatek org.kde.kglobalaccel[1296]: "Alt+F3" = "Window Operations Menu" kwi 21 15:01:27 puchatek org.kde.kglobalaccel[1296]: Got XKeyPress event kwi 21 15:01:27 puchatek org.kde.kglobalaccel[1296]: "Meta+1" = "Switch to Desktop 1" kdebugdialog and kdebugdialog5 have all debug output disabled so it should not happen Reproducible: Always Steps to Reproduce: 1. switch desktop by keyboard or use alt-f3 to open window menu Actual Results: kwi 21 15:01:26 puchatek org.kde.kglobalaccel[1296]: Got XKeyPress event kwi 21 15:01:26 puchatek org.kde.kglobalaccel[1296]: "Alt+F3" = "Window Operations Menu" kwi 21 15:01:27 puchatek org.kde.kglobalaccel[1296]: Got XKeyPress event kwi 21 15:01:27 puchatek org.kde.kglobalaccel[1296]: "Meta+1" = "Switch to Desktop 1" Expected Results: no journal entries
I'll have to check, but shouldn't qDebug be disabled in Release mode builds anyway?
Release: yes. RelWithDebInfo: no. Actually controlled by QT_NO_DEBUG_OUTPUT
Oh, ok. (I personally disagree with that, WithDebInfo should not be any different in this regard, IMHO)
Review request created: https://git.reviewboard.kde.org/r/123463/
Git commit 8cc732ecc066b5250e501c85b7e2615d47c828ec by Martin Gräßlin. Committed on 22/04/2015 at 09:02. Pushed by graesslin into branch 'master'. Use categorized logging in runtime component REVIEW: 123463 M +1 -0 src/runtime/CMakeLists.txt M +8 -7 src/runtime/component.cpp M +4 -4 src/runtime/globalshortcut.cpp M +9 -8 src/runtime/globalshortcutsregistry.cpp M +14 -13 src/runtime/kglobalaccel_mac.cpp M +2 -1 src/runtime/kglobalaccel_win.cpp M +12 -11 src/runtime/kglobalaccel_x11.cpp M +16 -15 src/runtime/kglobalacceld.cpp A +21 -0 src/runtime/logging.cpp [License: BSD] A +26 -0 src/runtime/logging_p.h [License: BSD] M +2 -1 src/runtime/main.cpp http://commits.kde.org/kglobalaccel/8cc732ecc066b5250e501c85b7e2615d47c828ec
@Rex: it should be pretty save to pull the change into your distro packages.