Qt: Tile pop-up doesn't go away sometimes
Similar problem has been reported as https://www.hostedredmine.com/issues/733921
Should at least try to debug this during 3.0.5 cycle.
Reply To ddeanbrown
3.0.0 - qt client only, reported on Mac and linux Center-click on a tile and the tile info pops up, then press any of the modifier keys (shift, control, alt/option, cmd) while the pop up is visible, it then doesn't go away when mouse button is released. It stays up forever, until quitting the app.
The thing there seems to be that Qt-client has configurable modifier key to be used with tile info popups. By default it's 'none'. So it seem deliberate that it doesn't go down when you have some modifier pressed at the time you release the mouse button (Neither does it show up if you press modifier key when you push the mouse button).
What's obviously wrong, is that when you open a new info, it just overwrites pointer to the previous one, and after that we have no means to close the previous one. I'll do minimal fix for that now. If we, e.g., want to mouse release always to popdown the info, regardless of the configured modifier keys, let's do that in a new ticket.
Currently, if you first press modifier key + push down mouse button (due to modifier key does not open a new popup, nor overwrite the old pointer), then release the modifier key, and finally release the mouse button (thus having the "mouse release event without modified key"), the old popup closes. Just be very careful not to have "mouse button down without modifier" before any of this, as it would overwrite the pointer.
Patch suitable even for S2_6. Clears the old popup before a new one is opened.
One possibility for the future changes would be putting open popups in a list, i.e., supporting multiple ones being open simultaneously so that the user could compare infos of different tiles.
3.0.0 - qt client only, reported on Mac and linux
Center-click on a tile and the tile info pops up, then press any of the modifier keys (shift, control, alt/option, cmd) while the pop up is visible, it then doesn't go away when mouse button is released. It stays up forever, until quitting the app.