Ticket #44177

Qt: Tile pop-up doesn't go away sometimes

Open Date: 2022-03-25 05:46 Last Update: 2022-10-30 03:26

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

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.

Ticket History (3/8 Histories)

2022-03-25 05:46 Updated by: ddeanbrown
  • New Ticket "Tile pop-up doesn't go away sometimes" created
2022-04-09 17:22 Updated by: cazfi
Comment

Similar problem has been reported as https://www.hostedredmine.com/issues/733921

2022-07-19 16:35 Updated by: cazfi
  • Summary Updated
2022-10-08 22:30 Updated by: cazfi
Comment

Should at least try to debug this during 3.0.5 cycle.

2022-10-24 00:50 Updated by: cazfi
Comment

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.

2022-10-24 01:12 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
Comment

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.

2022-10-30 03:26 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login