Skip to content

Mouse coordinates are wrong in crafting menu #86625

@Anrock

Description

@Anrock

Describe the bug

When scaling set to x2 (maybe same for x4) hovering mouse cursor over buttons (top row, recipes, etc) in crafting menu doesn't highlight them and clicking does nothing. But if you move the cursor way to the left and a bit down - buttons will be highlighted and can be clicked.

It seems like that scaling only affects how the menu is drawn but the coordinates of the buttons are still as if the window was the original size and position.

Attach save file

N/A

Steps to reproduce

  1. Set the scaling to x2
  2. Load any save/start new game
  3. Open crafting menu via &
  4. Try to press any button in top row or others

Expected behavior

Widget coordinates should be adjusted with scaling (or mouse coordinates, I don't know how it works)

Screenshots

No response

Versions and configuration

  • OS: Linux
    • OS Version: LSB Version: n/a; Distributor ID: Gentoo; Description: Gentoo Linux; Release: 2.18; Codename: n/a;
  • Game Version: cdda-experimental-2026-04-19-1740 f23e270-dirty [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Portal Storms Ignore NPCs [personal_portal_storms],
    Dark Days of the Dead [classic_zombies],
    Dark Days of the Dead (no deadly virus) [classic_zombies_no_deadly]
    ]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    (S1 - Need confirmation)Report waiting on confirmation of reproducibility

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions