[Windows 11] Window corner preference
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- cpp
- Ambito
- desktop, operating-systems
Direzione di ricerca
Start by locating the Window API and the existing SetShape implementation, then trace the Windows platform code around DwmSetWindowAttribute and DWMWA_WINDOW_CORNER_PREFERENCE. Add Window::SetCornerPreference with default, do-not-round, round, and round-small options, keeping it a no-op on other platforms; done means the native title bar remains usable and each preference produces the requested Windows 11 corner behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
On Windows 11, top-level windows get rounded corners from DWM. Some apps need square corners, or small rounded ones, while keeping the native title bar.
Proposal: Window::SetCornerPreference(...) backed by DwmSetWindowAttribute(DWMWA_WINDOW_CORNER_PREFERENCE) (default / do-not-round / round / round-small). It's a no-op elsewhere; on macOS, SetShape() or a hidden title bar are the alternatives.
Background:
- leanflutter/window_manager#470: do not show border radius on Windows
- Lingua principale
- C++
- Stelle
- 34
- Fork
- 7
- Merge medio
- 3g 1h
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di libnativeapi/nativeapi
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
libnativeapi/nativeapi#81 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
libnativeapi/nativeapi#80 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
libnativeapi/nativeapi#79 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
libnativeapi/nativeapi#78 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
libnativeapi/nativeapi#77 ·
Tutte le issue di libnativeapi/nativeapi
Issue simili
-
AuTest Bug Tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/trafficserver#13714 ·
-
bug build
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
facebookincubator/velox#19143 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
tenstorrent/tt-metal#57393 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
objectionary/eo-graphs#74 ·