Bug 377994

Summary: [PATCH] KInfocenter should read plasma version from a KDE-provided resource, not a distro-provided file
Product: [Applications] kinfocenter Reporter: Nate Graham <nate>
Component: generalAssignee: David Hubner <hubn3rd>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: nate, simonandric5
Priority: NOR    
Version: 5.9.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nate Graham 2017-03-23 21:46:33 UTC
I have Plasma 5.9.3. Due to a SUSE packaging error (https://bugzilla.opensuse.org/show_bug.cgi?id=1030559), I wound up with mismatched package-versions:

zypper info plasma5-session plasma5-desktop | grep -B 1 Version
Name           : plasma5-session
Version        : 5.9.2-1.1
--
Name           : plasma5-desktop
Version        : 5.9.3-2.1

plasma5-session provides the .desktop file that KInfocenter reads to determine the Plasma version, and therefore KInfocenter inappropriately says I have Plasma 5.9.2.

KInfoCenter should read this information from a KDE-provided resource, not a distro-provided one. Perhaps `plasmashell --version`?
Comment 1 Nate Graham 2017-04-16 08:26:43 UTC
I have submitted a patch that's available for review at https://phabricator.kde.org/D5471
Comment 2 Nate Graham 2017-04-16 16:23:32 UTC
Closing this since Phabricator comments indicate it's not the right approach. The real issue is with openSUSE. Either the .desktop file shouldn't be re-packaged, or more needs to be done to make sure it's always in sync with the actual Plasma version.