Created attachment 165293 [details] Screenshot STEPS TO REPRODUCE 1. Use KDE Connect on Wayland 2. Use "Remote Input" OBSERVED RESULT A confirmation prompt from xdg-desktop-portal-kde The text inside the dialog is a bit crammed and needs spacing. See screenshot EXPECTED RESULT A beautiful dialog SOFTWARE/OS VERSIONS KDE Plasma Version: master KDE Frameworks Version: master Qt Version: 6.7
This appears to be fixed on KDE Neon Testing. Can you check if it is fixed for you as well?
That seems like it might be a Qt 6.7 specific issue, I also have git master stuff but with Qt 6.6.1 and the dialog looks fine for me.
Also looks fine for me with Qt 6.6.0.
Indeed, it's a change from Qt 6.7. I'm not sure I want to call it a bug, the code is rather weird. See this minimal example: import QtQuick import QtQuick.Layouts import QtQuick.Controls as QQC2 Window { id: root width: contentsControl.implicitWidth height: contentsControl.implicitHeight QQC2.Control { id: contentsControl contentItem: ColumnLayout { QQC2.Label { Layout.fillHeight: true text: "Something something A" } QQC2.CheckBox { checked: true text: "Something something B" } } anchors.fill: parent anchors.margins: 8 } } With 6.7 the text and the checkbox slightly overlap each other, in 6.6 they don't
Nicolas, your example is a broken layout. It sets outer (window's) size to the control's implicit size, but the control is surrounded by additional margins, so it's not actually sized to implicit size but it slightly less instead. It can't possibly size itself correctly.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4390
Git commit 6673961809ae9dcaaca6dd8b3bfbb12da1c597f7 by Fushan Wen, on behalf of Nicolas Fella. Committed on 10/06/2024 at 15:08. Pushed by fusionfuture into branch 'master'. Fix Systemdialog layout Remove the outer item, it only complicates things and causes the layouting to break FIXED-IN: 6.1.0 M +2 -1 components/dialogs/examples/test.qml M +59 -73 lookandfeel/org.kde.breeze/contents/systemdialog/SystemDialog.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/6673961809ae9dcaaca6dd8b3bfbb12da1c597f7
Git commit 0f385df4bd375d7d507169d9e6beea846a5a9e2f by Fushan Wen. Committed on 10/06/2024 at 15:08. Pushed by fusionfuture into branch 'Plasma/6.1'. Fix Systemdialog layout Remove the outer item, it only complicates things and causes the layouting to break FIXED-IN: 6.1.0 (cherry picked from commit 6673961809ae9dcaaca6dd8b3bfbb12da1c597f7) a3681a59 Fix Systemdialog layout Co-authored-by: Nicolas Fella <nicolas.fella@gmx.de> M +2 -1 components/dialogs/examples/test.qml M +59 -73 lookandfeel/org.kde.breeze/contents/systemdialog/SystemDialog.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/0f385df4bd375d7d507169d9e6beea846a5a9e2f