Description of problem: If one clicks to time on the scim systray icon then a new menu appears rather than the menu brought up by the first click disappearing. How reproducible: every time Steps to Reproduce: 1. click on systray icon to bring up factory (button1) or command menu (button3). 2. click on systray icon again. Actual results: 1. menu appears 2. old menu disappears and new menu appears Expected results: 2. old menu to disappear Additional info: This works correctly from the scim toolbar.
Ok, I will create it as soon as possible.
I created a patch and built it through brew already.
Thanks for the quick patch. I tested it: Case 1. 1) click on tray icon 2) click on tray icon again with same button -works well and the menu disappears but Case 2. 1) click on tray icon 2) click elsewhere (eg on desktop root or other part of panel) 3) click on tray icon again with same button -menu does not appear until one extra click on the tray icon is made. (Also don't forget to apply the patch in the spec file for it work. :)
Yeah, I noticed it already. And I just modified the patch and committed the new patch to cvs and then built it.
Thanks! Looking good now.
I think the patch is probably too keen though in the case when one menu is up if one clicks another mouse button the other menu is mapped directly. I think it should just unmap the current menu in this case like other gnome panel applets do.
Committed updated fix from qwang.
working for latest build: tested with following version scim-1.4.4-32.fc6