Bug 454373

Summary: "Create New" action globally disabled while one tab is displaying search results
Product: [Applications] dolphin Reporter: serkonda7
Component: searchAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: felixernst, kfm-devel, meven29, nate
Priority: NOR    
Version: 22.04.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description serkonda7 2022-05-25 05:37:06 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
When performing a search for files or folders the context menu entry "Create new" is disabled.
This affects all tabs open at the moment of search.
The error cannot be resolved by restarting, thus it's somewhat persistent.

WORKAROUNDS
- open a new tab
- go back and forth in any tab already open

STEPS TO REPRODUCE
1. Press 'ctrl-f' and enter any search term
2. Start the search with 'enter'
3. Open the context menu via right click in any folder
4. Notice the disabled entry 'Create new' ('F10' shortcut also not working anywhere)

OBSERVED RESULT
Cannot create new files.

EXPECTED RESULT
Creating new files working fine in all tabs except the search results.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.17.9-arch.1
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-05-25 17:20:35 UTC
Can confirm. While at least one tab is showing search results from baloosearch:, the Create New action is disabled globally, not just in the search tab. Closing the search tab or the search UI re-enables it globally.
Comment 2 Méven Car 2023-04-01 16:28:58 UTC
I am not sure this represents a bug: search results are by definition read only, they are not a file disk list.
Comment 3 Nate Graham 2023-04-01 16:46:45 UTC
The issue is that the action is disabled in tabs *not* showing search results. Re-opening.