[Bug] Room window ignores its font and colour settings and the roomdesc preset (Genie 4 regression)
Maintainers usually reply within 5 days
Assessment
This issue has not been assessed yet.
Description
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
roomdescpreset 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:
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
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GenieClient/Genie5
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
GenieClient/Genie5#496 ·
Maintainers usually reply within 5 days
-
enhancement g4-regression
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
GenieClient/Genie5#494 ·
Maintainers usually reply within 5 days
-
area:ui-dock enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
GenieClient/Genie5#462 ·
Maintainers usually reply within 5 days
-
area:mapper bug est:<1d P2
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
GenieClient/Genie5#449 · 1 comment ·
Maintainers usually reply within 5 days
-
[Bug] Maps ▸ Update from Official Repo / Repair Maps give no notification of success or failurePossibly taken A pull request linked to this issue is open or already merged. Openarea:mapper area:updater bug est:<1d P3
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
GenieClient/Genie5#423 · 1 assignee ·
Maintainers usually reply within 5 days
All issues in GenieClient/Genie5
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SubtitleEdit/subtitleedit#17351 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
elsa-workflows/elsa-foundation#6384 ·
Maintainers usually reply within 1 day
-
documentation good first issue kind:task level:starter size:s
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Arggon/ArggonStores#66 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
[Tool] MockAPIOpenhas-image has-license has-readme new-tool ready-to-approve repo-verified
Difficulty 1/5 Under an hour Newbie friendliness 72/100
shanselman/TinyToolTown#956 ·
Maintainers usually reply within 2 days