AppFlowy-IO / AppFlowy-IO/AppFlowy

[Bug] Cannot resize window on macOS

Offen
#8,933 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Dart
Sterne
76.6k
Forks
6k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Bug Description

The AppFlowy window cannot be resized on macOS. The resize cursor does not appear when hovering over window edges, and dragging from any corner or edge has no effect.

### How to Reproduce

1. Install AppFlowy on macOS
2. Launch the app
3. Attempt to resize the window by dragging from any edge or corner

### Expected Behavior

The window should be resizable like any standard macOS application window — dragging from edges/corners should resize the window.

### Operating System

macOS

### AppFlowy Version(s)

Latest (0.11.x)

### Code Analysis

I investigated the codebase and found:

- **`MainMenu.xib`** correctly has `resizable="YES"` in the `windowStyleMask`
- **`MainFlutterWindow.swift`** inserts `.fullSizeContentView` but does NOT remove `.resizable` from `styleMask`
- **`window_manager` package** (custom fork at 0.4.3) doesn't have a `resizable` option in `WindowOptions`
- The Flutter `windows.dart` startup task initializes the window with `window_manager.waitUntilReadyToShow()` on macOS

Despite the window being configured as resizable at both the XIB and native Swift level, the window is not resizable at runtime. This suggests a runtime issue, possibly related to how the Flutter view interacts with native macOS window chrome (the Flutter content view may be intercepting edge mouse events).

### Screenshots

_No response_

### Additional Context

_No response_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.