Wesnoth: When "Point of view" is "Full map", can't view descriptions of would-be shrouded enemy units

Created on 4 Nov 2018  Â·  6Comments  Â·  Source: wesnoth/wesnoth

During replay of a scenario that has an enemy unit under shroud, change "Point of view" to "Full map". The enemy unit is then shown, but the d hotkey ("Unit Description") does not work on it. This is because https://github.com/wesnoth/wesnoth/blob/64cb83d4579f7ba7cbfd9832ce1c511e2c02ea0d/src/hotkey/hotkey_handler.cpp#L360-L361 calls https://github.com/wesnoth/wesnoth/blob/64cb83d4579f7ba7cbfd9832ce1c511e2c02ea0d/src/menu_events.cpp#L635-L645 which does not pass see_all=true.

Bug Good first issue In-progress Replays UI

All 6 comments

I think this might also affect the time of day graphic, when the mouse is over a hex that has a custom tod schedule.

Just for information, there are two more places not involved with replays, where one "can't view descriptions of would-be shrouded enemy units":

  • you played an MP game, the game is over and the map uncovered – you see now all units, but hotkeys don't work on previously shrouded ones
  • you host a game networked game with shroud, but don't play yourself. As host you can see the whole map, but not the description of all units.

you played an MP game, the game is over and the map uncovered – you see now all units, but hotkeys don't work on previously shrouded ones

Didn't test this one.

you host a game networked game with shroud, but don't play yourself. As host you can see the whole map, but not the description of all units.

4119 doesn't fix this, but I'd still like to merge it since it fixes another form of the bug.

you played an MP game, the game is over and the map uncovered – you see now all units, but hotkeys don't work on previously shrouded ones

https://github.com/wesnoth/wesnoth/pull/4119/commits/37b813bec4aa81cd86fa7ea154c51f45c7d2ffbc should fix this. I don't know if it fixes the issue with a non-playing host in MP games.

It does!

I also confirm this is present in 1.14.7 and resolved in 1.14.8+dev.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ProditorMagnus picture ProditorMagnus  Â·  4Comments

ProditorMagnus picture ProditorMagnus  Â·  11Comments

stevecotton picture stevecotton  Â·  5Comments

Wedge009 picture Wedge009  Â·  7Comments

stevecotton picture stevecotton  Â·  8Comments