https://bugs.kde.org/show_bug.cgi?id=468148

            Bug ID: 468148
           Summary: The right click on the desktop should give same result
                    that in dolphin and should use action .desktop file.
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.3
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Desktop Containment
          Assignee: plasma-b...@kde.org
          Reporter: nils_beau...@hotmail.com
                CC: notm...@gmail.com
  Target Milestone: 1.0

In plasma, the behaviour of the right click on the desktop is hardcoded in :
https://invent.kde.org/plasma/plasma-workspace/-/tree/master/containmentactions

To resemble and have certain functionalities of the dolphin counterpart coded
here : 

https://invent.kde.org/system/dolphin/-/blob/master/src/dolphincontextmenu.cpp#L300
https://invent.kde.org/frameworks/kio/-/blob/master/src/widgets/kfileitemactions.cpp#L246

But the mimic is not perfect and lack feature. Most notably, the main feature
missing is the absence of taken into account the .desktop files which describe
specific action for the Dolphin menu and which are the generic way to modify
this menu. For exemple, the open terminal is hardcoded (and not in the same way
of Dolphin which open a terminal HERE).

The functionality should be, in my opinion : 

- Same behaviour of the Dolphin counterpart menu in regard to the defined
actions .desktop files.
+ the specifics of the desktop (add a panel etc.)

Ideally, it could be a good idea to find a way to factorize the two part of the
code in a way where all the « not desktop » part are coded in the same place as
the dolphin part.
Well, the two menus should be composed of a specific parts for dolphin and for
the desktop and of a common part (copy, past, cancel, new, actions etc.).

In addition to that point, it could be a good idea to defined a MIME type that
apply specifically to the desktop in the .desktop file.

  Thanks for reading ;)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to