Bug 429800

Summary: There is only one alternative for Pager widget
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Pager widgetAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2020-11-29 10:30:59 UTC
Created attachment 133722 [details]
screenshot

STEPS TO REPRODUCE
1. open system setings > workspace behavior > virtual desktops
2. add at least 2 virtual desktops and click on "Apply" button (Pager widget is now present in Plasma Panel)
3. right-click on Pager widget, choose "Show alternatives..."

OBSERVED RESULT
a popup opens showing "Pager" as the only alternative.
See the attached screenshot please.

EXPECTED RESULT
on Arch Linux the available alternatives are Activity Pager and Pager.
I think that the same alternatives should be available on neon unstable.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.1
Comment 1 David Edmundson 2020-12-01 23:44:53 UTC
Is kdeplasma-addons installed?
Comment 2 Patrick Silva 2020-12-02 00:41:32 UTC
There is no kdeplasma-addons package on neon unstable.
But kdeplasma-addons-data is installed.
Comment 3 Nicolas Fella 2020-12-02 15:09:45 UTC
Git commit 1bd40e27b6ef68856fef070ab01eade9de7b1572 by Nicolas Fella.
Committed on 02/12/2020 at 15:09.
Pushed by nicolasfella into branch 'master'.

Fix alternatives for applets

X-Plasma-Provides is a list of strings, not a single string
Related: bug 429801

M  +9    -3    components/shellprivate/widgetexplorer/plasmaappletitemmodel.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/1bd40e27b6ef68856fef070ab01eade9de7b1572