7
44
Fork
You've already forked nice-plug
22

Focus embedded iced baseview windows on mouse press #6

Closed
FoobarIT wants to merge 0 commits from FoobarIT/main into main
pull from: FoobarIT/main
merge into: RustAudio:main
RustAudio:main
RustAudio:resizing
RustAudio:dev
RustAudio:standalone_fixes
RustAudio:fixes
RustAudio:egui_3rd_party
RustAudio:vizia_baseview_update
RustAudio:egui_32
RustAudio:softbuffer
RustAudio:byo_gui_examples
RustAudio:raw_graphics_examples
FoobarIT commented 2026年04月07日 00:18:58 +02:00 (Migrated from github.com)
Copy link

On Windows, embedded/parented iced-baseview windows can receive mouse input without getting keyboard focus.
This causes text inputs and other keyboard-driven widgets to stop receiving key events even after being clicked.

This change explicitly focuses the window on mouse press before forwarding the event.

This was reproducible in an embedded plugin editor setup using nih-plug / nih_plug_iced with a TextInput

On Windows, embedded/parented iced-baseview windows can receive mouse input without getting keyboard focus. This causes text inputs and other keyboard-driven widgets to stop receiving key events even after being clicked. This change explicitly focuses the window on mouse press before forwarding the event. This was reproducible in an embedded plugin editor setup using `nih-plug` / `nih_plug_iced` with a `TextInput`

Oh sorry, I forgot about this. Looks good, so I merged it!

Oh sorry, I forgot about this. Looks good, so I merged it!
BillyDM closed this pull request 2026年04月17日 21:46:44 +02:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RustAudio/nice-plug!6
Reference in a new issue
RustAudio/nice-plug
No description provided.
Delete branch "FoobarIT/main"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?