Bug 490204 - Discover - Updates tab shows ouput of pacman
Summary: Discover - Updates tab shows ouput of pacman
Status: RESOLVED INTENTIONAL
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 6.1.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-13 01:12 UTC by Sebastian Hasch
Modified: 2024-07-13 18:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Updates tab in Discover with pacmans mkinitcpio output (155.35 KB, image/png)
2024-07-13 01:12 UTC, Sebastian Hasch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Hasch 2024-07-13 01:12:45 UTC
Created attachment 171619 [details]
Updates tab in Discover with pacmans mkinitcpio output

SUMMARY
Running an update with pacman where there is output from dkms or mkinitcpio, results in the Discover > Updates tab showing that output. This occurs specifically when using pacman and not when using mkinitcpio on its own. 

STEPS TO REPRODUCE
1. Open Discover
2. Navigate to Updates
3. Open a terminal and run "pacman -S linux" ( or linux-lts...; pacman must call the "Updating linux initcpios..." hook)

OBSERVED RESULT
The lower portion of the updates tab shows the output of mkinitcpio.

EXPECTED RESULT
Nothing should be displayed as there was no interaction with the settings page and this is not the type of update one can do from here.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
Kernel: 6.6.38-1-lts (64-bit)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Graphics Platform: wayland-1.23.0-1
Comment 1 Antonio Rojas 2024-07-13 06:36:20 UTC
This is intentional. Reading pacman output during an upgrade is fundamental for an Arch Linux system proper maintenance
Comment 2 Sebastian Hasch 2024-07-13 12:56:58 UTC
Thanks for your quick response! I have read it and think we might misunderstand each other but please correct me if I am wrong. I would expect there not to be inconsistent behavior. The output of pacman is either shown only sometimes and/or with the bulk of it missing. I have uploaded this video to show exactly what I mean: https://youtu.be/t3OjDziJYIY
Comment 3 Antonio Rojas 2024-07-13 15:23:25 UTC
What is shown in discover is the output of the post upgrade scripts. There is no need to show the package upgrade status as that is already shown graphically and would be redundant
Comment 4 Sebastian Hasch 2024-07-13 18:03:16 UTC
In that case I want to thank you for your time and hope you have a great day :)