Bug 483779 - KMail hangs when invoking "Configure KMail..."
Summary: KMail hangs when invoking "Configure KMail..."
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: config dialog (show other bugs)
Version: 6.0.1
Platform: Neon Linux
: HI major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-16 17:42 UTC by Daniel Kraus
Modified: 2024-09-18 05:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Kraus 2024-03-16 17:42:10 UTC
SUMMARY

When I attempt to change KMail's settings/preferences, either by invoking the "Configure KMail..." command from the Settings menu or by pressing the keyboard shortcut, KMail hangs with 100% CPU (one core) and I have to SIGKILL it. This behavior started to occur after my recent upgrade from Plasma 5 to Plasma 6.


STEPS TO REPRODUCE
1. Upgrade a KDE neon system to Plasma 6.
2. Start KMail.
3. Invoke "Configure KMail..." from the Settings menu.

OBSERVED RESULT

KMail becomes unresponsive and occupies 100% of one CPU core.

EXPECTED RESULT

The config dialog should appear.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-25-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 23,2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20L8S02D00
System Version: ThinkPad T480s

ADDITIONAL INFORMATION
Comment 1 Daniel Kraus 2024-03-16 20:01:37 UTC
I've created a new user and logged in as this user. Even when I start KMail and dismiss the onboarding dialog (i.e., no accounts are configured), I am unable to invoke the config dialog. So it's not something about my personal configuration (which has seen several upgrades so far), it must be something about this system's general setup. Maybe this helps to identify the issue.
Comment 2 Bernhard E. Reiter 2024-04-10 06:55:25 UTC
Hello,
I can confirm that there is a defect with the configuration of Kmail2 in kontact-24.02.1-kf.236.3.x86_64
(which I have noticed after a move from Qt5 to Qt6 and thus Plasma5 to Plasma6 on GNU/Linux Opensuse Leap + Stable KDE repos.)

I notice a long delay in opening the configuration dialog (like 8 seconds)
then I often get dialogs about to confirm a change in the configuration (which does not make sense as I did not yet do a change).
Additionally changes are not recorded, as I wanted to make the change that is shown here: https://wiki.gnupg.org/EMailClients/KMail
and closing the dialogs for good, after I open them again, the change was lost.

Once I've got a crash as well. I raise the priority because and email client where configuration cannot be done or is lost is hard to impossible to use.
Comment 3 Bernhard E. Reiter 2024-04-10 07:01:24 UTC
the about dialog of Kontact says 6.0.1, while the package is 24.02.1-kf.265.4.
Comment 4 Bernhard E. Reiter 2024-04-11 06:47:59 UTC
As this also affects settings for crypto, I've created a sister report at https://dev.gnupg.org/T7081 .
Comment 5 Laurent Montel 2024-04-11 08:06:57 UTC
you need last ktextaddons package for it.
Regards
Comment 6 Peer Frank 2024-06-10 09:18:03 UTC
meanwhile the problem seems resolved on my system
(kmail Version 6.1.0 (24.05.0) framework 6.2.0)
Comment 7 Daniel Kraus 2024-06-10 09:50:18 UTC
(In reply to Peer Frank from comment #6)
> meanwhile the problem seems resolved on my system
> (kmail Version 6.1.0 (24.05.0) framework 6.2.0)

That's right, works for me once again as well.
Comment 8 Laurent Montel 2024-09-18 05:53:11 UTC
it's fixed now