| Summary: | Imrove The Activity Switcher user interaction | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Michail Vourlakos <mvourlakos> |
| Component: | Activity Switcher sidebar | Assignee: | Ivan Čukić <ivan.cukic> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | wishlist | CC: | plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.7.2 | ||
| Target Milestone: | 1.0 | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Michail Vourlakos
2016-07-24 12:15:23 UTC
*fix: the activity switcher is not hiding until ther user leaves from the activity switcher Hi Michail, The activity switcher is designed to work like a switcher (window switcher for example - alt+tab, present windows...) and not like a browser (widget explorer). This was discussed a few times now, and the consensus was that the main use-case is that the user knows which activity to switch to. That is where all the design issues came from. It would be possible to have an alternative switcher that behaves like you'd want, but this is not likely to change in the default one. Hello Ivan, I see... So this is based in the fact tha the user would use Meta+Tab something to switch between activities and not use the mouse... I see... How would it be possible to have and alternative one, Ivan ? From where should I start from coding point of view? thanks again, michail > So this is based in the fact tha the user would use Meta+Tab something to switch between
> activities and not use the mouse... I see...
Not only that. The present windows kwin effect is used with a mouse - you get an overview of all windows, you know which one to switch to, and you select it. That window gets focus and you exit the present windows effect.
You can use QML or QWidgets, whichever you are more comfortable with. If you are using QWidgets, you can use the KActivities::ActivitiesModel class to show activities in a QListView or something like that (you would probably need to pass it through a sorting proxy model to order them by name), while for QML you have also the option to use ActivitySwitcher.Backend.runningActivitiesModel() which is used in the regular switcher.
You can find the QML part of the code of the normal switcher in plasma-desktop/desktoppackage/contents/activitymanager
|