Summary: | start new instance of running application with keyboard shortcut | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | apache <sabayon11> |
Component: | Icons-only Task Manager | Assignee: | Eike Hein <hein> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | allo, chrno-sphered, flying-sheep, petersaints, xgdgsc |
Priority: | NOR | ||
Version: | 5.1.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-desktop/58b2a3d1bf7828698b02ea4778996f1b8796a982 | Version Fixed In: | |
Sentry Crash Report: |
Description
apache
2014-10-20 17:04:33 UTC
or, as it is done almost anywhere: middle click starts a new instance. confirming as regression. i’ve found a quick fix: change this: https://projects.kde.org/projects/kde/workspace/plasma-desktop/repository/revisions/master/entry/applets/taskmanager/package/contents/ui/Task.qml#L56 to: acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.RightButton | Qt.MiddleButton and add to this: https://projects.kde.org/projects/kde/workspace/plasma-desktop/repository/revisions/master/entry/applets/taskmanager/package/contents/ui/Task.qml#L92 code to create a new instance if the button was Qt.MiddleButton Middle-click actually tends to *close* things most of the time (browser tab bars, Present Windows, ...) so it's not a good idea to use it for launching new instances. Shift+Click makes more sense there I think. Git commit 58b2a3d1bf7828698b02ea4778996f1b8796a982 by Eike Hein. Committed on 03/11/2014 at 13:37. Pushed by hein into branch 'master'. Launch new instances on Shift+Click. M +3 -1 applets/taskmanager/package/contents/ui/Task.qml M +2 -0 applets/taskmanager/package/contents/ui/main.qml M +9 -0 applets/taskmanager/plugin/backend.cpp M +1 -0 applets/taskmanager/plugin/backend.h http://commits.kde.org/plasma-desktop/58b2a3d1bf7828698b02ea4778996f1b8796a982 but then i need two hands, with 3 unused buttons on my mouse… Comment #3 gives a reason on why middle click should not be used to launch a new instance, however I disagree. There are already situations in which middle clicking is used to launch new "things" and not just to close "things". For example, on Chrome and Firefox middle clicking a link or a bookmark launches it on a new tab. So, could you please add the possibility of middle clicking to launch a new instance? Or at least make it an option that we users can enable. > For example, on Chrome and Firefox middle clicking a link or a bookmark launches it on a new tab.
yeah! so this behavior is even expected.
And middle-clicking on a tab closes that tab. yes. so are task bars tabs or bookmarks/links? they are both: they indicate the status of applications (launched or not, like tabs), but pinning a launcher also makes them bookmarks/links. so why not make it configurable? Middle click action: (x) Launch new instance ( ) Close window with this default and choice, people would have more functionality and there wouldn’t be bad surprises, as a new instance started when you want to close a window is less annoying than closing a window while wanting to start a new instance. FWIW, the kde4 version of icontasks had this configurable. Personally, I prefer middle button click to handle that. Also, if shit+click is the current behavior, why isn't it stated in the right-click menu? It says "Icon-only task manager settings... Alt+D,S", but "Start new Instance". It should be "Start new instance Shift+Click" or something. I'd never figure out how to start a new instance had I not found this bug report tbh. It'll be configurable in Plasma 5.4. Middle click seems more reasonable, as a program icon is just a a link ... it opens a new instance(tab). Middle click on the application icon in a taskbar could close it (as doubleclick there does) |