You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
With PaneDisplayMode.top, NavigationAppBar does not accept the mouse events (i.e., double-click and drag) occurred on Window Caption area that calls DragToMoveArea class of WindowManager (v0.3.0, ..., v0.3.5).
So, we cannot resize the Fluent UI based main window using double-clicking or dragging on Window Caption.
Alternatively, we can resize only using the text entitled 'Win UI for Flutter' on Window Caption area.
But, NavigationAppBar with other PaneDisplayMode (such as open, compact, minimal, auto) does work well.
To Reproduce
Run 'Win UI for Flutter' program
Go to 'Settings'
Click on 'top' in 'Navigation Pane Display Mode'
Mouse double-click or drag (out of text area entitled 'Win UI for Flutter') on the Window Caption area
See the Window Caption has no response according to the mount event (such as double-click or drag)
macOS: double-click is disabled, drag only is enabled.
Windows and Linux: both double-click and drag are disabled.
Expected behavior
Using mouse events, the Win UI for Flutter's main window should be resized when we click on 'top' in 'Navigation Pane Display Mode' in 'Settings'.
Drag should be enabled on window caption
Double-click should be enabled on window caption
Screenshots
Step 1. choose 'top' here
Step 2. double-click or drag on the window caption area
Additional context
We want to resize the window in NavigationAppBar with PaneDisplayMode.top.
How can we do that? Is there any solution?
Please advise if there are possible ways to solve the problem.
The text was updated successfully, but these errors were encountered:
kthguru
changed the title
🐛 With PaneDisplayMode.top, NavigationAppBar's window caption cannot be resized using mouse events
🐛 With PaneDisplayMode.top, 'Win UI for Flutter's main window cannot be resized using mouse events on NavigationAppBar's window caption
Jul 28, 2023
Describe the bug
With PaneDisplayMode.top, NavigationAppBar does not accept the mouse events (i.e., double-click and drag) occurred on Window Caption area that calls DragToMoveArea class of WindowManager (v0.3.0, ..., v0.3.5).
So, we cannot resize the Fluent UI based main window using double-clicking or dragging on Window Caption.
Alternatively, we can resize only using the text entitled 'Win UI for Flutter' on Window Caption area.
But, NavigationAppBar with other PaneDisplayMode (such as open, compact, minimal, auto) does work well.
To Reproduce
Expected behavior
Using mouse events, the Win UI for Flutter's main window should be resized when we click on 'top' in 'Navigation Pane Display Mode' in 'Settings'.
Screenshots
Step 1. choose 'top' here
Step 2. double-click or drag on the window caption area
Additional context
We want to resize the window in NavigationAppBar with PaneDisplayMode.top.
How can we do that? Is there any solution?
Please advise if there are possible ways to solve the problem.
The text was updated successfully, but these errors were encountered: