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

オープン
#271 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust, tauri
領域
desktop

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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).
主要言語
Rust
スター
3
フォーク
1
平均マージ
9時間 51分
マージ済み PR(30日)
310

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

codeatlasdev/atlas のほかの issue

codeatlasdev/atlas の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。