Bug 509371 - When very quickly pressing the Delete key after selecting a part of the image with the Rectangular Selection Tool, the selection is intact
Summary: When very quickly pressing the Delete key after selecting a part of the image...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Selection (other bugs)
Version First Reported In: 5.2.11
Platform: macOS (DMG) macOS
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-11 08:04 UTC by Igor
Modified: 2025-10-08 23:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
reproducing step illustration (20.82 KB, image/png)
2025-09-11 08:04 UTC, Igor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Igor 2025-09-11 08:04:58 UTC
Created attachment 184884 [details]
reproducing step illustration

SUMMARY

When very quickly pressing the Delete key after selecting a part of the image with the Rectangular Selection Tool, the selection is intact. This is annoying as the user has to press the Delete key again for the desired effect.

STEPS TO REPRODUCE
1. Create a new image
2. Activate the Freehand Brush tool
3. Choose black as a foreground color
4. Paint something
5. Activate the Rectangular Selection Tool
6. Select a part of the image by dragging mouse
7. Very quickly (may require a few attempts) after the mouse button was released, press the Delete key
8. If the Delete key was pressed quick enough, then the selection is not affected

OBSERVED RESULT

Delete key doesn't fill the selection with white color, if pressed very quickly after selecting

EXPECTED RESULT

Delete key fills the selection with white color, regardless of the key press speed

SOFTWARE/OS VERSIONS
Windows: not tested
macOS: 
  Build ABI: arm64-little_endian-lp64
  Build CPU: arm64
  CPU: arm64
  Kernel Type: darwin
  Kernel Version: 22.6.0
  Pretty Productname: macOS 13.7
  Product Type: osx
  Product Version: 13.7
Linux/KDE Plasma:  not tested
KDE Plasma Version: n/a
KDE Frameworks Version: n/a
Qt Version: 5.15.7

ADDITIONAL INFORMATION