Bug 454373 - "Create New" action globally disabled while one tab is displaying search results
Summary: "Create New" action globally disabled while one tab is displaying search results
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: 22.04.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-25 05:37 UTC by serkonda7
Modified: 2023-04-01 16:46 UTC (History)
4 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 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.