Page MenuHomeFeedback Tracker

[UI] Inconsisten behaviour of mouse events in map views
Confirmed Internally, NormalPublic

Description

It seems that the UI overlay on map views are generally quite ignored in favor of the actual map controls, even if the UI is "on top of" the map.

A good example is a right click - it doesn't matter where you click (entity browser, tutorial hints, weather settings), the map context menu will always be displayed.
Another example is a mouse wheel - when in map (and game master mode), the mouse scroll will always initiate map zoom, even when the mouse is positioned over a scrollable entity browser. And here the entity browser actually DOES scroll, but so does the map.

It's not a big deal, but could mess up some future mods that would like to implement more complex UI for map screens.

Details

Severity
Trivial
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General
Steps To Reproduce

Just right click on anything that is not a map in map view.

Map zooming

  1. Start game in a Game Master mode
    1. Open map
    2. Mouse over the Entity Browser widget at the bottom of the screen
    3. Scroll your mouse in an attempt to scroll through the available entities

Expected result

  • Entities section will be scrolled through

Actual result

  • Entities section will be scrolled through AND the map will be zoomed in/out

Right click not registered (Game Master Map)

  1. Start game in a Game Master mode
    1. Open map
    2. Right click on any UI element

Expected result

  • Either some context menu related to the UI element... or nothing

Actual result

  • Context menu for map that it BEHIND the UI element

Right click not registered (Agent Map)

  1. Start game in a normal game mode, spawn as any soldier
    1. Open map
    2. Right click on any UI, compass, watch, etc.

Expected result

  • Either some context menu related to the UI element... or nothing

Actual result

  • Radial menu for commanding/markers will appear
Additional Information


Event Timeline

Myshaak created this task.Feb 27 2024, 4:46 PM
Geez changed the task status from New to Awaiting internal Testing.Feb 28 2024, 12:14 PM
Geez changed the task status from Awaiting internal Testing to Confirmed Internally.Mon, May 6, 4:24 PM