[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pan-users] Pan doesn't usually minimize to system tray
From: |
David Melik |
Subject: |
Re: [Pan-users] Pan doesn't usually minimize to system tray |
Date: |
Sun, 24 Sep 2017 04:02:51 +0000 (UTC) |
User-agent: |
Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) |
On Sun, 24 Sep 2017 00:47:49 +0000, Duncan wrote:
> Duncan posted on Sat, 23 Sep 2017 19:19:42 +0000 as excerpted:
>
>> 3) For pan's irregular behavior closing the main pan window via tray
>> icon when the window is open, the explanation is simple. It depends on
>> whether that window is active (has focus) or not. If pan's main window
>> has focus,
>> clicking the tray icon will close it. If another window has focus,
>> unfortunately, clicking the tray icon does nothing.
>>
>> This should explain your 5-10% reliability factor. Very likely, pan's
>> active when it works, some other window is active when it doesn't.
>
> Hmm, this is what I concluded when I looked at the problem some years
> ago, but if it ever was correct, it doesn't seem to be entirely correct
> now.
>
> If it was simply focus, with pan's window not shown, simply clicking the
> tray icon twice should show the window and then close it again, and
> while it does show as expected on the first click, the second doesn't
> hide it again. That despite the fact that if I hit tab, I can see the
> focus indicator change in the pan window, so it obviously has focus.
>
> In fact, I can't seem to make the pan window close from the tray icon
> now at all, 100% broken, tho as you (OP) indicate, it did used to work a
> small share of the time.
>
> That is very likely due to kwin changes between the kwin I was running
> back then (presumably some kde4 or even kde3 version) and the current
> kwin (live-git version) in plasma5, possibly coupled with the fact that
> my systray is on a plasma popout (aka autohide) panel, that pops out
> over an always running superkaramba system monitor window at the bottom
> right 1/6 of my monitor (bottom half, right third, 1280x1080 px, 1/6 of
> the 4K 3840x2160 resolution), while with no other windows open, pan
> opens up at the top left (with a window rule also creating it at 1/6,
> 1280x1080, size).
>
> So here at least, the close-to-tray-icon functionality has gone from
> unreliable, to as best I can tell, 100% reliably broken, doesn't work at
> all.
>
> Of course that doesn't change the problem, or that I'd be thrilled if
> someone with the necessary coding skills could provide a patch to make
> it work properly. =:^)
I found out why it works sometimes. You can't maximize Pan, or it won't
work. The only thing is focused, non-maximized, then selecting the icon
in the system tray, not actually selecting to minimize. :(