D26582: Kicker/RecentUsageModel: Allow to open smb:/ sftp:/ resources

Méven Car noreply at phabricator.kde.org
Sat Jan 11 15:06:53 GMT 2020


meven planned changes to this revision.
meven added a comment.


  In D26582#591952 <https://phabricator.kde.org/D26582#591952>, @aleksejshilin wrote:
  
  > I thought about using KRun::setShowScriptExecutionPrompt() for D10835 <https://phabricator.kde.org/D10835>, but "Recent Documents" include only those files which were opened, and doesn't include ones which were executed, so an execution prompt there would be totally unexpected by a user. KRun currently doesn't seem to have a way to force opening of executables - one can only prohibit running them with setRunExecutables(), in which case an error message is displayed. That's why I decided to go the way it is now.
  >
  > I think, the best solution would be to add a new KRun::RunFlag (like OpenExecutables) which'd make it open executable files instead of running them, and then use it here.
  
  
  Good point, I will probably offer a KRun patch.
  This regression is very annoying to me.

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D26582

To: meven, #plasma, broulik, aleksejshilin
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200111/2ca640b0/attachment.html>


More information about the Plasma-devel mailing list