pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] systray icon, woohoo! =:^)


From: Duncan
Subject: Re: [Pan-users] systray icon, woohoo! =:^)
Date: Fri, 25 Nov 2011 14:25:04 +0000 (UTC)
User-agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 51ee292 /st/portage/src/egit-src/pan2)

Heinrich Mueller posted on Fri, 25 Nov 2011 10:35:30 +0100 as excerpted:

> I'll update it when I have the time.

I figured out why it seemed to only toggle-window-off some of the time:

1) When pan's the focused app and the tray icon is (primary/left) 
clicked, it minimizes to tray (as expected).

2) When pan's NOT the focused app (but the pan window is showing), 
clicking the icon does nothing, not even raise and focus the window.

Since I have a docked superkaramba system monitoring window up beside the 
systray in the plasma-panel, and I have focus-follows-mouse focus policy, 
quite frequently on my way to the tray, the superkaramba window will 
focus, thus causing whatever else had focus to lose it.  That's in 
addition to whatever apps I had under the top panels on my the top 
monitor (my "aux" display, the main-working display, thus the one with 
the main window I'm usually working in, including pan, is the bottom one) 
By the time I get to the tray, therefore, it's unusual for whatever I was 
previously focused on to still have the focus.

Which means pan was generally unfocused by the time I got to the tray, 
and it wouldn't close as expected when I clicked the tray icon.

Now that I figured out what's happening, however, I believe it'd be 
better if when pan wasn't focused but was displayed, (primary) clicking 
the tray icon would raise and focus it, while clicking on the tray icon 
with a focused pan would hide it, and clicking it with pan hidden would 
unhide it.

Thus, to hide an unfocused but shown pan would take two clicks, one to 
focus and raise, one to hide.

Alternatively, simply have pan ignore focus when the tray icon is 
clicked, hiding the window if shown, showing and focusing it if in-tray-
only.

Either way works.  But the current behavior, ignoring clicks when the pan 
window is shown but not focused, is simply frustrating (if understandable 
this early in the game, the commit /did/ say "rough").

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




reply via email to

[Prev in Thread] Current Thread [Next in Thread]