Skip to content

Missing functionality: Undecorated window resizing in dioxus-desktop #3128

@chipnertkj

Description

@chipnertkj

Feature Request

Disabling window decorations in tao when using dioxus-desktop prevents the window from being resized, as confirmed in tauri-apps/tao#994 (comment).
dioxus does not provide the required API to bring drag-resizing back to a window without decorations.
This behavior prevents valid use cases like custom title bars. The user has to implement a lot of boilerplate for the webview to be resizable again.
tauri has their own implementation - I think dioxus should too.

See tauri-apps/tauri#7900 (comment) for an example of the behavior that appears when disabling a window's decorations and attempting to resize.
Note: the video only showcases attempts made at the upper-right corner. On my end, I am also completely unable to resize the window unless im dragging from the upper edge of the window, in which case it is still difficult to grab onto - the area is one pixel high.

Implement Suggestion

tauri implements this here: src/undecorated_resizing.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    desktopSuggestions related to the desktop rendererenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions