Bug 480790 - Context menu takes some seconds to open when thousands of files are selected
Summary: Context menu takes some seconds to open when thousands of files are selected
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.12.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-03 17:48 UTC by Patrick Silva
Modified: 2025-03-27 15:35 UTC (History)
2 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 Patrick Silva 2024-02-03 17:48:27 UTC
STEPS TO REPRODUCE
1. open a folder containing many files - I used a folder containing 2036 .jpg files in my test
2. select all files by pressing ctrl+a
3. right-click on any selected file

OBSERVED RESULT
the context menu takes a few seconds to open - 3 seconds on my system

EXPECTED RESULT
the context menu opens immediately

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Graphics Platform: Wayland
Comment 1 Felix Ernst 2024-02-12 13:16:22 UTC
Is this a regression or has this always been like this for you? I wonder if this is related to https://phabricator.kde.org/T15916 .
Comment 2 Patrick Silva 2024-02-13 19:49:22 UTC
Tested Dolphin 23.08.4 on a live usb of neon stable edition, the context menu takes 1 second to open.
On Arch Linux running Dolphin 24.01.95-1 the delay is 3 seconds. Tested with the same files on both systems.
Comment 3 Felix Ernst 2024-02-14 11:06:33 UTC
Interesting. I am not aware of any relevant changes happening to Dolphin code or context menu triggering since 23.08, so this might be a Qt6 or KF6 regression. It probably needs profiling either way though to pinpoint what is taking so long.