Bug 436657 - Being able to add an file to the app menu by right clicking it.
Summary: Being able to add an file to the app menu by right clicking it.
Status: RESOLVED INTENTIONAL
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-05 21:04 UTC by Toadfield
Modified: 2021-06-16 15:04 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toadfield 2021-05-05 21:04:41 UTC
What I mean is that you can right click any file and select "add to app menu",then it opens a window that is like kde menu edit and you can select in which group you wanna add the program and which command it should use.
Comment 1 Méven Car 2021-05-06 06:16:37 UTC
So to be sure, you suggest to add this for executable files or executable desktop files and have a sort of kmenuedit form prefiled for this file with a tree to select the location of the future new desktop file (i.e entry in the app menu).

AFAICT we don't have a dialog for this currently.
Comment 2 Nate Graham 2021-05-06 16:23:30 UTC
Can you walk me through what exactly you're trying to do here? I feel like there is a very specific workflow you're trying to do and it would be helpful to know what that is.
Comment 3 Toadfield 2021-05-20 08:41:31 UTC
(In reply to Méven Car from comment #1)
> So to be sure, you suggest to add this for executable files or executable
> desktop files and have a sort of kmenuedit form prefiled for this file with
> a tree to select the location of the future new desktop file (i.e entry in
> the app menu).
> 
> AFAICT we don't have a dialog for this currently.

Yes,but not only for executables,but also for other file types.

(In reply to Nate Graham from comment #2)
> Can you walk me through what exactly you're trying to do here? I feel like
> there is a very specific workflow you're trying to do and it would be
> helpful to know what that is.

When I download a program not from the repos,then no app menu shortcuts get created by default,so I copy the location of the file I want to have a app menu shortcut,then open kmenuedit and add a shortcut.
So it would be faster for me if I could just right click the file I want and add them via a dialog.
Comment 4 Méven Car 2021-05-20 09:33:55 UTC
(In reply to Toadfield from comment #3)
> (In reply to Méven Car from comment #1)
> > So to be sure, you suggest to add this for executable files or executable
> > desktop files and have a sort of kmenuedit form prefiled for this file with
> > a tree to select the location of the future new desktop file (i.e entry in
> > the app menu).
> > 
> > AFAICT we don't have a dialog for this currently.
> 
> Yes,but not only for executables,but also for other file types.

Which other file types, and for what uses ?
For folders it would be the same as "Add to places", i.e add to dolphin places that are shared with the menu favorites.
For documents or images, I don't see a use case, maybe add to recently accessed files.

The executable file case is already some hefty work to implement.
Comment 5 Toadfield 2021-06-01 12:09:52 UTC
(In reply to Méven Car from comment #4)
> (In reply to Toadfield from comment #3)
> > (In reply to Méven Car from comment #1)
> > > So to be sure, you suggest to add this for executable files or executable
> > > desktop files and have a sort of kmenuedit form prefiled for this file with
> > > a tree to select the location of the future new desktop file (i.e entry in
> > > the app menu).
> > > 
> > > AFAICT we don't have a dialog for this currently.
> > 
> > Yes,but not only for executables,but also for other file types.
> 
> Which other file types, and for what uses ?

For .txt files.
Would that really take more extra work than adding executables?
Cause you can already add other file types easily to the app menu,the only problem is that you need to set which program it opens.
The use for .txt files would be that if I have a config file that I editmany times,then it would make it faster if I could access it from the app menu like any other app.
Comment 6 Bug Janitor Service 2021-06-16 04:33:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Nate Graham 2021-06-16 15:04:17 UTC
We already have KMenuEdit which lets you create menu entries for programs which lack.desktop files. This is basically a worst-case-scenario fallback for programs whose packaging is defective. I would recommend that you report to the developers that their download needs to include a .desktop file. Alternatively, they should package the software as an AppImage for more user-friendliness.