huge cursor in Text tool (trying to add text on .XCF created by Windows GIMP)
GIMP version: 2.10.10 under Windows, 2.10.14-2ubuntu1 under Ubuntu 20.04 dev.branch
Operating System: Windows for original .xcf creation, Linux for its further processing
Package: .deb from Ubuntu Focal repository, https://packages.ubuntu.com/focal/gimp
Description of the bug
First, I created an .xcf with GIMP 2.10.10 under Windows which contained 2 layers and a layer mask on one of them. I saved it and opened on Linux with GIMP 2.10.14. ceu-000.xcf There, I tried to add a text layer to this image. After I draw the rectangle, I type some text into it. On typing the first letter, I see a huge I-beam text cursor, orange colored, with black borders, extending deeply down far beyond the bottom of the picture.
After typing second and any more letters, this huge cursor disappears. On hitting Backspace, I can see this huge cursor again when I know there are 1 or 0 letters entered into the text box (letters themselves are not visible). Changing text and background color, changing font face and size did not help me make the text anyway visible.
When I create empty .xcf under Linux, I can draw text boxes and enter text as I would normally expect. So this effect most probably arises from interaction of different GIMP versions and runtime OS.
Reproduction
Is the bug reproducible? [Always / Randomly / Happened only once ]
Always on my Linux and my GIMP. Tried to open .xcf under Ubuntu 18.04 and GIMP 2.8 but .xcf version 11 was incompatible with it. On other systems, did not try. My desktop runtime is KDE, can this make any impact ?
Reproduction steps:
- Open the .xcf
- Add a text rectangle
- Type some text
…
Expected result: resonably-sized text is typed and shown into the rectangle, with reasinably-tall text cursor
Actual result: typed text is not shown, text cursor is extended abnormally down and beyond the bottom of the image.
Additional information
(GIMP does not crash in this case, only behaves abnormally)