salvadorbs / Asuite

ASuite is a simple open source portable launcher for Microsoft Windows.
http://www.salvadorsoftware.com/asuite
GNU General Public License v3.0
98 stars 14 forks source link

[2.1.0.1539] Show Window on double click instead of graphic menu #137

Closed megabugman closed 2 years ago

megabugman commented 3 years ago

I have this settings: image

left clicking slowly on the icon toggles (show/hide) the graphics menu. when left fast clicking the "show window" command is executed.

salvadorbs commented 2 years ago

It is the default Windows behavior. If you quickly double click on the icon, the ASuite window will always be shown (even if you have set no action on left click). I really don't think it is possible to change this aspect.

salvadorbs commented 2 years ago

It does not matter. I'm stupid. The double-click action is set by hardcode.

Unfortunately, differentiating the double click from the single click via code is quite difficult and I don't think there is any real gain. So I decided to disable the double click command on the trayicon, except in the case in which the user has NOT selected any action on the clicks (left, middle and right) on the trayicon (rare case, but possible).