Summary: | Discover item in the Favorite area appears duplicately | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | trmdi |
Component: | Application Menu (Kicker) | Assignee: | Ivan Čukić <ivan.cukic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander.lohnau, kde, nate, notuxius, plasma-bugs, pranavtaysheti |
Priority: | NOR | ||
Version: | 5.15.2 | ||
Target Milestone: | 1.0 | ||
Platform: | unspecified | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=385814 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Picture |
Can you right click on both and select "edit application" I want to see the name (probably org.kde.discover) in the editable box in the top and the location. Then reset this bug status back to unconfirmed. Ok, they are the same thing: https://i.imgur.com/ffs9wcJ.png More detailed description: - If you remove one, you can not right click on the other. - If you restart the computer, it appears duplicately again. What is the output of the following command? echo 'select * from ResourceLink where targettedResource like "%cover%"' | sqlite3 ~/.local/share/kactivitymanagerd/resources/database (before and after trying to remove the favourite) Before: ======== :global|org.kde.plasma.favorites.applications|org.kde.discover.desktop :global|org.kde.plasma.favorites.applications|org.kde.discover :global|org.kde.plasma.favorites.applications|applications:org.kde.discover.desktop After: ======== :global|org.kde.plasma.favorites.applications|org.kde.discover.desktop :global|org.kde.plasma.favorites.applications|org.kde.discover Great, thanks. Which edition of openSUSE is it - so that I can download and test in a VM? openSUSE Tumbleweed snapshot 20180209. You can download the file: openSUSE-Tumbleweed-KDE-Live-x86_64-Current.iso from: https://download.opensuse.org/tumbleweed/iso/ I can confirm the same issue on antergos (Arch Linux) default KDE setup. So this problem is not distribution specific. Just Updated my system to plasma 5.12.1, it seems to fix this issue. I can say for antergos (arch). (In reply to Pranav Taysheti from comment #9) > Just Updated my system to plasma 5.12.1, it seems to fix this issue. I can > say for antergos (arch). OOPS! i am very sorry to make such mistakes here. But NO plasma 5.12.1 hasn't fixed it. Can't reproduce in: openSUSE-Tumbleweed-KDE-Live-x86_64-Current.iso 08-Mar-2018 01:49 and in: Plasma: 5.12.2 Apps: 17.12.2 Frameworks: 5.43.0 Qt: 5.10.1 Kernel: 4.14.22-1-MANJARO OS: Netrunner Rolling with adding Discover into Favorites through right clicking Possibly related https://bugs.kde.org/show_bug.cgi?id=389515 Seems like the issue is with Plasma panel, the issue doesnt appear when panel is replaced with latte dock. Possibly related to the bug https://bugs.kde.org/show_bug.cgi?id=385814 I can no longer reproduce this on: Plasma 5.15.3 - KF 5.56.0 - Qt 5.12.2 - openSUSE Tumbleweed 20190325.
If someone still has this, try:
> $ sqlite3 ~/.local/share/kactivitymanagerd/resources/database "DELETE FROM 'ResourceLink';"
(I don't know if it fixes anything though)
(In reply to Ivan Čukić from comment #3) > What is the output of the following command? > > echo 'select * from ResourceLink where targettedResource like "%cover%"' | > sqlite3 ~/.local/share/kactivitymanagerd/resources/database Now the output is: :global|org.kde.plasma.favorites.applications|applications:org.kde.discover.desktop This is fixed now, it is checked if the entry already exists. I reproduced the scenario for an application and got the following debug output: >org.kde.plasma.kicker: Adding result "applications:jetbrains-clion.desktop" already present? false >org.kde.plasma.kicker: Original id is: "applications:jetbrains-clion.desktop" , and the url is QUrl("file:///home/user/.local/share/applications/jetbrains-clion.desktop") > ... >org.kde.plasma.kicker: Got "jetbrains-clion.desktop" --> >org.kde.plasma.kicker: Adding result "jetbrains-clion.desktop" already present? true And yes this is related to BUG 385814. |
Created attachment 110509 [details] Picture Step to reproduce: - Add the Application Dashboard/Menu/Launcher widget to the panel, the Discover item in the Favorite area appears duplicately.