Bug 79678 - Plastik's "Close window by double-clicking menu button" has no affect
Summary: Plastik's "Close window by double-clicking menu button" has no affect
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 09:10 UTC by Rob Speicher
Modified: 2004-07-30 21:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Speicher 2004-04-15 09:10:22 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice) 
OS:          Linux

The Plastik window decoration has an option checkbox that says "Close windows by double clicking the menu button".  I've enabled this checkbox but it doesn't seem to enable this behavior.  I can triple-click quickly to close the window, but a double-click would be preferred.

I have two monitors, and I use this feature to quickly close applications on the left-hand monitor because I can move the mouse to the absolute upper-left and not worry about exact positioning.

I've tried unchecking and applying, and then re-checking and re-applying the option but it made no difference.

- Window Decoration: Plastik
  - Use shadowed text (checked, works)
  - Animate buttons (checked, doesn't seem to do anything?)
  - Close windows by double clicking the menu button (checked, doesn't do anything)
Comment 1 Sandro Giessl 2004-04-15 13:13:48 UTC
Sorry, I can't reproduce the bug.
Comment 2 Erin 2004-04-18 20:27:10 UTC
I noticed that it does work, it just wont let you doubleclick real fast to close it, you gotta space out your clicks a tiny bit, perhaps adjust the click timing?
Comment 3 Sandro Giessl 2004-04-23 19:36:10 UTC
How fast is your doubleclick interval? ;) Sorry, I'm still not able to reproduce... I think the click timing is ok since Plastik is using the global doubleclick interval.
Perhaps these problems are somehow related to your Xinerama setup?
Comment 4 Rob Speicher 2004-04-27 04:50:57 UTC
Even a slow double-click didn't work for me.  I did notice, however, that if I bring up the system menu, wait a few seconds, and *then* double-click, it closes.  So maybe that's why I have to triple-click?  One to bring up the menu and two to close?
Comment 5 Luciano Montanaro 2004-04-27 10:46:52 UTC
On Tuesday 27 April 2004 04:50, Rob Speicher wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>       
> http://bugs.kde.org/show_bug.cgi?id=79678      
> 
> 
> 
> 
> ------- Additional Comments From tsigo tsigo org  2004-04-27 04:50 -------
> Even a slow double-click didn't work for me.  I did notice, however, that if 
> I bring up the system menu, wait a few seconds, and *then* double-click, it closes.  
> So maybe that's why I have to triple-click?  One to bring up the menu and two to close?  

The double-click action in the menu button needs some support in kwin to work reliably.
As it is currently implemented in most decorations, it may or it may not work as intended.

The reason is that the first click brings up the menu anyway, and the second click 
could happen on a menu item instead of on the button, for example if the window titlebar
is near enough to the bottom of the screen.

Luciano

Comment 6 Sandro Giessl 2004-07-30 21:46:19 UTC
This has probably been fixed some time ago with Luciano's popup menu improvements. Please reopen if the bug is still present in KDE 3.3.