Bug 72816 - clicking systray icon should hide popup menu
Summary: clicking systray icon should hide popup menu
Status: RESOLVED FIXED
Alias: None
Product: kwikdisk
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michael Kropfberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-17 15:53 UTC by Dik Takken
Modified: 2007-01-16 20:43 UTC (History)
2 users (show)

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


Attachments
A patch to make a second click on the icon hide the menu (2.83 KB, patch)
2004-06-13 01:09 UTC, James Ots
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dik Takken 2004-01-17 15:53:10 UTC
Version:            (using KDE KDE 3.1.94)
Installed from:    Compiled From Sources
OS:          Linux

When you click on the systray icon, the popup menu appears. When you click it again, it should hide the menu.
Comment 1 Tom Felker 2004-03-20 05:47:25 UTC
I assume by "the systray icon" you mean the klipper icon in the systray.

I have an even worse problem with this (KDE 3.2.1).  If you click the klipper icon a few times in a row quickly, it can leaves the mouse grabbed, meaning that no matter where on the screen you click, including in the popup window, nothing happens.  You can usually get out of this by pressing Esc.
Comment 2 James Ots 2004-06-13 01:09:47 UTC
Created attachment 6339 [details]
A patch to make a second click on the icon hide the menu

Once the popup menu has popped up, clicking anywhere else (including on the
icon) hides it. However, if the user click on the icon to hide the menu, it
immediately pops up again.

This patch works by starting a timer when the menu is hidden, and when the user
clicks on the icon it checks whether more than 300ms have elapsed since. If
it's less than that we don't show the menu again.

Can I commit this?
Comment 3 James Ots 2004-06-14 00:38:34 UTC
Just realised that the original bug report was for kwikdisk and not klipper as assumed in comment #1. My patch is for klipper, not kwikdisk, although I'm sure a similar change would work for kwikdisk.
Comment 4 Thilo Bangert 2004-12-09 23:29:01 UTC
well, what is this bug about?

James: if your patch is still not applied and it fixes a still present in a current version of kde, could you open a separate bug report concerning this?
thanks

also, i cannot confirm the original bugreport. seems fixed in kde-3.3.1...
best regards
thilo
Comment 5 Maciej Pilichowski 2006-11-29 12:54:22 UTC
This is fixed for Klipper and for Kwikdisk as well. Could someone could close this report?
Comment 6 Dik Takken 2006-11-29 18:13:44 UTC
Fixed indeed. Closing bug.
Comment 7 Urs Wolfer 2007-01-16 20:43:54 UTC
*** Bug 138084 has been marked as a duplicate of this bug. ***