Bug 443867 - Add "Launch Kickoff Dashboard" as an option to Touch Screen Edge Swipes
Summary: Add "Launch Kickoff Dashboard" as an option to Touch Screen Edge Swipes
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwintouchscreen (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-17 03:11 UTC by Justin Zobel
Modified: 2022-01-10 11:06 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Zobel 2021-10-17 03:11:48 UTC
SUMMARY
For tablet or laptop devices that fold completely into a tablet form factor that run a full Plasma Desktop it would be nice to be able to swipe from an edge to launch the Kickoff Dashboard (full screen) launcher while still having a regular Kickoff Menu for Mouse-based input.
Comment 1 Nate Graham 2021-10-17 22:52:51 UTC
Interesting idea.
Comment 2 jan.claussen10 2022-01-09 23:46:54 UTC
I have been starting to work on some Qt development last year and would like to look into this. Where can I find the source code?
Comment 3 jan.claussen10 2022-01-09 23:48:32 UTC

*** This bug has been marked as a duplicate of bug 419188 ***
Comment 4 Nate Graham 2022-01-10 02:21:07 UTC
(In reply to jan.claussen10 from comment #2)
> I have been starting to work on some Qt development last year and would like
> to look into this. Where can I find the source code?
Nice, thanks! Somewhere in here, I imagine: https://invent.kde.org/plasma/kwin/-/tree/master/src/kcmkwin/kwinscreenedges

BTW this is not actually a duplicate of Bug 419188; it's a separate thing.
Comment 5 jan.claussen10 2022-01-10 10:48:59 UTC
I suggested the exact same thing actually. I said

"I a simple drop-down menu would suffice and the fullscreen application menu (forgot its name) should be the default setting, because it is the only one that is actually touch-friendly. "

which is the launcher. 

Thanks for the link. I will have a look. Although I think it is not going to be so easy as there probably must be an launcher object present in Plasma, which would have to be made invisible. Not sure how that works.
Comment 6 jan.claussen10 2022-01-10 11:06:54 UTC
There seems to already be plans about that in kwinglobals.h:

// TODO: Hardcoding is bad, need to add some way of registering global actions to these.
// When designing the new system we must keep in mind that we have conditional actions
// such as "only when moving windows" desktop switching that the current global action
// system doesn't support.
enum ElectricBorderAction {
    ElectricActionNone,          // No special action, not set, desktop switch or an effect
    ElectricActionShowDesktop,   // Show desktop or restore
    ElectricActionLockScreen,   // Lock screen
    ElectricActionKRunner,       // Open KRunner
    ElectricActionActivityManager, // Activity Manager
    ElectricActionApplicationLauncher, // Application Launcher
    ELECTRIC_ACTION_COUNT,
};