| Summary: | Saving channel list locks up GUI, but keyboard still works | ||
|---|---|---|---|
| Product: | [Applications] konversation | Reporter: | Frank Steinmetzger <dev+kde> |
| Component: | general | Assignee: | Konversation Bugs <konversation-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ulterno |
| Priority: | NOR | ||
| Version First Reported In: | 1.8.21041 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/network/konversation/-/commit/094d9f2a4e980f0e6e02d7a88f24361eb782e395 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Frank Steinmetzger
2021-05-23 23:19:18 UTC
As of version 1.10.24123 (Arch Repos), the workaround (Ctrl+Q and cancel) does not work. Confirmed problem in master branch.
PROBING
In function: void ChannelListPanel::saveList()
- this variable is : ChannelListPanel('address', name="ChannelListWidgetUI")
- this->parentWidget() : QStackedWidget('address', name="qt_tabwidget_stackedwidget")
For QFileDialog::getSaveFileName( )
- Setting the option (i.e. the last argument of type QFileDialog::Options) to QFileDialog::DontUseNativeDialog, hence invoking the Qt File dialog, is a functioning workaround
- Passing this->parentWidget() as the parent parameter (1st argument) makes the System File dialog work properly with kio 6.12.0-1
A possibly relevant merge request was started @ https://invent.kde.org/network/konversation/-/merge_requests/119 Merge Request !119 should fix this. Git commit edad2338fe26751e01d17874ab69e3e5e2a0e29f by Albert Astals Cid, on behalf of Aditya Tolikar. Committed on 15/07/2025 at 08:59. Pushed by aacid into branch 'master'. Pass a valid QWidget pointer to QFileDialog The `this` pointer being passed to `QFileDialog` is not usable with the File Dialog provided by KIO. Use the output of `QWidget::window()` function instead, to ensure that a usable pointer is given to the File Dialog provider. M +1 -1 src/irc/channellistpanel.cpp M +2 -2 src/urlcatcher.cpp M +1 -1 src/viewer/logfilereader.cpp https://invent.kde.org/network/konversation/-/commit/edad2338fe26751e01d17874ab69e3e5e2a0e29f Git commit 094d9f2a4e980f0e6e02d7a88f24361eb782e395 by Albert Astals Cid, on behalf of Aditya Tolikar. Committed on 15/07/2025 at 09:00. Pushed by aacid into branch 'release/25.08'. Pass a valid QWidget pointer to QFileDialog The `this` pointer being passed to `QFileDialog` is not usable with the File Dialog provided by KIO. Use the output of `QWidget::window()` function instead, to ensure that a usable pointer is given to the File Dialog provider. (cherry picked from commit edad2338fe26751e01d17874ab69e3e5e2a0e29f) M +1 -1 src/irc/channellistpanel.cpp M +2 -2 src/urlcatcher.cpp M +1 -1 src/viewer/logfilereader.cpp https://invent.kde.org/network/konversation/-/commit/094d9f2a4e980f0e6e02d7a88f24361eb782e395 |