Skip to content

feat(resize-api): add runtime resize functionality for desktop widgets - #3114

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
SunPodder:dev
Aug 20, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
SunPodder:dev

Conversation

@SunPodder

Copy link
Copy Markdown
Contributor

Description

Adds a transient surface resize API for Desktop Widgets.

Before the only way to resize a widget was to update the widget settings, which writes to the disk. But the DesktopPluginWrapper internally used dragOverrideW/H to represent a transient width/height when the user drags and resizes the widget, it was simply not exposed to the plugins.

This patch allows setting a size to the surface without writing it to the disk from the plugins. A possible use case could be a compact widget, that expands when hovered to show more information, and collapses back when hover removed.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

Checklist

@SunPodder

Copy link
Copy Markdown
Contributor Author

@bbedward
bbedward merged commit 7ebe072 into duxlabs-dev:master Aug 20, 2026
1 check passed
@SunPodder
SunPodder deleted the dev branch August 21, 2026 16:58
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