pacmanager icon indicating copy to clipboard operation
pacmanager copied to clipboard

Window focus issues with Mint 17

Open maroc81 opened this issue 8 years ago • 2 comments

PAC has a problem on Linux Mint 17 where opening a connection results in the window staying on top. Minimizing, resizing, or unmaximizing fixes it until you open a new connection. I tracked the problem down to this line in PACMain _showConnectionsList:

$$self{_GUI}{main} -> present_with_time( time );

Changing it to use present() or present_with_time(0) or even present_with_time(time % 1000) fixed the issue. This must be a bug in Mint's gtk libraries or some other weird issue.

maroc81 avatar Jun 28 '16 04:06 maroc81

This fixed the issue for me and for others here on SF. I have also tested on Xubuntu which was not affected by the BUG and didn't notice any side effects.

What do you think @perseo22 ? can we have this fix included?

Lupul avatar Nov 14 '16 11:11 Lupul

I can confirm this is still an issue on Linux Mint 18 with cinnamon. It must be something specific to the cinnamon gtk libraries or perl wrapper but I haven't tried tracking it down.

It does look like @perseo22 included this change in a recent commit: https://github.com/perseo22/pacmanager/commit/7473635787060667ea15fb8e0b28eb400be2a082

maroc81 avatar Jan 17 '17 16:01 maroc81