mojira.dev
MC-300856

I-beam cursor in book signing screen has wrong color

In the book signing screen, the I-beam cursor for the title field (the one that appears when it lies in the middle of the text) is too light.

Reproduction

  1. Get a Book and Quill

  2. Press “Sign”

  3. Insert some text in the title field

  4. Move the insertion cursor to the left

Expected behavior: The cursor is black.

Actual behavior: The cursor is light gray.

Code analysis (1.21.8, Yarn 1.21.8+build.1)

In TextFieldWidget#renderWidget, the call to DrawContext#fill that draws the I-beam has the color hardcoded to 0xFFD0D0D0.

Environment

OS: Linux (EndeavourOS, kernel 6.15.8-arch1-1)
Java version: openjdk 21.0.8 2025-07-15

Attachments

Comments 0

No comments.

+merlan #flirora

bl4ckscor3

Confirmed

Platform

Important

UI

1.21.8, 25w32a

25w34a

Retrieved