Hello, I tested the PR with the two changes.
Again under Arch Linux. The bug with the menu bar has been fixed.
I experienced two crashes again with this version.
1. Immediately after importing the activity.
2. When the second athlete was closed, then reloaded, and the activity was deleted.
1. Backtrace
Thread 61 "Estimator" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff3c9ff6c0 (LWP 4262)]
0x0000555555df3bf5 in RideFileCache::meanMaxPowerFor(Context*, QList<float>&, QDate, QDate, QList<QDate>*, QString) ()
(gdb) bt
#0 0x0000555555df3bf5 in RideFileCache::meanMaxPowerFor(Context*, QList<float>&, QDate, QDate, QList<QDate>*, QString) ()
#1 0x0000555556085170 in Estimator::run() ()
#2 0x00007fffe992c7e8 in ?? () from /tmp/.mount_GoldenicgGHM/lib/libQt6Core.so.6
#3 0x00007fffe90a597a in start_thread (arg=<optimized out>) at pthread_create.c:454
#4 0x00007fffe91292bc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
2. Backtrace
Thread 1 "AppRun" received signal SIGSEGV, Segmentation fault.
0x000055555599ed9f in IntervalOverviewItem::setData(RideItem*, bool) ()
(gdb) bt
#0 0x000055555599ed9f in IntervalOverviewItem::setData(RideItem*, bool) ()
#1 0x00007fffe97d2288 in QObject::event(QEvent*) () from /tmp/.mount_GoldenHLmlaB/lib/libQt6Core.so.6
#2 0x00007ffff67907b6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /tmp/.mount_GoldenHLmlaB/lib/libQt6Widgets.so.6
#3 0x00007fffe977c9e2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /tmp/.mount_GoldenHLmlaB/lib/libQt6Core.so.6
#4 0x00007fffe977ff5d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /tmp/.mount_GoldenHLmlaB/lib/libQt6Core.so.6
#5 0x00007fffe9a5af47 in ?? () from /tmp/.mount_GoldenHLmlaB/lib/libQt6Core.so.6
#6 0x00007fffe72bdd3b in g_main_context_dispatch () from /tmp/.mount_GoldenHLmlaB/lib/libglib-2.0.so.0
#7 0x00007fffe73132b8 in ?? () from /tmp/.mount_GoldenHLmlaB/lib/libglib-2.0.so.0
#8 0x00007fffe72bb3e3 in g_main_context_iteration () from /tmp/.mount_GoldenHLmlaB/lib/libglib-2.0.so.0
#9 0x00007fffe9a5a60e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_GoldenHLmlaB/lib/libQt6Core.so.6
#10 0x00007fffe97890bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_GoldenHLmlaB/lib/libQt6Core.so.6
#11 0x00007fffe97850a6 in QCoreApplication::exec() () from /tmp/.mount_GoldenHLmlaB/lib/libQt6Core.so.6
#12 0x00005555558022cf in main ()