Bug 176545

Summary: Unhideable notification in KDE4
Product: [Unmaintained] plasma4 Reporter: Zsolt Durvanger <drvanger>
Component: widget-systemtrayAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aseigo, finex, rob
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: a screenshot

Description Zsolt Durvanger 2008-11-30 16:09:14 UTC
Version:            (using Devel)
Compiler:          GCC 4.3.1 
OS:                Linux
Installed from:    Compiled sources

I clicked to an icon in the system tray (I don't know which), and a notification appeared ("No notifications and no jobs"), and I can't hide it. ( clicked to it, I tried to move it, but it didn't hide.
Comment 1 Zsolt Durvanger 2008-11-30 16:09:46 UTC
Created attachment 28951 [details]
a screenshot
Comment 2 FiNeX 2008-11-30 17:05:11 UTC
I can show/hide that message clicking between icons on the system tray. Anyway is not easy to do.
Comment 3 Zsolt Durvanger 2008-11-30 17:09:11 UTC
Oh, it works :P Thank you :)
Comment 4 FiNeX 2008-11-30 20:27:55 UTC
Are you agree on closing this bug as worksforme?
Comment 5 Zsolt Durvanger 2008-11-30 20:35:21 UTC
OK, but I think it isn't a real solution :) I think the notification should close when I clock on it, or when I click anywhere in the screen. Or it should have a close button in the corner. 
Comment 6 FiNeX 2008-11-30 20:36:20 UTC
I'm reopening because it is not easy to understand the actual behaviour.

Maybe the notification icon should be ever visible so user can correctly identify where they can click.
Comment 7 FiNeX 2008-11-30 20:37:46 UTC
@Zsolt: lol, while I was reopening this bug you were answering :-)

What do you think about my idea on comment #5?
Comment 8 Zsolt Durvanger 2008-11-30 20:39:11 UTC
It would be a good solution too :) 
Comment 9 Aaron J. Seigo 2008-12-01 01:08:53 UTC
Rob was going to make extenders not show contents when clicked if the extender is empty. I'm not sure what the status on that is, so I'm CC'ing him on this BR =)
Comment 10 Rob Scheepmaker 2008-12-01 17:25:39 UTC
Actually this bug indicates 2 problems:
* Clicking anywhere in the systemtray outside an icon opens the popup, which means you can accidentally open the popup while trying to click an icon. This behavior is inherited by PopupApplet, but should be suppressed in the systemtray I think, because it doesn't really make sense there. 
* Clicking an empty extender should close it's popup.

I'll try to fix both problems now.
Comment 11 Rob Scheepmaker 2008-12-01 19:30:44 UTC
SVN commit 891328 by scheepmaker:

Couple of fixes:
* Close empty extender when clicking in it.
BUG:176545
* Saner size policy for Plasma::Meter. (the height should never be able to be smaller then svg's height because labels could otherwise overlap, actually, the whole current approach doesn't consider font size, I think we should think of a better approach for 4.3)
* Use the same spacer as used in the panel for extenders. I think we would want some svg themable shared spacer widget for 4.3, but at least this adds some consistency.



 M  +40 -2     extender.cpp  
 M  +5 -0      extender.h  
 M  +2 -1      private/extender_p.h  
 M  +2 -2      widgets/meter.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=891328