Bug 356519 - Clicking the kalarm icon to restore/minimize doesn't work
Summary: Clicking the kalarm icon to restore/minimize doesn't work
Status: CLOSED FIXED
Alias: None
Product: kalarm
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: David Jarvie
URL:
Keywords:
Depends on: 358589
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-11 16:49 UTC by David Rosenstrauch
Modified: 2020-08-17 23:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: KDE Frameworks 5.21.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Rosenstrauch 2015-12-11 16:49:59 UTC
Prior to KDE 15.08 kalarm used to have a nice feature, whereby if you clicked on the kalarm icon in the system tray it would either open the kalarm GUI window (i.e., the "restore" function) or, if the window was already open, it would hide the GUI window (the "minimize" function).

Since 15.08, this no longer works.  The "minimize" and "restore" functionalities are available as menu items when you right-click on the kalarm icon, but the ability to just toggle the kalarm window open and closed by clicking on the icon no longer exists.

Would love to see this behavior restored, as it was extremely convenient

Reproducible: Always

Steps to Reproduce:
Click on the kalarm icon in the system tray.

Actual Results:  
Nothing happens.

Expected Results:  
Repeated clicks on the icon should (and used to) alternate between showing and hiding the kalarm GUI window.  (I.e., "restoring" and "minimizing".)
Comment 1 David Jarvie 2016-01-15 00:15:55 UTC
Which desktop are you using? This worked for me when I tried it under a KDE4 desktop.
Comment 2 David Rosenstrauch 2016-01-15 00:24:43 UTC
XFCE
Comment 3 David Jarvie 2016-01-16 00:00:31 UTC
Is it true that clicking on the system tray icon worked under XFCE for a KAlarm version earlier than 15.08? If so, what was the last version which worked?
Comment 4 David Rosenstrauch 2016-01-17 00:06:22 UTC
It is true.  (I wouldn't have said so otherwise.)

Last working version looks like maybe 4.14.10.
Comment 5 David Jarvie 2016-01-26 12:56:05 UTC
Under XFCE, KStatusNotifierItem in the KNotifications framework library (version 5.17) doesn't see the mouse click on the system tray icon, and therefore doesn't pass the click to KAlarm, which therefore doesn't know to show/hide its main window. Version 4.14 of the same class does see the mouse click. The reason for KNotifications framework no longer seeing the click under XFCE needs investigation.
Comment 6 David Jarvie 2016-01-26 13:38:15 UTC
I've raised this as a bug against the KNotifications framework: https://bugs.kde.org/show_bug.cgi?id=358589.
Comment 7 David Jarvie 2016-04-09 12:24:58 UTC
This has now been fixed. The fix is in KDE Frameworks, not in KAlarm. To get a working version, you need to install KDE Frameworks 5.21.0 or later.