Bug 390009 - Open private window from web shortcuts search
Summary: Open private window from web shortcuts search
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: webshortcuts (show other bugs)
Version: 5.12.0
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-07 15:32 UTC by RaitaroH
Modified: 2020-06-17 06:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.20
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RaitaroH 2018-02-07 15:32:02 UTC
So, in Whisker Menu I could do something like:
firefox private:https://www.youtube.com/results?search_query=%u

So this will open up the result, in firefox, and the private: bit comes from an extension called Private Tab that allows to append private: to a link and have it in private mode. Not the best thing, but works.

What I would LOVE, is if web shortcuts would at least open a new private window when you search for something in krunner.

Thank you.
Comment 1 Alexander Lohnau 2020-05-31 18:52:13 UTC
I had the same idea and created a new plugin for it: https://github.com/alex1701c/QuickWebShortcuts.

I know this isn't fixing the bug but maybe it will be useful :-).
Comment 2 Alexander Lohnau 2020-06-10 07:49:26 UTC
Should I make a MR implementing this feature, maybe with an additional action to open a private/incognito window based on the default browser @ngraham?

This should be fairly easy.
Comment 3 Nate Graham 2020-06-10 15:23:20 UTC
Sounds great!
Comment 4 Alexander Lohnau 2020-06-17 06:40:02 UTC
Git commit 6443792eb946033542ad5ea26cbb2212be162c81 by Alexander Lohnau.
Committed on 17/06/2020 at 06:39.
Pushed by alex into branch 'master'.

Add action to launch webshortcut in private/incognito window

M  +44   -1    runners/webshortcuts/webshortcutrunner.cpp
M  +4    -0    runners/webshortcuts/webshortcutrunner.h

https://invent.kde.org/plasma/plasma-workspace/commit/6443792eb946033542ad5ea26cbb2212be162c81