| Summary: | The sidebar doesn't show subcategories or it gets too small depending on window size | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | guimarcalsilva |
| Component: | sidebarview | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | bednarczyk.pawel, bugseforuns, eric1, feus73, herzenschein, jf.mundox, nate, notmart, pereira.alex, qydwhotmail |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | master | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/systemsettings/-/commit/75490ec7d1be51101dcbdd7585782b399181a9dd | Version Fixed/Implemented In: | 6.0 |
| Sentry Crash Report: | |||
|
Description
guimarcalsilva
2023-07-10 00:08:47 UTC
*** Bug 475321 has been marked as a duplicate of this bug. *** *** Bug 476926 has been marked as a duplicate of this bug. *** *** Bug 476828 has been marked as a duplicate of this bug. *** See also https://bugreports.qt.io/browse/QTBUG-92820?jql=text%20~%20%22qquickwidget%20signal%22 The problem exists in the connection. QQuickItem::implicitWidthChanged is never sent to the backend. ``` connect(d->quickWidget->rootObject(), &QQuickItem::implicitWidthChanged, this, [this]() { const int rootImplicitWidth = d->quickWidget->rootObject()->property("implicitWidth").toInt(); if (rootImplicitWidth != 0) { d->quickWidget->setFixedWidth(rootImplicitWidth); } else { d->quickWidget->setFixedWidth(240); } }); ``` A possibly relevant merge request was started @ https://invent.kde.org/plasma/systemsettings/-/merge_requests/270 Git commit 75490ec7d1be51101dcbdd7585782b399181a9dd by Fushan Wen. Committed on 21/11/2023 at 10:04. Pushed by fusionfuture into branch 'master'. sidebar: fix subcategory width In Qt6 the root item of a QQuickWidget no longer persists for the life time of the widget, unless the root item is created outside the widget. See https://github.com/qt/qtdeclarative/commit/0d80dbd8c2cfc2a7d2a4d970b7acfc7fb5fb97a0 and https://github.com/qt/qtdeclarative/commit/69d61fecf2deee7510f5f2448614174683744d82 and https://bugreports.qt.io/browse/QTBUG-92820 FIXED-IN: 6.0 M +16 -10 app/sidebar/SidebarMode.cpp https://invent.kde.org/plasma/systemsettings/-/commit/75490ec7d1be51101dcbdd7585782b399181a9dd |