Bug 371658

Summary: Items on the sources list in Settings section are rendered outside layout borders
Product: [Applications] Discover Reporter: soee <kontakt>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Image shows how sources with long text are rendered outside layout borders

Description soee 2016-10-25 11:36:16 UTC
Inside Settings section on sources list we have often entries with long text and such text is than rendered outside current layout borders. Those texts should fit to current windows size (we should hide or cut to long content or break it to new line etc.).

Reproducible: Always

Steps to Reproduce:
1. Open Discover
2. Navigate to Settings view
3. Try to resize window to a smaller size

Actual Results:  
Observe how items on the list are rendered outside layout if they d not fix actual window size

Expected Results:  
The items text should be hidden on cut to prevent rendering it outside layout.
Comment 1 soee 2016-10-25 11:37:44 UTC
Created attachment 101773 [details]
Image shows how sources with long text are rendered outside layout borders
Comment 2 Aleix Pol 2016-10-26 15:09:59 UTC
Git commit ac05888bac3a420f941bed341539b6d4f0d47e6a by Aleix Pol.
Committed on 26/10/2016 at 15:06.
Pushed by apol into branch 'Plasma/5.8'.

Fix elision of sources delegate text

We used to have 2 texts on the RowLayout, the first wasn't being
elided, rendering outside of the box sometimes, especially on deb
distros that print the whole URL.

M  +2    -5    discover/qml/SourcesPage.qml

http://commits.kde.org/discover/ac05888bac3a420f941bed341539b6d4f0d47e6a