Bug 404624 - When details for an update are shown, the list of update does not show the new version anymore
Summary: When details for an update are shown, the list of update does not show the ne...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.15.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-20 22:21 UTC by Thomas Pfeiffer
Modified: 2019-02-22 01:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.15.2


Attachments
Screenshot of the problem (216.71 KB, image/png)
2019-02-20 22:21 UTC, Thomas Pfeiffer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Pfeiffer 2019-02-20 22:21:04 UTC
Created attachment 118239 [details]
Screenshot of the problem

SUMMARY
When the details for an update are shown, the column with the list of updates becomes narrow and only the current package version is still visible

STEPS TO REPRODUCE
1. Go to Updates
2. Click on a package
3. Click "Show Details" (or whatever the button is labeled)

OBSERVED RESULT
Only the current version is visible in the list of updates

EXPECTED RESULT
The new version is still visible

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-02-21 22:33:42 UTC
Here's a patch: https://phabricator.kde.org/D19210
Comment 2 Nate Graham 2019-02-22 01:51:56 UTC
Git commit d2d33a20b0e08e12f54c46d1918aa2160c92bd81 by Nate Graham.
Committed on 22/02/2019 at 01:51.
Pushed by ngraham into branch 'Plasma/5.15'.

[Updates page] Try our best to not elide version strings

Summary:
With this patch, Discover will try its back to never elide version strings on the
Updates page. It will first fall back to a shorter squeezed string that only shows the
available version, then elide from the left so that the most important part doesn't get
cut off.

All of this is mostly only a problem on KDE Neon when using widescreen or mobile view,
but it's nice to fix anyway.
FIXED-IN: 5.15.2

Test Plan: {F6628861}

Reviewers: #discover_software_store, colomar, apol

Reviewed By: #discover_software_store, apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19210

M  +17   -1    discover/qml/UpdatesPage.qml

https://commits.kde.org/discover/d2d33a20b0e08e12f54c46d1918aa2160c92bd81