Bug 476381

Summary: Add "Update Now" button to app details page when app has updates available
Product: [Applications] Discover Reporter: penteljapan
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: aleixpol, john.liptrot, nate
Priority: NOR    
Version First Reported In: 5.27.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: proof

Description penteljapan 2023-10-31 17:40:42 UTC
Created attachment 162771 [details]
proof

SUMMARY
***
AS title says
***


STEPS TO REPRODUCE
1. Wait untill discord will have new release, then it will ask to download package.
2. Download it it will download trought (in my case chromium) 
3. Try to "open" it with dedicated 'program' which is discover.
4. Discover will have button Uninstall/remove (not sure how it is in english ) instead of install/add

OBSERVED RESULT
Discord will install newer version using wrong named button

EXPECTED RESULT

Discord after opening package should have install button instead of remove
SOFTWARE/OS VERSIONS
Operating System: Kubuntu 23.10
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.0-10-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 ร— AMD Ryzen 5 5600H with Radeon Graphics
Memory: 22.8 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: MEDION
Product Name: Crawler E25
System Version: Not Applicable
ADDITIONAL INFORMATION
screen
Comment 1 Nate Graham 2023-11-01 20:04:38 UTC
That button is currently intentional, and gives you the ability to uninstall the app if, upon reading its release notes or details, you realize you'd rather not have it.

This page wouldn't have an Install button because it's already installed. But it could have an "Update now" button.
Comment 2 john.liptrot 2025-10-07 17:56:34 UTC
May I ask why you requested this?

What do you stand to gain from adding an 'update now' button to an apps information page when Discover already has a page dedicated to updates that lists all available updates, from all sources?

Ideally, you should be installing all updates, which can be done from the updates page that exists right now. Is the idea that you will navigate to each apps info page in Discover and update only specific apps? If that's the case, you can simply tick/untick the apps you wish to see updated in Discovers updates page and click 'update selected'.
Comment 3 penteljapan 2025-10-08 07:48:13 UTC
discord is not in repositories thats why
Comment 4 john.liptrot 2025-10-08 14:35:38 UTC
(In reply to penteljapan from comment #3)
> discord is not in repositories thats why

I can see that you reported your operating system as Ubuntu when opening this ticket, and I have confirmed just now that Discord does not appear to be present in the Ubuntu repositories >>> https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=discord

But I'm afraid your response raises more questions than it answers. In the screenshot you attached, Discover is referencing a .deb file called "discord-0". How exactly have you installed Discord if it is not in the Ubuntu repositories? Plus, the original issue was;

'Add "Update Now" button to app details page when app has updates available'

Where exactly is Discover supposed to fetch Discord updates from if it is not in the repositories?
Comment 5 Nate Graham 2025-10-08 19:16:49 UTC
The exact app is immaterial. The point is, when you access the app page from the updates page, you have the ability to uninstall the app, but not update it. That's a bit odd.
Comment 6 john.liptrot 2025-10-09 16:51:39 UTC
(In reply to Nate Graham from comment #5)
> The exact app is immaterial. The point is, when you access the app page from
> the updates page, you have the ability to uninstall the app, but not update
> it. That's a bit odd.

The screenshot the user attached to this ticket shows a .deb file saved to their downloads folder called 'discord-0'.

Steps 3 & 4 from the original ticket;
3. Try to "open" it with dedicated 'program' which is discover.
4. Discover will have button Uninstall/remove (not sure how it is in english ) instead of install/add

So the user wants to open a .deb file in Discover and see an "install now" button? Is this even supported? Installing a .deb file via Discover from a random website? Discord is available on flathub, surely that is preferable. I think what has added to the confusion here is the title of this ticket;

"Add "Update Now" button to app details page when app has updates available".

I was under the impression from the title that the user wanted to navigate to an apps info page that has been installed from a repository, whether it is a flatpak repo, a snap repo or Ubuntu's own repos and see an "update now" button if there were updates available for that particular app. The user will not be accessing this app from the updates page because there will be no updates available for it, since it will not be installed from a configured repository.
Comment 7 penteljapan 2025-10-09 21:31:18 UTC
i dont use flatpak, snap and another "inventions" discord proposes download so i download it and i should use "default" package manager which is Discover for KDE, and it should see application is already installed and i should have choice to update it.
Comment 8 john.liptrot 2025-10-10 10:34:19 UTC
(In reply to penteljapan from comment #7)
> i dont use flatpak, snap and another "inventions" discord proposes download
> so i download it and i should use "default" package manager which is
> Discover for KDE, and it should see application is already installed and i
> should have choice to update it.

Hello.

So just to confirm, you have downloaded Discords .deb file from here;

https://discord.com/api/download?platform=linux&format=deb

And you have managed to install it and run the application? Is this correct? Because the wording that you have used;

"it should see application is already installed and i should have choice to update it."

leads me to believe that you want to be able to receive updates for this application when a new version of Discord is released. This is not possible, because Discover will not know where to look for updates as Discord has not been installed from the Ubuntu repositories, or a flatpak repository, or a snap repository. Please understand this is not a bug in KDE software and it cannot be requested as a wish list item because there is no way for Discover to know where on the internet to look for a new version of Discord. You would have to manually check for, download and install new versions of Discord.

Thanks.
Comment 9 Bug Janitor Service 2025-10-25 03:47:41 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 10 penteljapan 2025-10-25 07:49:58 UTC
(In reply to john.liptrot from comment #8)
> (In reply to penteljapan from comment #7)
> > i dont use flatpak, snap and another "inventions" discord proposes download
> > so i download it and i should use "default" package manager which is
> > Discover for KDE, and it should see application is already installed and i
> > should have choice to update it.
> 
> Hello.
> 
> So just to confirm, you have downloaded Discords .deb file from here;
> 
> https://discord.com/api/download?platform=linux&format=deb
> 
> And you have managed to install it and run the application? Is this correct?
> Because the wording that you have used;
> 
> "it should see application is already installed and i should have choice to
> update it."
> 
> leads me to believe that you want to be able to receive updates for this
> application when a new version of Discord is released. This is not possible,
> because Discover will not know where to look for updates as Discord has not
> been installed from the Ubuntu repositories, or a flatpak repository, or a
> snap repository. Please understand this is not a bug in KDE software and it
> cannot be requested as a wish list item because there is no way for Discover
> to know where on the internet to look for a new version of Discord. You
> would have to manually check for, download and install new versions of
> Discord.
> 
> Thanks.

but it should see application is installed (older version) and it should have button "Update now" or Uninstall as it does right now?
Comment 11 Bug Janitor Service 2025-11-09 03:47:29 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 12 Bug Janitor Service 2025-11-24 03:46:20 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.