https://bugs.kde.org/show_bug.cgi?id=384037
Bug ID: 384037 Summary: DesktopFileParser::convert: incorrect service file name? Product: frameworks-kcoreaddons Version: 5.37.0 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: mp...@kde.org Reporter: manisan...@gmail.com CC: kdelibs-b...@kde.org Target Milestone: --- Note: I'm not sure whether this is a bug in kf5-kcoreaddons or kwin DesktopFileParser::convert has the following code: // some .desktop files still use the legacy ServiceTypes= key QString fileName = service.toLower().replace(QLatin1Char('/'), QLatin1Char('-'))+QStringLiteral(".desktop"); However, kwin (and others, judging from ls /usr/share/kservicetypes5/), don't have a dash in their service desktop filenames, i.e.: kwineffect.desktop kwinscript.desktop kwinwindowswitcher.desktop etc Currently, DesktopFileParser::convert makes kwin look for i.e. kwin-windowswitche.desktop and so on, which results in errors like kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-effect.desktop, tried ("/home/sandro/.local/share", "/usr/share/kde-settings/kde-profile/default/share", "/usr/local/share", "/usr/share") and some functionality not working (in this case, the task switcher). I suppose either DesktopFileParser::convert generates an incorrect filename, or kwin names its service files incorrectly (see https://smani.fedorapeople.org/taskswitcher.jpg). Using - kf5-kcoreaddons-5.37.0-1.fc28.x86_64 - kwin-5.10.5-1.fc28.x86_64 on Fedora rawhide. -- You are receiving this mail because: You are watching all bug changes.