Windows: snap-layout flyout on the page-drawn maximize button, optional Mica

Đang mở
#271 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, tauri
Lĩnh vực
desktop

Hướng nghiên cứu

Start in crates/atlas-desktop/src/webview_win.rs, where the Windows webview window is created, to see how the window procedure is currently wired before adding a WM_NCHITTEST handler. Read WindowControls.svelte to get the page-drawn maximize button rect that must be translated into the HTMAXBUTTON hit region, and read crates/atlas-desktop/Cargo.toml:37 plus main.rs:420-438 for the vibrancy dependency and the existing title-bar setup that must not regress. Done looks like the snap-layout flyout appearing on maximize hover on Windows 11 while click still maximizes.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area: desktop os: windows priority: 2 normal status: needs-repro type: feature

Linux roadmap item (tracking: #289). Evidence is from reading code at main (9c32731) and a hand test on Omarchy (Arch, Hyprland Wayland, AMD 680M, Mesa 26.2.5, AppImage 1.5.0-alpha.25). [INFERENCE] marks anything not observed directly.

Problem

Windows is frameless with page-drawn caption buttons (WindowControls.svelte), which loses the Windows 11 snap-layout flyout on maximize (no native HTMAXBUTTON hit region) [INFERENCE: verify on Win11]. window-vibrancy is a dependency (crates/atlas-desktop/Cargo.toml:37) but only macOS calls it; no Mica/Acrylic, and the window is opaque (main.rs:420-431).

Proposal

  1. Answer WM_NCHITTEST with HTMAXBUTTON over the page's maximize button rect (webview_win.rs), so Win11 shows snap layouts.
  2. Follow-up: apply_mica on Win11 with a transparent page ground on that path.

Acceptance

  • Hovering maximize on Win11 shows the snap-layout flyout; click still maximizes.
  • No double title bar regression (main.rs:433-438).
Ngôn ngữ chính
Rust
Star
3
Fork
1
Merge trung bình
9 giờ 51 phút
Pull request đã merge (30 ngày)
310

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codeatlasdev/atlas

Tất cả issue của codeatlasdev/atlas

Issue tương tự

Thêm issue về Rust

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.