View Issue Details

IDProjectCategoryView StatusLast Update
0005282The Dark ModGUIpublic05.07.2026 09:42
Reporterstgatilov Assigned Tocovert_caedes  
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Product VersionTDM 2.08 
Target VersionTDM 2.15 
Summary0005282: Readables look stretched in widescreen modes
DescriptionWith addition of 21:9 aspect ratio this problem has become more visible.
Steps To ReproduceSe 21:9 aspect ratio, start training mission, and read the closest book.
The book is very stretched horizontally.
TagsNo tags attached.

Relationships

related to 0004905 resolvedAluminumHaste Please add support for Ultrawide Resolutions 
has duplicate 0006548 closedstgatilov Frobbed readables stretched and distorted on widescreen resolutions 

Activities

stgatilov

stgatilov

12.12.2021 13:33

administrator   ~0014586

Here is related discussion:
  https://forums.thedarkmod.com/index.php?/topic/20272-x-rays/&do=findComment&comment=467494
It includes some solutions too... hopefully, soon we will have a simple way to fix books =)
stgatilov

stgatilov

14.01.2024 10:35

administrator   ~0016369

Patches to workaround the issue are provided here:
  https://forums.thedarkmod.com/index.php?/topic/22325-i-made-a-fix-for-ui-display-for-non-169-resolution/
Bikerdude

Bikerdude

26.08.2024 18:39

reporter   ~0016814

@stgatilov, thanks for looking into this fella!
stgatilov

stgatilov

05.07.2026 09:40

administrator   ~0017340

In the end, @covert_caedes ported "anchors" system from dhewm3 (and transitively from CstDoom):
  https://github.com/dhewm/dhewm3/blob/master/docs/GUIs.md

The public feedback is here:
  https://forums.thedarkmod.com/index.php?/topic/23188-better-gui-on-non-169-resolutions/
The internal technical discussion is here:
  https://forums.thedarkmod.com/index.php?/topic/23093-gui-anchors-from-dhewm3/

The SVN commits:
  r11339 Allow GUI scripts to do debug printing to the console
  r11340 Fix FOV calculation when window has been resized by OS
  r11341 Merge UI stuff from dhewm3, mostly for CST Anchored GUIs
  r11342 Add cstAssumes16_9 window variable
  r11343 Fix gui::cst* variables not working in non-menu fullscreen GUIs
  r11344 idWindow::FixupParms(): Detect and warn about missing _cst_anchor.pd
  r11345 Fix xray-glasses with "simple" windowDefs
  r11346 Turn cstAssumes16_9 into integer with additional mode
  r17565 Update GUIs to use CST anchors so they're independent of the screen aspect ratio

Somewhat related but independent changes:
  r11337 Support opening the console with Shift+Esc
  r11338 Add CVAR_ARCHIVE to com_allowConsole
  r11347 Window Icon for Linux
  r11348 replaced "??" with "?\077" in icon headers

Issue History

Date Modified Username Field Change
28.06.2020 04:09 stgatilov New Issue
28.06.2020 04:09 stgatilov Status new => assigned
28.06.2020 04:09 stgatilov Assigned To => AluminumHaste
28.06.2020 04:09 stgatilov Relationship added related to 0004905
17.12.2020 02:33 nbohr1more Target Version TDM 2.09 => TDM 2.10
29.03.2021 19:44 AluminumHaste Assigned To AluminumHaste => stgatilov
29.03.2021 19:44 AluminumHaste Assigned To stgatilov =>
22.11.2021 14:04 stgatilov Target Version TDM 2.10 => TDM 2.11
22.11.2021 14:04 stgatilov Severity normal => minor
12.12.2021 13:33 stgatilov Note Added: 0014586
24.12.2022 10:28 Dragofer Status assigned => acknowledged
25.12.2022 13:15 stgatilov Target Version TDM 2.11 => TDM 2.12
05.12.2023 01:43 nbohr1more Target Version TDM 2.12 => TDM 2.13
14.01.2024 10:35 stgatilov Note Added: 0016369
27.06.2024 22:14 nbohr1more Relationship added has duplicate 0006548
26.08.2024 18:39 Bikerdude Note Added: 0016814
08.01.2025 03:34 nbohr1more Target Version TDM 2.13 => TDM 2.14
12.03.2026 21:49 stgatilov Target Version TDM 2.14 => TDM 2.15
05.07.2026 09:40 stgatilov Note Added: 0017340
05.07.2026 09:42 stgatilov Assigned To => covert_caedes
05.07.2026 09:42 stgatilov Status acknowledged => assigned
05.07.2026 09:42 stgatilov Status assigned => feedback