Bug 419990 - Impossible to tag multiple files at the same time via context menu
Summary: Impossible to tag multiple files at the same time via context menu
Status: CONFIRMED
Alias: None
Product: baloo-widgets
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 23.04.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Stefan Brüns
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords:
: 426631 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-04-12 14:00 UTC by Patrick Silva
Modified: 2023-05-17 16:27 UTC (History)
5 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 2020-04-12 14:00:00 UTC
SUMMARY
Currently we can tag multiple files at the same time via information panel.
But if we select multiple files and right-click on any of them, "Assign tags"
feature is missing from the context menu.
It would be very nice if we also could assign tags to multiple files at the same time regardless information panel is enabled or not, via context menu.

STEPS TO REPRODUCE
1. open Dolphin
2. select two or more files
3. right-click on any selected file

OBSERVED RESULT
"Assign tags" feature is missing from the context menu.

EXPECTED RESULT
we can use "Assign tags" feature from context menu to tag multiple files at the same time.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Comment 1 Nate Graham 2020-04-15 03:31:38 UTC
Unfortunately this is unfixable as Qt automatically closes the menu when an item is clicked, and this cannot be overridden in any KDE code. See https://bugreports.qt.io/browse/QTBUG-79751
Comment 2 Stefan Brüns 2020-04-15 12:48:48 UTC
The bug is not about "multiple tags", but "multiple files", so the QMenu bug/feature request does not apply.

This is definitely something that can be changed in dolphin, though it becomes somewhat complicated when the selected files have different tags.



The "multiple tags" case could be improved as well.

There are two methods in dolphin to tag a file:

- using the context menu
- using the "Information" panel (F11)

The information panel opens a dialog where multiple tags can be selected, and new ones be added.

The context menu also opens a dialog when "Assign tags..." -> "Create new..." is selected. The latter could be changed to show the same dialog as the information panel.
Comment 3 Stefan Brüns 2020-04-15 12:49:37 UTC
I have opened https://bugs.kde.org/show_bug.cgi?id=420116 for the "multiple tags" case.
Comment 4 Nate Graham 2020-04-15 13:29:27 UTC
Oops sorry, my mistake. This is what happens when you triage bugs at 22:00...
Comment 5 Patrick Silva 2020-09-18 00:04:45 UTC
*** Bug 426631 has been marked as a duplicate of this bug. ***