Bug 430330 - Just installed app is not marked as installed until Discover is restarted
Summary: Just installed app is not marked as installed until Discover is restarted
Status: RESOLVED DUPLICATE of bug 429774
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2020-12-13 11:19 UTC by Patrick Silva
Modified: 2021-04-07 20:22 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 Patrick Silva 2020-12-13 11:19:55 UTC
STEPS TO REPRODUCE
1. open Discover
2. click on any app (I have reproduced this bug with ktorrent, kfind and kmail)
to open its description page
3. click on "Install" button in the header bar, enter your password and wait
the app to be installed

OBSERVED RESULT
installation is successfully completed but the header of the description page
is still showing "Install" button instead of "Remove" and "Launch" ones
and the just installed app appears in the apps list with "Install" button.
If I restart Discover, the app installed in the step 3 appears in the apps list
with "Remove" button and the header of its description page shows "Remove"
and "Launch" buttons as expected.

EXPECTED RESULT
The app should immediately be marked as installed when the installation
is completed

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2020-12-17 18:19:44 UTC
Got another report of this on Neon; marking as confirmed.

Works for me with KTorrent on openSUSE Tumbleweed though.
Comment 2 Aleix Pol 2020-12-17 18:55:14 UTC
Which backend are we talking about? is it PackageKit?
Comment 3 Patrick Silva 2020-12-17 19:00:03 UTC
I have reproduced this bug with apps from neon repositories.
So packagekit backend is involved, I think.
Comment 4 Nate Graham 2020-12-17 19:52:06 UTC
Yes it's PackageKit.
Comment 5 Aleix Pol 2020-12-17 19:56:02 UTC
I've tested on neon with packagekit and it worked for me. :/
Comment 6 Nate Graham 2021-04-07 20:22:45 UTC

*** This bug has been marked as a duplicate of bug 429774 ***