Synergy-core: Windows system tray icon with connection status

Created on 15 Jun 2015  路  8Comments  路  Source: symless/synergy-core

I relay on the Synergy icon on the menu bar in Mac OS X and on the panel in Linux Xfce to show me whether or not Synergy is connected. Apparently, the default in Synergy for Windows is not to show the Synergy icon in the Windows system tray. Could you please enable the option to show the Synergy icon in the Windows system tray?

Thank you.

enhancement stale

Most helpful comment

In Windows, Window > Hide and clicking on X should have the same behavior.

All 8 comments

@rjrich
It is a good idea. I did a brief research about how to implement it in Qt. It seems impossible.

Any suggestion?

@XinyuHou - actually, the systray icon already does appear when the GUI is open. The problem is that the GUI process terminates when closing the window with the X. If I use Window -> Hide, it remains. So, I think we should have an option which the user can switch. This should make the behavior of the X button conditional. If option is set, it will do Hide. If it is not set, it will do Close.

This is a short term fix. In the longer term, there should be a systray icon which is not dependent on the GUI. Synergyc and Synergys already have this built-in, it's just turned off by default because the GUI issues --no-tray when spawning these processes. We could make this optional. This may even be easier and make more sense than my first suggestion.

Feel free to chat with me about this if you'd like to go into further detail.

I think I misunderstood what @rjrich meant.

If I remember it correctly, press X button did hide the GUI. But with some reasons, we switched it to close. Can't remember exactly why?

the-wes wrote:

The problem is that the GUI process terminates when closing the window with the X.
If I use Window -> Hide, it remains. So, I think we should have an option which the user can switch.

Thanks for that simple note about how to force the tray icon to remain. I have long thought the tray icon should appear in the Windows version and didn't know why it didn't.

XinyuHou wrote:

If I remember it correctly, press X button did hide the GUI.
But with some reasons, we switched it to close. Can't remember exactly why?

I think it has been a good number of years since the Windows version displayed a working system tray icon. This isn't caused by a recent change in the code, but dates back to old, old code work. Before the current team of coders even started working on synergy, I think.

Yes this used to always work in Windows until recent years. Nowadays there seems like a total disconnect between the Synergy Client and the Synergy Service on Windows.

For instance I currently have a functioning Synergy connection between my Windows XP workstation and Mac OS X 10.9. However I have no system tray for Synergy. The Mac status bar shows the Synergy icon with the green check.

If I open the Synergy Client on Windows XP, it acts like it's not connected. I can press Start. But this makes no sense because it is already running as a server/service and connected to the Mac OS X client. Furthermore, the system tray icon does not display the green check on Windows, even though it does on the Mac OS X client.

Ideally the software would be redesigned so this scenario is never possible. Synergy UI should always indicate the correct status of an existing connection.

In Windows, Window > Hide and clicking on X should have the same behavior.

Not to mention if hidden double clicking the system tray should show the client ui window as well.

So close (and/or minimize) should hide the window to sys tray, and double click should show the window.

cry

Was this page helpful?
0 / 5 - 0 ratings