Item selection in the avatar window not working correctly for large window sizes

Issue

When the inventory window is maximised (independent of the GUI scaling factor) on a high-resolution screen, some parts of the avatar cannot be selected.

Screencast: https://streamable.com/ocqea7

How to reproduce

  1. Choose a high resolution.
  2. Maximise the inventory window.
  3. Move the mouse cursor over the avatar; the coordinates are transformed incorrectly

Answers to the questions

  • Is the problem OpenMW specific or does it also happen in vanilla Morrowind?
    OpenMW specific

  • What is your operating system?
    Fedora 33. GPU/Mesa version is Radeon RX 570 Series (POLARIS10, DRM 3.40.0, 5.12.13-200.fc33.x86_64, LLVM 11.0.0) (0x67df)

  • What version of OpenMW are you using? If you used a bleeding edge build, state the exact revision used.
    Current master, commit 89ca5663

  • What version of Morrowind are you using (i.e. retail CD or Steam)? What addons (Tribunal, Bloodmoon) do you have installed? What language is your Morrowind install?
    German GOTY edition

  • Do you use any mods? If so, does the problem also occur in a clean vanilla install without any mods?
    No mods.

  • Are there any error messages in your openmw.log file?
    No.

Edited by Andreas Stöckel