Bug 371658 - Items on the sources list in Settings section are rendered outside layout borders
Summary: Items on the sources list in Settings section are rendered outside layout bor...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-25 11:36 UTC by soee
Modified: 2016-10-26 15:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Image shows how sources with long text are rendered outside layout borders (186.46 KB, image/png)
2016-10-25 11:37 UTC, soee
Details

Note You need to log in before you can comment on or make changes to this bug.
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