PintaProject / Pinta

Simple GTK# Paint Program
http://www.pinta-project.com/
MIT License
1.74k stars 266 forks source link

The text cursor remains on the screen, even if you cancel entering text #744

Open rado84-github opened 3 months ago

rado84-github commented 3 months ago

Description The text cursor remains on the screen, even if you cancel entering text

To Reproduce I can't provide a video as I initially hoped because when the DE's flipping is OFF (simplescreenrecorder needs to disable flipping in order to record a video), the bug doesn't happen.

Basically the bug is this:

  1. Use the text tool, enter some text.
  2. Delete the text or use Ctrl+Z to remove it.
  3. Observe the cursor remaining on the screen, despite that there's no text.
  4. Use Ctrl+A to select the whole image and press Delete (this usually removes everything, including the background). Observe the cursor still remaining there. The only way to remove it is to restart the program and cancel saving upon exiting.

Version Pinta is v2.1.1.

Since I mentioned flipping, I should also mention the desktop environment is Cinnamon 5.2.7 because that's the only version where flipping is still working properly.

OS Name: Arch Linux 
Kernel: 6.6.15-2-lts 
Locale: bg_BG.UTF-8 
Packages: 1557 (pacman) 
Shell: bash 5.2.26 
Resolution: 1920x1080 
Desktop: Cinnamon 5.2.7 
Font: Open Sans Semi-Bold 11 [GTK2/3] 
Window Manager: Mutter (Muffin) 
Window Decoration: BGT-v2.2-GTK3_Cinn-5.2.7 (Cinnamox-Rhino) 
Theme: BGT-v2.2-GTK3_Cinn-5.2.7 [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i7-4770 (8) @ 3.400GHz 
GPU: NVIDIA GeForce GTX 1660 Ti 
Memory: 3.22GiB / 31.27GiB (10%) 
GPU Driver: NVIDIA 550.54.14 
System install date: 28.07.2023
cameronwhite commented 3 months ago

A quick screen recording might still be helpful, since the text tool has various code paths where the text can be "finalized" or still "re-editable".