! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
clicking on panel icon should hide window when showing
Status:
CLOSED: FIXED
Severity:
enhancement
Product:
Xfce4-weather-plugin
Component:
General

Comments

Description grepper 2012-05-01 08:52:21 CEST
If you click on the weather plugin icon in the panel when the 'Weather Update' window is open, it will do nothing.  I would expect it to hide the icon.  This would seem to be a usabiliy 'standard' these days, though I haven't exactly researched this.  A model for this would be the date time plugin, where the calendar will show, then hide on subsequent click.

Many thanks for your work.
grepper
Comment 1 Harald Judt 2012-05-21 13:42:08 CEST
Created attachment 4443 
xfce4-weather-plugin-forecast-toggle-open-close.patch

When the forecast window is shown and has the focus, a second click on the panel plugin will close it. The window can still be closed by clicking on the dialog or the window manager decoration close button.

When it is shown but does not have the focus, bring it to the front instead of closing it.
Comment 2 grepper 2012-05-22 08:06:43 CEST
I tested it and it works great for me.  Thanks so much.

I don't know whether this is appropriate here, but I created an 'unofficial' debian package (debian sid) from the original debian source for my personal use:
http://phebehouse.dyndns.org/xfce4-weather-plugin_0.7.4-3+grepper_i386.deb
so anyone using debian sid (possibly debian 'testing' too) could try it if they wish.

all the best,
grepper
Comment 3 Harald Judt 2012-07-02 12:47:23 CEST
Fixed differently (only toggle show/hide, no activate) in http://git.xfce.org/panel-plugins/xfce4-weather-plugin/commit/?id=78eb3300efe9ce0cc7246c5fe84800a143ae1842, this way it's a bit better to use for focus-follows-mouse users.

Bug #8805

Reported by:
grepper
Reported on: 2012-05-01
Last modified on: 2012-07-23

People

Assignee:
Harald Judt
CC List:
2 users

Version

Attachments

Additional information