flet icon indicating copy to clipboard operation
flet copied to clipboard

macOS dings when key is pressed

Open FeodorFitsner opened this issue 1 year ago • 3 comments

Problem: pressing keys produces "ding" sound on macOS. Repro code: https://github.com/flet-dev/examples/blob/main/python/controls/page/keyboard-events.py Possible solution: https://github.com/flutter/flutter/issues/74287#issuecomment-1091883884

FeodorFitsner avatar Apr 12 '23 19:04 FeodorFitsner

Such an old flutter bug popping up just now?

ndonkoHenri avatar Apr 13 '23 04:04 ndonkoHenri

@ndonkoHenri I reached out in the Discord channel. I am creating an app using Flet and found that keyboard shortcuts work but produce a ding sound each time regardless of whether that keybinding is defined or not.

I can add a PR if I get insight into where to make these changes. Based on this code, I believe we need to add a similar FocusNode in this file?

Ref: https://github.com/flutter/flutter/issues/74287

nikhgupta avatar Apr 13 '23 06:04 nikhgupta

Re: ding on macOS - honestly, I thought it's just me having that annoying sound 😂

FeodorFitsner avatar Apr 13 '23 17:04 FeodorFitsner