Bug 340326 - Context menu in folder widget contains 'Run the associated program' & not the 'Open in Dolphin' from Plasma 1
Summary: Context menu in folder widget contains 'Run the associated program' & not the...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: master
Platform: Kubuntu Linux
: NOR minor
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-25 07:12 UTC by ken taylor
Modified: 2015-09-17 22:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.11


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ken taylor 2014-10-25 07:12:23 UTC
I'm testing the Neon 5 ISO released on 24 Oct 2014 from a live USB.

If you add a folder widget to the desktop (there's one there by default) then right click on it, the context menu has an entry in it that says 'Run the associated program', clicking on it runs Dolphin. In Plasma 1 the same context menu just said 'Open with Dolphin' which is more straightforward - it's obvious what that entry will open.

I think we should change 'Run the associated program' to 'Open with Dolphin'.

Reproducible: Always
Comment 1 Eike Hein 2014-11-03 12:26:36 UTC
This works for me, it's "Open with Dolphin" here. I'll set this to NEEDSINFO for now, we'd need some more info on the pattern of when this occurs. Try playing around with the default file manager setting.
Comment 2 Bhushan Shah 2014-11-03 12:36:19 UTC
It is not working for me.. can I help somehow to gather information?
Comment 3 Eike Hein 2014-11-03 12:53:18 UTC
Try playing around with your file association for inode/directory and/or the Default File Manager setting in System Settings. Other than that, debug prints in the plasma-framework code handling this ...
Comment 4 Bhushan Shah 2015-01-31 05:40:02 UTC
I can no longer reproduce this with Plasma 5.2 / latest dolphin.
Comment 5 Bhushan Shah 2015-03-12 12:20:10 UTC
Setting back status to NEEDSINFO, as I can not reproduce this anymore
Comment 6 Martin Klapetek 2015-05-13 16:05:05 UTC
My default File manager is Dolphin, inode/directory is also handled by Dolphin but I still see "Run the Associated Application", which opens Dolphin. 

I tried changing both to whatever but it does not change no matter what I change.

What more info can I provide?
Comment 7 Eike Hein 2015-05-13 16:17:34 UTC
Are you talking about the containment or a widget?
Comment 8 Martin Klapetek 2015-05-13 16:18:46 UTC
Widget (like the original report), that is added to panel.
Comment 9 Eike Hein 2015-05-13 16:19:45 UTC
OK, in that case you're using the containment context menu and the action is provided by libplasma, so computing the action name is going wrong in there (it's working here though).
Comment 10 Martin Klapetek 2015-05-13 17:05:18 UTC
Git commit 37590e2d2bd8965dea13876912afebc2fcf9f565 by Martin Klapetek.
Committed on 13/05/2015 at 17:05.
Pushed by mklapetek into branch 'master'.

Fix AssociatedApplicationManager lookup when a mimetype has no aliases

QMimeType::aliases() does not return the main mimetype in the returned
list and so when there are no aliases for a mimetype, there would be no
associated application found as it would be querying for empty mimetype.

This now always prepends the current mimetype to the list for which the
apps are queried.

REVIEW: 123779
FIXED-IN: 5.11
CHANGELOG: Fix AssociatedApplicationManager lookup when a mimetype has
no aliases

Change-Id: I322b03f2ac17fa4c0eb70fc3354c65a0f7a5e34c

M  +9    -1    src/plasma/private/associatedapplicationmanager.cpp

http://commits.kde.org/plasma-framework/37590e2d2bd8965dea13876912afebc2fcf9f565