Bug 421619

Summary: discover 'fetching updates' loading bar gets cut when the window is resized (horizontally) to its minimum
Product: [Applications] Discover Reporter: Bruno Guedes <brunoguedes.nave>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Image 1: the loading bar working fine
Image 2: the loading bar with the tip cut and decentralized

Description Bruno Guedes 2020-05-16 14:12:05 UTC
Created attachment 128515 [details]
Image 1: the loading bar working fine

SUMMARY


STEPS TO REPRODUCE
1. open discover and go to the updates section
2. click the check for updates button
3. resize the discover window (horizontally) to it's minimum

OBSERVED RESULT

    The window will change for its mobile friendly version and, if you continue to resize the window, the loading bar will get cut and the word fetching updates will get decentralized.


EXPECTED RESULT

    I think the intended behavior would be for the loading bar to get correctly resized and everything to be centralized.
But another possibility would be changing the minimum horizontal size of the screen.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux
(available in About System)
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2

discover version: discover-git 5.19.80.r7686.gc81b6583-1 (name and version of the package in the manjaro repos)

ADDITIONAL INFORMATION

Screen Size: 1366x768
Comment 1 Bruno Guedes 2020-05-16 14:15:05 UTC
Created attachment 128516 [details]
Image 2: the loading bar with the tip cut and decentralized
Comment 2 Aleix Pol 2020-05-22 15:23:55 UTC
Git commit e0df367fa11d41c9b4ce9ea5ddae44cc956e6756 by Aleix Pol.
Committed on 22/05/2020 at 15:23.
Pushed by apol into branch 'Plasma/5.19'.

updates: Make sure the progressbar doesn't overflow

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

https://invent.kde.org/plasma/discover/commit/e0df367fa11d41c9b4ce9ea5ddae44cc956e6756