Bug 496749 - MacOS: Delete key active on canvas with "save as" dialog
Summary: MacOS: Delete key active on canvas with "save as" dialog
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.2.6
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-27 12:47 UTC by papernoise
Modified: 2024-11-28 09:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description papernoise 2024-11-27 12:47:44 UTC
SUMMARY
With the "save as" dialog open and in focus, and with text cursor is in the file name text field. Hitting the delete key on the keyboard will erase the content on the last active layer, or – if a selection was made – the content within the selection on the last active layer. I.e. the action of the delete key is not diabled when the "save as" dialog is open.

STEPS TO REPRODUCE
1. create a new document
2. create a new layer and paint something on it
3. select "save as" from the menu or via the keyboard shortcut
4. press the delete key on the keyboard
5. cancel the saving process and see that the content of your layer has been erased

OBSERVED RESULT
The content of the layer gets erased even if the "save as" dialog was in focus. The delete key can't be used to delete characters in the file name input field.

EXPECTED RESULT
The delete key should delete the characters typed in the file name input field, it should not affect the content of the layers.

SOFTWARE/OS VERSIONS
macOS: Sonoma 14.7 (Mac Studio M2 Max)

ADDITIONAL INFORMATION
The delete key works consistently and as expected in all other applications.
Comment 1 Halla Rempt 2024-11-27 14:20:42 UTC
I can not reproduce this on my macbook pro with Sequoia 15.0.1. You could try to disable the native file dialogs in the settings dialog, misc tab, and see whether that makes it better for you.
Comment 2 papernoise 2024-11-28 08:40:32 UTC
(In reply to Halla Rempt from comment #1)
> I can not reproduce this on my macbook pro with Sequoia 15.0.1. You could
> try to disable the native file dialogs in the settings dialog, misc tab, and
> see whether that makes it better for you.

Thanks a lot for looking into this! It might be a Sonoma-specific problem indeed, now that I think of it, I didn't have the issue with Ventura and I think I was already using Krita 5.2.6. Using the KDE file dialog instead of the native/MacOS one solves the problem. I'm fine using that for now. Thanks again!
Comment 3 Halla Rempt 2024-11-28 09:23:51 UTC
Thanks for checking back. I'll close the report for now, since we cannot really do anything about how macos file dialogs handle focus,