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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/pla
                   |                            |sma-workspace/97bf7d777e56a
                   |                            |451eb91731d9209fb1d55689957
             Status|ASSIGNED                    |RESOLVED

--- Comment #11 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 97bf7d777e56a451eb91731d9209fb1d55689957 by David Edmundson.
Committed on 29/03/2020 at 15:13.
Pushed by davidedmundson into branch 'Plasma/5.18'.

[runners/recentdocuments] disable executables or .desktop files

Summary:
It's possible to have a .desktop file in your recent documents list as
you were editing it. Either as a .desktop file or masquerading as
something else.

By default we would process the .desktop file like a .desktop file.

You do get a prompt if the .desktop file is not executable like in
dolphin.

Given we know from context that we're showing recent "Documents" we may
as well turn that behaviour off without risk of ill effects.

Test Plan:
Created .desktop file (masquerading as something else)
Had it in my recent documents after opening in another format
Loaded the file from krunner. It now opened in my text editor instead of
running
the Exec line

Reviewers: #plasma, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28369

M  +2    -1    runners/recentdocuments/recentdocuments.cpp

https://commits.kde.org/plasma-workspace/97bf7d777e56a451eb91731d9209fb1d55689957

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

Reply via email to