Bug 423398

Summary: possible typo in kcmkwin/kwindecoration/kwindecorationsettings.kcfgc
Product: [Plasma] kwin Reporter: Lenard Spencer <lenardrspencer>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: cyril.rossi
Priority: NOR    
Version: 5.19.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 5.19.3
Sentry Crash Report:

Description Lenard Spencer 2020-06-23 14:38:12 UTC
SUMMARY
Getting the following cmake warning:

CMake Warning at /usr/lib64/cmake/KF5Config/KF5ConfigMacros.cmake:52 (message):
  
  /tmp/kde_build/plasma/kwin-5.19.1/kcmkwin/kwindecoration/kwindecorationsettings.kcfgc:
  Broken "File" field, make sure it's pointing at the right file
Call Stack (most recent call first):
  kcmkwin/kwindecoration/CMakeLists.txt:13 (kconfig_add_kcfg_files)

It looks like the File field is pointing to itself.

In my build I changed "File=kwindecorationsettings.kcfgc" to
  "File=kwindecorationsettings.kcfg"
and the warning went away.


Linux: Slackware64-current (dev/testing branch)
(available in About System)
KDE Plasma Version: 5.19.1
KDE Frameworks Version: 5.71.0
Qt Version: 5.15
Comment 1 Cyril Rossi 2020-06-23 15:03:33 UTC
Yes, File attribute in the .kcfgc file should point to the .kcfg file.
Comment 2 Bug Janitor Service 2020-06-24 07:00:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/79
Comment 3 Cyril Rossi 2020-06-24 08:06:18 UTC
Git commit 170741c499a13a8e9e71da54064cffeb899a31cf by Cyril Rossi.
Committed on 24/06/2020 at 07:48.
Pushed by crossi into branch 'Plasma/5.19'.

KCM KWin Decoration : kcfgc File attribute should point to kcfg file
FIXED-IN: 5.19.3

M  +1    -1    kcmkwin/kwindecoration/kwindecorationsettings.kcfgc

https://invent.kde.org/plasma/kwin/commit/170741c499a13a8e9e71da54064cffeb899a31cf