Summary: | Discover UI cosmetic bug with [Select None] button text overlapped with text "Total size: ..." upon Refresh | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Peter <peterg4240> |
Component: | discover | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | minor | CC: | aleixpol, emir_sari, nate, sitter |
Priority: | NOR | ||
Version: | 6.0.3 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Image (png) of UI bug
broken qml example |
*** Bug 484378 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/813 Created attachment 168415 [details]
broken qml example
I didn't manage to completely debug this unfortunately, making it hard to punt this to Qt.
The gist of it is that an item in a layout that is a footer of a page inside a Kirigami ColumnView (is not getting sized correctly. The page and layout sizes are correct though so something appears to go wrong inside the layout logic propagating to the children.
Of particular interest is that the width on the qml side is in fact changing to the correct width but later changing to 0 thus breaking. Here's example output where we can see the layout changing width, propagating to a rectangle inside and then a second bogus resize that breaks things.
Qml Runtime(4007)/(qt.quick.layouts) unknown: QQuickLayout::geometryChange QRectF(0,0 500x500) QRectF(0,0 500x0)
Qml Runtime(4007)/(qt.quick.layouts) unknown: QQuickGridLayoutBase::rearrange 0 QQuickRowLayout_QML_48(0x624327c69b80, id="columnViewLayout", parent=0x624327cbdbc0, geometry=0,0 500x500)
Qml Runtime(4007)/(qt.quick.layouts) unknown: "" QQuickGridLayoutBase::rearrange() QSizeF(500, 500)
Qml Runtime(4007)/(qml) expression for onWidthChanged: layout width 500
Qml Runtime(4007)/(qt.quick.layouts) unknown: QQuickLayout::geometryChange QRectF(0,468 500x32) QRectF(0,468 0x32)
Qml Runtime(4007)/(qt.quick.layouts) unknown: QQuickGridLayoutBase::rearrange 0 QQuickColumnLayout(0x624327ca4750, parent=0x624327ec3cb0, geometry=0,468 500x32, z=1)
Qml Runtime(4007)/(qt.quick.layouts) unknown: "" QQuickGridLayoutBase::rearrange() QSizeF(500, 32)
Qml Runtime(4007)/(qml) expression for onWidthChanged: rect width 500
Qml Runtime(4007)/(qt.quick.layouts) unknown: QQuickLayout::geometryChange QRectF(0,468 0x32) QRectF(0,-32 0x32)
Qml Runtime(4007)/(qt.quick.layouts) unknown: QQuickGridLayoutBase::rearrange 0 QQuickColumnLayout(0x624327ca4750, parent=0x624327ec3cb0, geometry=0,468 500x32, z=1)
Qml Runtime(4007)/(qt.quick.layouts) unknown: "" QQuickGridLayoutBase::rearrange() QSizeF(0, 32)
Qml Runtime(4007)/(qml) expression for onWidthChanged: rect width 0
I am attaching a fairly minimal example. Showing the problem. When run initially there is no footer rectangle because it has 0 width. When resizing the window it appears.
*** This bug has been marked as a duplicate of bug 479782 *** |
Created attachment 168077 [details] Image (png) of UI bug SUMMARY Discover UI cosmetic bug text on [Select None] button overlap with text "Total size: ..." STEPS TO REPRODUCE 1. Launch Discover 2. Ensure Discover is in Restore state, i.e. not maximised 3. Click the [Updates (x)] button in the left top panel 4. Click on the [Refresh] button in the top right-most Title bar area (directly under the Minimise, Maximise, Close icons) OBSERVED RESULT The [Select None] button text now has it's text overlapped with the Refresh text, e.g. "Total size: 508.7 MiB" on top of it - please refer to attached image. EXPECTED RESULT The text of the [Select None] button should remain unaffected. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed (version 20240329) KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 Kernel Version: 6.8.1-1-default (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION This cosmetic bug does not occur when Discover is maximised.