User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:18.104.22.168) Gecko/20070723 Iceweasel/22.214.171.124 (Debian-126.96.36.199-0etch1)
When you click on the datetime plugin to open the calender, and then clock somewhere else, the calender does not close. You need to click again on the panel plugin to close it. This defies my expectations, and is unexpected behavior.
Steps to Reproduce:
1. Open datetime calender
2. Try to close calender by moving focus
Nothing happens; calender stays.
Close the calender.
I'm using version 0.5.0 of the datetime plugin, Xfce 4.4.1, and GTK+ 2.10.13.
I'd rather see this as a feature.
If the calendar closes by losing focus, I expect it to show when the plugin _gets_ focus. Which is unwanted behaviour in my opinion.
(In reply to comment #1)
> I'd rather see this as a feature.
> If the calendar closes by losing focus, I expect it to show when the plugin
> _gets_ focus. Which is unwanted behaviour in my opinion.
I've thought about it, and yeah, I agree that closeing when losing focus is a bad idea. However, I've taken the liberty of reopening this bug (sorry if it's just wasting your time), because it would be nice to use a GtkToggleButton to give the user feedback about how to close it. I know the GNOME time plugin does this, and it's rather nice for a new user to be given some hint like that.
Created attachment 1612
Implements GtkToggleButton in panel
I thought I'd try your idea out. I like it, personally.
I'm now the maintainer of datetime, so my opinion actually matters now :)
svn trunk includes this change.