Bug 377994 - [PATCH] KInfocenter should read plasma version from a KDE-provided resource, not a distro-provided file
Summary: [PATCH] KInfocenter should read plasma version from a KDE-provided resource, ...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kinfocenter
Classification: Applications
Component: general (show other bugs)
Version: 5.9.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Hubner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-23 21:46 UTC by Nate Graham
Modified: 2017-04-19 13:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.