Gnome Calculator number entry line unreadable

When I type in more than a few numbers, the display becomes unreadable because the number entry row is reduced in height. When I enter a large number of figures they disappear completely and only the scroll bar shows.

It applies in all the formats, Basic/Advanced etc except Conversion which is a completely different layout. It applies however big the window is.

Fedora 43Beta, Gnome Calculator v49.1 Applies to the RPM and both the Flathub and Fedora Flatpaks. My system is up-to-date.

I haven’t changed anything in Calculator preferences. I don’t think I’ve changed a Fedora theme if there is such a thing. I have deleted ~/config/gtk-4.0/gtk.css so it’s not that. There is no problem with any other software I use. It’s OK if I log in as a new user, so it must be something to do with my setup. Is there anything else I can try? The only relevant file I can find contains currency information.

ChatGPT suggested it might be related to a theme regression, whatever that means, and suggested among other things adding this to the style sheet:

entry, textview, text {
min-height: 1.2em;
padding-top: 2px;
padding-bottom: 2px;
}

and I reduced the slider height with:

min-height: 6px;         /* Adjusts the height for horizontal scrollbars */

That’s fixed it.
[edit] See proper solution below.

This is a bug with “Always show scrollbars”. I forwarded this thread to the issue tracker

1 Like

Thank you for a constructive answer. Switching off “Always show scrollbars“ fixes it for me.