Bug 376922 - Don't show new Service Menus in KDE Store
Summary: Don't show new Service Menus in KDE Store
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 371907 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-25 15:42 UTC by Alex L
Modified: 2017-04-20 09:19 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 17.04.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex L 2017-02-25 15:42:21 UTC
The Dolphin dialog to download additional Service Menus from KDE Store show only old products. It seems to me it only show products that were in KDE Look. When KDE Store was launcher some Service Menu were uploaded but Dolphin doesn't show them.

Step to reproduce:
* Go to store.kde.org and check the recently added Service Menus
* Go to Dolphin settings > Services > Download new services and check the newer ones are not displayed

Expected result:
* Newer Service Menus in KDE Store should be displayed in Dolphin's dialog
Comment 1 Rog131 2017-02-25 18:44:28 UTC
When executing the Dolphin from the terminal the output tells:

'org.kde.knewstuff.core: Redirected to  "https://distribute.kde.org/khotnewstuff/servicemenu/downloads/...'

The servicemenus at there are really old - at many cases obsolete.
Comment 2 Rog131 2017-02-25 19:04:18 UTC
... and the Dolphin (16.12.2) is still using the KDE4 file paths - bug: https://bugs.kde.org/show_bug.cgi?id=371907
Comment 3 Alex L 2017-02-27 11:48:48 UTC
It seems the issue is in the apps, they should drop Knewstuff for a new protocol. I report the reply by a Sysadmin:

"I'm afraid updating these files isn't possible. KNewStuff is a "legacy" system whose output is no longer supported by the software that runs what is now store.kde.org (the support was removed when it was still known as kde-apps.org / kde-look.org). We only retain it to keep KDE 3 / early versions of KDE 4 applications working.

Unfortunately there is nothing we can do regarding store.kde.org support for this metadata format, as we (KDE Sysadmin) have no involvement in the operation of store.kde.org.

The correct fix in this case is for applications to be migrated to the new generation system (which has existed for many years) which can talk to store.kde.org directly."
Comment 4 Luigi Toscano 2017-02-27 12:06:23 UTC
Did you check if the people running store.kde.org created the proper categories so that they are compatible with the existing software?
Comment 5 Alex L 2017-02-27 12:13:09 UTC
The categories are there and they imported the contents from kde-look & co, is there something in particular to be checked? Btw bcooksley wrote "The correct fix in this case is for applications to be migrated to the new generation system (which has existed for many years)" so I suppose Dolphin and other apps have to migrate to a totally different system and their categories are available in KDE Store with both old and new contents.
Comment 6 Emmanuel Pescosta 2017-02-27 12:25:15 UTC
(In reply to Alex L from comment #5)
> ... migrated to the new generation system (which has existed for many years)

* What is this "new generation system" for applications?
* Where can we find the official porting document which describes how the new system should be used in applications, how it works and how the existing plugins should be migrated?
* Was there any official information that applications should be ported to the "new generation system" because the "old generation system" will be or already is abandoned?
Comment 7 Alex L 2017-02-27 12:27:00 UTC
I just opened a task on KDE Store workboard asking what the new system is: https://phabricator.kde.org/T5487
Comment 8 Marco Martin 2017-03-14 10:01:56 UTC
https://phabricator.kde.org/D5035 should adress it
Comment 9 Marco Martin 2017-03-14 11:25:45 UTC
Git commit db54c9b6ce543bab4f40f725d510e40880bc3a1a by Marco Martin.
Committed on 14/03/2017 at 11:25.
Pushed by mart into branch 'master'.

make services GHNS work with store.kde.org

Summary:
point the knsrc providers file to the new kde store,
and port the servicemenuinstallation/servicemenudeinstallation
scripts to kf5 (they still were based on kde4-config)

Test Plan:
downloaded some service menus (send to telegram, convert svg)
by the knewstuff ui available in the services page of config dialog
they get installed in the proper folder and work, uninstall works

Reviewers: #dolphin, emmanuelp

Reviewed By: #dolphin, emmanuelp

Subscribers: elvisangelaccio

Differential Revision: https://phabricator.kde.org/D5035

M  +2    -1    src/settings/services/servicemenu.knsrc
M  +1    -1    src/settings/services/servicemenudeinstallation
M  +1    -1    src/settings/services/servicemenuinstallation

https://commits.kde.org/dolphin/db54c9b6ce543bab4f40f725d510e40880bc3a1a
Comment 10 Elvis Angelaccio 2017-04-20 09:09:50 UTC
*** Bug 371907 has been marked as a duplicate of this bug. ***
Comment 11 Alex L 2017-04-20 09:19:28 UTC
@Elvis that bug is not a duplicate of this one