Bug 416860 - FormLayout content moved too far to the right in certain circumstances
Summary: FormLayout content moved too far to the right in certain circumstances
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.66.0
Platform: Neon Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-28 12:54 UTC by Patrick Silva
Modified: 2020-01-29 16:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (151.14 KB, image/png)
2020-01-28 12:54 UTC, Patrick Silva
Details
screenshot on Wayland (137.27 KB, image/png)
2020-01-28 13:27 UTC, Patrick Silva
Details
Touchpad kcm (146.33 KB, image/png)
2020-01-28 13:44 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-01-28 12:54:24 UTC
Created attachment 125483 [details]
screenshot

STEPS TO REPRODUCE
1. open system settings > connections 
2. click on "Configuration" button on bottom
3. 

OBSERVED RESULT
see the attached screenshot please

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2
Comment 1 Jan Grulich 2020-01-28 13:15:10 UTC
Weird, I cannot reproduce this. Is this on Wayland?
Comment 2 Patrick Silva 2020-01-28 13:27:17 UTC
Created attachment 125485 [details]
screenshot on Wayland

X11. On Wayland the same window looks different.
I can't reproduce  on Arch Linux running Plasma 5.18 beta though.
Comment 3 Jan Grulich 2020-01-28 13:31:20 UTC
Here X11 and Wayland also makes difference, but only in size of the window. In your case all the widgets are moved to the right side instead being in the middle.
Comment 4 Patrick Silva 2020-01-28 13:44:12 UTC
Created attachment 125486 [details]
Touchpad kcm

(In reply to Jan Grulich from comment #3)
> In your case all the widgets are moved to the right side instead being in
> the middle.

yes. The same occurs with the Touchpad kcm. I think it's a bug with another
package non related to plasma-nm.
Comment 5 Jan Grulich 2020-01-28 13:46:09 UTC
Alright, if this issue is reproducible also somewhere else, then let's reassign it. My first guess would be Kirigami framework.
Comment 6 Nate Graham 2020-01-28 19:36:17 UTC
I can reproduce. Is the code here using a FormLayout? If so, it's probably a Kirigami issue.
Comment 7 Nate Graham 2020-01-28 19:37:32 UTC
Ah yes, it also affects the touchpad KCM which is using a FormLayout. Seems like a Kirigami issue for sure.
Comment 8 Marco Martin 2020-01-29 16:57:30 UTC
Git commit c53382e9e600444616ce7d9ac996b0bc57e5e0a8 by Marco Martin.
Committed on 29/01/2020 at 16:57.
Pushed by mart into branch 'master'.

proper size hint for the gridlayout

M  +1    -1    src/controls/FormLayout.qml

https://commits.kde.org/kirigami/c53382e9e600444616ce7d9ac996b0bc57e5e0a8