AppFlowy-IO / AppFlowy-IO/AppFlowy

[Bug] Cannot resize window on macOS

Đang mở
#8,933 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Dart
Star
76.6k
Fork
6k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.