Okay, I can help you look into that Dolphin freeze issue. That sounds frustrating, especially the long freeze time after a simple right-click on an archive.
Based on the search results, while I couldn't find an exact bug report matching Dolphin version 24.12.3 freezing specifically on right-clicking archives, there are several related issues and potential causes reported in the past and more recently that might explain what you're experiencing. Version 24.12.3 sounds like a development or future release (as of April 2025, stable versions are typically around 24.02.x or 24.05.x), which might mean you've encountered a new or regression bug.
Here's a breakdown of relevant findings and potential causes/solutions:
Known Issues and Potential Causes:
-
Context Menu Freezes (General):
- Users have reported Dolphin freezing when accessing context menus, sometimes for extended periods (like the 5 minutes mentioned in one 2022 report [9]). This included right-clicking on files both in Dolphin and directly on the desktop [9, 18].
- Another report from December 2024 describes Dolphin freezing for seconds up to a minute upon launch or right-click actions like copy/cut [16][1].
-
xdg-document-portal Service:
- The December 2024 report linked intermittent freezes specifically to the
xdg-document-portal service[1]. Killing this service reportedly made Dolphin immediately responsive again [16][1]. This portal is often involved in file access across different application types (like sandboxed apps).
-
Baloo File Indexer:
- A report from late December 2024 noted significant delays or freezes (~10 seconds) when opening file properties in Dolphin if the Baloo file indexer was enabled[2]. Disabling Baloo resolved the issue [3][2]. Generating context menu items, especially for archives, might involve querying metadata that Baloo handles.
-
Archive Backend / Plugins (Ark):
- While your issue is the right-click before an action, sometimes problems occur when Dolphin tries to query information about the archive for the context menu (e.g., what extraction options are available).
- Issues have been reported where compression or extraction actions initiated from Dolphin cause hangs or crashes [1, 4, 11][3][4].
- Missing backend tools (like
p7zip, unrar) for specific archive types can sometimes cause errors or unexpected behavior when interacting with those files [4, 13].
-
Desktop Interaction vs. Dolphin Window:
- Some users noted differences in behavior or specific freezes when interacting with files directly on the desktop (using Folder View) versus within a standard Dolphin window [5, 18].
Troubleshooting Steps and Potential Workarounds:
- Check
xdg-document-portal: Next time Dolphin freezes, open a terminal (Konsole) and run pkill xdg-document-portal or use System Monitor to find and kill the xdg-document-portal process. See if Dolphin immediately unfreezes. If it does, this points to a likely cause similar to report [16].
- Test Baloo File Indexer: Temporarily disable Baloo. Open a terminal and run
balooctl disable. Then test the right-click behavior again. If the freeze is gone, the issue might be related to Baloo indexing or metadata retrieval [3]. You can re-enable it later with balooctl enable.
- Run Dolphin from Terminal: Close all Dolphin instances. Open Konsole and type
dolphin. Then, try to reproduce the freeze by right-clicking an archive. Look for any error messages or output in the terminal when the freeze occurs or when it eventually unfreezes [1, 9]. This might give clues.
- Check System Monitor: When the freeze happens, open System Monitor and check the CPU, Memory, and Disk I/O usage. See if Dolphin,
ark, baloo_file, xdg-document-portal, or another process is consuming excessive resources [18].
- Check Archive Tools: Ensure you have the necessary backend tools installed for common archive types (e.g.,
ark, p7zip-full or p7zip, unrar, zip, unzip). The exact package names may vary depending on your Linux distribution.
- Test Different Archive Types: Does the freeze happen with all archives (.zip, .tar.gz, .7z, .rar, etc.), or only specific types? Does the size of the archive file matter?
- Review Dolphin Services: Go to Dolphin's settings (Hamburger menu -> Configure -> Configure Dolphin -> Services). Look under "Context Menu". Try disabling third-party or archive-related services temporarily to see if one of them is causing the conflict.
- Consider Package Source: If you installed Dolphin via Flatpak or Snap, consider trying the version provided by your distribution's native package manager (or vice-versa). Sometimes packaging differences can lead to unexpected behavior [20].
- Report the Bug: Since you are using a potentially newer/development version (24.12.3), this could be a regression or a new bug. Consider reporting it to the KDE developers via their bug tracker (bugs.kde.org). Provide detailed steps to reproduce, your system information (KDE Plasma version, Qt version, distribution), the Dolphin version, and any relevant logs or observations from the steps above.
While there isn't an exact confirmed bug report for Dolphin 24.12.3 matching your description in the search results, the similarities to past and recent issues, particularly involving context menus, xdg-document-portal, and Baloo, offer promising leads for troubleshooting.