[Freeciv-tickets] [freeciv] #44177: Qt: Tile pop-up doesn't go away sometimes

Back to archive index
OSDN Ticket System norep****@osdn*****
Mon Oct 24 00:50:43 JST 2022


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

  Open Date: 2022-03-24 22:46
Last Update: 2022-10-23 18:50

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/44177
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44177

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-10-23 18: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.


---------------------------------------------------------------------
Ticket Status:

      Reporter: ddeanbrown
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.0.5
     Component: Qt-client
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket 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 information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/44177
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44177



More information about the Freeciv-tickets mailing list
Back to archive index