D27083: [PC2]Give Label integer width.

2020-02-19 Thread David Edmundson
davidedmundson added a comment. > In my opinion the Plasma Controls need fix I would approve that. Though let's be sure to focus on components3. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D27083 To: gvgeo, #plasma, #vdg, ndavis,

D27083: [PC2]Give Label integer width.

2020-02-19 Thread Nathaniel Graham
ngraham added a comment. Probably `frameworks-plasma | components` REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D27083 To: gvgeo, #plasma, #vdg, ndavis, davidedmundson Cc: ngraham, davidedmundson, kde-frameworks-devel, Orage, LeGast00n,

D27083: [PC2]Give Label integer width.

2020-02-19 Thread George Vogiatzis
gvgeo added a comment. In D27083#614285 , @ngraham wrote: > So the test needs to be fixed? In my opinion the Plasma Controls need fix. They need to always display the icons in an real position, no matter what their x position is. Just

D27083: [PC2]Give Label integer width.

2020-02-19 Thread Nathaniel Graham
ngraham added a comment. So the test needs to be fixed? REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D27083 To: gvgeo, #plasma, #vdg, ndavis, davidedmundson Cc: ngraham, davidedmundson, kde-frameworks-devel, Orage, LeGast00n, The-Feren-OS-Dev,

D27083: [PC2]Give Label integer width.

2020-02-19 Thread George Vogiatzis
gvgeo abandoned this revision. gvgeo added a comment. The problem is with controls, not with label. QtQuick controls work fine. problem F8112471: Screenshot_20200219_124506.png F8112472: Screenshot_20200219_124602.png

D27083: [PC2]Give Label integer width.

2020-02-18 Thread George Vogiatzis
gvgeo added a comment. > Also, why is only PC2 affected? Just checked again, apparently made a mistake. All the labels are affected. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D27083 To: gvgeo, #plasma, #vdg, ndavis, davidedmundson Cc:

D27083: [PC2]Give Label integer width.

2020-02-18 Thread George Vogiatzis
gvgeo added a comment. Should I close this patch then? The only place I've seen this problem is in tests. I don't know if there is any place that is affected. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D27083 To: gvgeo, #plasma, #vdg,

D27083: [PC2]Give Label integer width.

2020-02-18 Thread George Vogiatzis
gvgeo added a comment. I see, so paintedHeight is not exactly perfect above. > But I don't really understand how this helps anything in a reliable way. > Layouts will override widths after a layout invalidation. Correctly set anchors would override it. RowLayout, FlowLayout and

D27083: [PC2]Give Label integer width.

2020-02-18 Thread David Edmundson
davidedmundson added a comment. From a logical viewpoirnt it doesn't make sense. It's a binding loop. Changing the width will re-lay out, which will change the paintedWidth, which will change the width. Practically QQuickTextItem has a catch against that (see qquicktext.cpp:

D27083: [PC2]Give Label integer width.

2020-02-18 Thread George Vogiatzis
gvgeo added a comment. @davidedmundson ping REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D27083 To: gvgeo, #plasma, #vdg, ndavis, davidedmundson Cc: davidedmundson, kde-frameworks-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh,

D27083: [PC2]Give Label integer width.

2020-02-14 Thread George Vogiatzis
gvgeo added a comment. While I was improving the test.qml, found that Headings also have the same problem but vertically. I imagine that is from the fractional-part in the multiplier. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D27083 To:

D27083: [PC2]Give Label integer width.

2020-02-14 Thread George Vogiatzis
gvgeo edited the test plan for this revision. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D27083 To: gvgeo, #plasma, #vdg, ndavis, davidedmundson Cc: davidedmundson, kde-frameworks-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh,

D27083: [PC2]Give Label integer width.

2020-02-01 Thread George Vogiatzis
gvgeo added a comment. The Checkbox takes fractional position, caused from the fractional width of the Label. This lead to blurriness. F8071229: Screenshot_20200201_100353_2.png I don't understand what the problem is. Height can also take the

D27083: [PC2]Give Label integer width.

2020-02-01 Thread David Edmundson
davidedmundson added a comment. I don't understand from the screenshot what changed wrt widths in your screenshots. Could you expand on what the bug identified is? REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D27083 To: gvgeo, #plasma, #vdg,

D27083: [PC2]Give Label integer width.

2020-02-01 Thread David Edmundson
davidedmundson requested changes to this revision. davidedmundson added a comment. This revision now requires changes to proceed. The math.ceil changes. Absolutely. Binding width to painted width doesn't make sense. They're different things. It'll break any alignment REPOSITORY R242

D27083: [PC2]Give Label integer width.

2020-02-01 Thread George Vogiatzis
gvgeo edited the test plan for this revision. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D27083 To: gvgeo, #plasma, #vdg, ndavis Cc: kde-frameworks-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen,

D27083: [PC2]Give Label integer width.

2020-02-01 Thread George Vogiatzis
gvgeo added a comment. PC3 label gives integer size. If this patch is right, will make a patch to change all the tests to use PC2/PC3 label, instead of QQC2 for proper display. The 2 vertical misalignment problems are not the focus of this patch, created by: 1. PC2 label height

D27083: [PC2]Give Label integer width.

2020-02-01 Thread George Vogiatzis
gvgeo edited the summary of this revision. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D27083 To: gvgeo, #plasma, #vdg, ndavis Cc: kde-frameworks-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, michaelh,

D27083: [PC2]Give Label integer width.

2020-02-01 Thread George Vogiatzis
gvgeo edited the test plan for this revision. REPOSITORY R242 Plasma Framework (Library) REVISION DETAIL https://phabricator.kde.org/D27083 To: gvgeo, #plasma, #vdg, ndavis Cc: kde-frameworks-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen,

D27083: [PC2]Give Label integer width.

2020-02-01 Thread George Vogiatzis
gvgeo created this revision. gvgeo added reviewers: Plasma, VDG, ndavis. gvgeo added a project: Plasma. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. gvgeo requested review of this revision. REVISION SUMMARY Label paintedWidth creates alingment issues when