Skip to content

feat(desktop): expose accept keyboard focus to desktop widgets#2285

Merged
bbedward merged 1 commit intoAvengeMedia:masterfrom
kanghengliu:desktop-allow-kb-focus
Apr 27, 2026
Merged

feat(desktop): expose accept keyboard focus to desktop widgets#2285
bbedward merged 1 commit intoAvengeMedia:masterfrom
kanghengliu:desktop-allow-kb-focus

Conversation

@kanghengliu
Copy link
Copy Markdown
Contributor

@kanghengliu kanghengliu commented Apr 27, 2026

Feature

Enables keyboard access for desktop widgets.

Example

A Stickies desktop widget I'm writing utilizes this:
image

To use

Widgets can opt in by setting:

  DesktopPluginComponent {                                               
      property bool acceptsKeyboardFocus: true                         
  }

Opt in by setting acceptsKeyboardFocus: true
@bbedward bbedward merged commit c9b3802 into AvengeMedia:master Apr 27, 2026
1 check passed
bbedward pushed a commit that referenced this pull request Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants