Bug 448204

Summary: After updating a program (in my case Pinta 1.7.1-1 to 2.0.1-1) when you open the product page before it finished updating it will try to open the previous version which does not exist after it has been updated.
Product: [Applications] Discover Reporter: Peter Leconte <peter5leconte>
Component: PackageKitAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED WORKSFORME    
Severity: minor CC: aleixpol, john.liptrot, nate, peter5leconte
Priority: NOR    
Version First Reported In: 5.23.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: After pressing launch error message at the bottom pops up.

Description Peter Leconte 2022-01-10 12:20:28 UTC
Created attachment 145295 [details]
After pressing launch error message at the bottom pops up.

SUMMARY
After updating a program (in my case Pinta 1.7.1-1 to 2.0.1-1) when you open the product page before it finished updating it will try to open the previous version which does not exist after it has been updated.

STEPS TO REPRODUCE
1. Start updating pinta 1.7.1-1 to 2.0.1-1
2. While it's updating open the info page of pinta
3. Try to open it before and after it has finished updating

OBSERVED RESULT
'pinta;1.7.1-1;any;installed: could not find or read package' and does not open pinta

EXPECTED RESULT
Should open the newly updated pinta program

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.23.5
(available in About System)
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.90.0 
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Restarted Discover fixes this issue as a workaround.
Attached a screenshot.
Comment 1 john.liptrot 2025-10-11 09:45:38 UTC
I've tested this just now. Works for me. Steps taken;

1. Downgraded Kate to an old version with the command 'sudo flatpak update --commit=e29450fe87dfc3f7244eca6dfbad5863faa36487a80dcecbc2c210c8c4ad50a0 org.kde.kate' (there were no updates available, so this was necessary to "create" an available update so I could test this) 
2. Verified the downgrade. Discover shows update available from 25.08.0 to 25.08.2. 'flatpak update' also shows available update.
3. Verified that Kate's info page shows 25.08.0
4. Started update in Discover & immediately opened Kates info page. I see 'Downloading' in top right-hand corner of screen. The 'launch' button disappears during the upgrade, so you can't open the old version of the app during an upgrade to a newer version in Discover.
5. Download finishes shortly after & version changes from 25.08.0 to 25.08.2. No errors or warnings shown. Kate launches no problems after the update. No restart of Discover required.

Is this still an issue for you? Because I cannot reproduce it.

Thanks.

Operating System: KDE Linux 2025-10-10
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.20.0
Qt Version: 6.9.2
Kernel Version: 6.17.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 2 × Intel® Pentium® 3805U @ 1.90GHz
Memory: 4 GiB of RAM (3.7 GiB usable)
Graphics Processor: Intel® HD Graphics
Manufacturer: LENOVO
Product Name: 80EW
System Version: Lenovo B50-80
Comment 2 Bug Janitor Service 2025-10-26 03:47:33 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-11-10 03:46:59 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.