| Summary: | When no central widget is set, the Help menu generates a button to activate KCommandBar, which when clicked makes the application segfault | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kxmlgui | Reporter: | Thiago Sueto <herzenschein> |
| Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | nate, waqar.17a |
| Priority: | NOR | ||
| Version First Reported In: | 5.101.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/kconfigwidgets/commit/5683433935290bc0da3052285dd14f1db652f22e | Version Fixed/Implemented In: | 5.103 |
| Sentry Crash Report: | |||
|
Description
Thiago Sueto
2022-12-19 23:34:48 UTC
Git commit ba1d8deb4642791d4506cef498de5944e63bdf5c by Waqar Ahmed. Committed on 12/01/2023 at 08:41. Pushed by waqar into branch 'master'. kcommandbar: Fix no central widget crashes app M +1 -0 autotests/CMakeLists.txt A +31 -0 autotests/kcmdbartest.cpp [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)] M +2 -1 src/kcommandbar.cpp https://invent.kde.org/frameworks/kconfigwidgets/commit/ba1d8deb4642791d4506cef498de5944e63bdf5c Git commit 3c71ffa72148d9bdfe97b87d33e983333ed53283 by Waqar Ahmed. Committed on 12/01/2023 at 08:52. Pushed by waqar into branch 'kf5'. kcommandbar: Fix no central widget crashes app (cherry picked from commit ba1d8deb4642791d4506cef498de5944e63bdf5c) M +1 -0 autotests/CMakeLists.txt A +31 -0 autotests/kcmdbartest.cpp [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)] M +2 -1 src/kcommandbar.cpp https://invent.kde.org/frameworks/kconfigwidgets/commit/3c71ffa72148d9bdfe97b87d33e983333ed53283 Git commit 5683433935290bc0da3052285dd14f1db652f22e by Eugene Popov. Committed on 14/05/2023 at 15:20. Pushed by cullmann into branch 'master'. KCommandBar: improve positioning This MR is a better way to fix the positioning of the command bar when there is no central widget. Also, this commit improves the positioning of the command bar in applications that use QDockWidget (like Kdenlive). M +60 -21 src/kcommandbar.cpp https://invent.kde.org/frameworks/kconfigwidgets/commit/5683433935290bc0da3052285dd14f1db652f22e |