[Bug] Room window ignores its font and colour settings and the roomdesc preset (Genie 4 regression)

Open
#424 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 5 days

@dylb0t is already working on this.

Since Nov 13, 2026.

  • #489 by @dylb0t — open

Assessment

This issue has not been assessed yet.

Description

area:highlighting area:ui-dock bug est:1-2d P2

What happened

The Room window doesn't look like the Game window. It ignores its own font, size and colour settings and the roomdesc preset:

  • Font: always the UI font. The game font and the window's Font setting aren't used.
  • Size: the title uses the UI default, and every other field is hardcoded to size 11.
  • Colours: the description, exits, players and objects use fixed theme colours (exits in the accent colour, players in green). The window's colour settings and the roomdesc preset aren't used.

https://github.com/GenieClient/Genie5/blob/4a6de10/src/Genie.App/App.axaml#L479-L515

RoomTool takes only the title from its window settings:

https://github.com/GenieClient/Genie5/blob/4a6de10/src/Genie.App/Docking/RoomTool.cs#L7-L12

Why

When the title was given the roomname preset (317be05, #174), only the title got one. The comment added with it says the other fields have no preset in Genie 4:

https://github.com/GenieClient/Genie5/blob/4a6de10/src/Genie.App/ViewModels/RoomViewModel.cs#L67-L73

That isn't right. Genie 4's UpdateRoom prints the description in the roomdesc preset:

https://github.com/GenieClient/Genie4/blob/f41a5a89728719fef3b4a0896241c840aef80989/Core/Game.cs#L926-L985

What you expected

As in Genie 4, the room snapshot is drawn with the window's font, size and colours:

  • the title in roomname;
  • the description in roomdesc;
  • objects, players and exits in the window's text colour.

The Room window's special stream is correct and should stay. Genie 4 also redraws Room as a snapshot of the current room (title, description, objects, players, exits) rather than appending to it like the other windows. This issue is only about how that snapshot is drawn.

Environment

  • OS + version: Ubuntu 24.04 arm64
  • Genie 5 version: 5.0.0-beta.9.10.1 + 4a6de10 (source build)
Dominant language
C#
Stars
2
Forks
5
Avg merge
4d 3h
Merged PRs (30d)
22

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenieClient/Genie5

All issues in GenieClient/Genie5

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.