Reported by jteh on 2008-07-29 22:23
The NVDA menu is always popped up at the current mouse position. This is fine if the NVDA system tray icon is clicked to activate the menu, as the mouse is always positioned over the icon in this case. The same applies if the user presses the applications key or shift+f10 on the icon, as Windows moves the mouse. However, if NVDA+n is pressed, the NVDA menu is popped up wherever the mouse is located, which could be anywhere on the screen. This is unpredictable and potentially confusing behaviour.
The text was updated successfully, but these errors were encountered:
Comment 1 by jteh on 2008-08-06 13:00
Unfortunately, it is very difficult to find the location of a specific system tray icon. Windows doesn't seem to provide functions to do this. Other applications do manage it, but I'm not entirely sure how. They probably iterate through the icons looking for a matching icon or similar. Also, wx doesn't provide access to the underlying system tray icon data and window, so we would need to write our own system tray class.
Even worse, wx doesn't provide a way to bring up a system tray icon menu anywhere except the current location of the mouse, so we have to move the mouse if we want it to appear in a different location.
As of r2339, activating the NVDA menu other than by clicking on the system tray icon (e.g. by pressing NVDA+n) will move the mouse to the centre of the screen first, thus causing the menu to appear there.
Changed title from "NVDA menu should always pop up at position of system tray icon" to "NVDA menu should always pop up at a predictable location"