Bug 163116 - JJ: Configurable actions in "PresentWindows"-Effect
Summary: JJ: Configurable actions in "PresentWindows"-Effect
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 184538 185035 188035 195401 197955 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-03 08:55 UTC by patrick.schwalm
Modified: 2015-07-25 18:52 UTC (History)
6 users (show)

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


Attachments
Bug is no longer resolved, please fix again. (63.73 KB, image/png)
2015-07-25 18:01 UTC, Michael Tunnell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description patrick.schwalm 2008-06-03 08:55:49 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

Hi,

i'm looking forward to have the ability to close windows while using the present-effect only on clicking on them with middle-mouse button.
So i'm interested in an OsX - expose or Compiz-Fusion Scale-Addons behaviour where you can close every window.
Comment 1 Kelvie Wong 2008-06-04 22:32:16 UTC
FWIW I'd like to have some kind of configuration for what the buttons do (on my TODO list is to actually add this myself... but I'll have to see how much time I have, and how much it bothers me :).

I personally want a "Move to Current Desktop" action associated with it, as I find that the most often used; but every user will have his own workflow, so I think we should make it configurable.
Comment 2 Lubos Lunak 2008-06-10 11:41:01 UTC
You can move between desktops in DesktopGrid using two right-clicks rather easily.
Comment 3 Karthik Periagaram 2008-08-04 04:01:18 UTC
> You can move between desktops in DesktopGrid using two right-clicks rather easily. 

This behavior is completely hidden. I (=regular, but evidently noob-ish user of KDE4) didn't know this until I saw this bug.

I notice that middle click does the same thing (makes window appear on all desktop). So, a way to resolve this bug is to allow some configuration of what each mouse button would do in the Desktop Grid view, as Kelvie Wong suggests. This would also make the current behavior more obvious to the user.
Comment 4 lucas 2009-02-17 03:41:14 UTC
*** Bug 184538 has been marked as a duplicate of this bug. ***
Comment 5 andrew 2009-02-18 13:12:34 UTC
I second karthik,

Although is is handy to have this function I don't like the specifics of this idea because the function is hidden to all but the savvy user.  

A better approach is to provide a set of buttons for different functions that might appear when hovering over a window in the "present" view (OSX does this I believe).  If an individual wants to be able to bind a particular opertion like close to a "free" mouse button then this should be possible - it should just not be _the way_ the feature is delivered.
Comment 6 lucas 2009-02-20 16:40:49 UTC
*** Bug 185035 has been marked as a duplicate of this bug. ***
Comment 7 Martin Flöser 2009-03-24 22:19:57 UTC
*** Bug 188035 has been marked as a duplicate of this bug. ***
Comment 8 Tobias 2009-04-27 21:15:57 UTC
Any news on this? This is still one of the main reasons I still don't use KDE4 and it seems like a really small feature to implement. And it would make all the users switching from Compiz happy.
Comment 9 Martin Flöser 2009-06-06 10:49:05 UTC
*** Bug 195401 has been marked as a duplicate of this bug. ***
Comment 10 Martin Flöser 2009-06-06 14:27:29 UTC
*** Bug 195401 has been marked as a duplicate of this bug. ***
Comment 11 lucas 2009-06-26 14:12:34 UTC
*** Bug 197955 has been marked as a duplicate of this bug. ***
Comment 12 Martin Flöser 2009-06-28 19:17:30 UTC
SVN commit 988788 by graesslin:

Configurable mouse actions in present windows for clicking a window and desktop.
It's possible to activate a window, exit without activating, bring window to current desktop, send window on all desktops, mimize the window and close the window.
Clicking desktop allows to activate selected window, exit without activating, show the desktop (minimize all apps) and of course do nothing.
FEATURE: 163116

 M  +30 -0     effects.cpp  
 M  +5 -0      effects.h  
 M  +110 -4    effects/presentwindows/presentwindows.cpp  
 M  +29 -0     effects/presentwindows/presentwindows.h  
 M  +40 -0     effects/presentwindows/presentwindows_config.cpp  
 M  +346 -93   effects/presentwindows/presentwindows_config.ui  
 M  +6 -1      lib/kwineffects.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=988788
Comment 13 Michael Tunnell 2015-07-25 18:01:40 UTC
Created attachment 93742 [details]
Bug is no longer resolved, please fix again.

Please bring this feature back. I don't know why but it appears that this featured was implemented but was removed at some point. The attached screenshot shows that the feature from 4.3 no longer exists in the latest version of KDE4 and likely doesn't exist in KWin 5 either.

Please reimplement this or at the very least allow Middle Click Close + Modifier in the Window Actions. I would be ok with either option.
Comment 14 Thomas Lübking 2015-07-25 18:52:46 UTC
The actions *are* configurable, close was removed deliberately => bug #321190