emilk / emilk/egui

the native window can not resize when decorations false, resizable true

Open
#4,345 4 comments 3 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
30.6k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
72

Description

when hide the titlebar of native window, the "resizable" option is not work.

let ops = eframe::NativeOptions {
default_theme: Theme::Dark,
viewport: egui::ViewportBuilder {
decorations: Some(true),
// titlebar_shown: Some(false),
resizable: Some(true),
..Default::default()
},
..Default::default()
};

eframe::run_native(title, ops, ...);

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with eframe::NativeOptions and egui::ViewportBuilder using decorations disabled and resizable enabled. Trace the native window handling behind eframe::run_native across the affected platform behavior, then verify that the window can be resized without decorations.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.