[Windows 11] Window corner preference
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 68/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- cpp
- Domaine
- desktop, operating-systems
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- C++
- Étoiles
- 34
- Forks
- 7
- Merge moyen
- 3 j 1 h
- PR mergées (30 j)
- 1
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de libnativeapi/nativeapi
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
libnativeapi/nativeapi#81 ·
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
libnativeapi/nativeapi#80 ·
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
libnativeapi/nativeapi#79 ·
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
libnativeapi/nativeapi#78 ·
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
libnativeapi/nativeapi#77 ·
Toutes les issues de libnativeapi/nativeapi
Issues similaires
-
ai_reviewed
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
ydb-platform/ydb#53869 · 3 commentaires ·
-
bug cert blocker needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
project-chip/connectedhomeip#74373 ·
-
[request] tracy/0.14.1 Ouverteupstream update
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
documentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
vllm-project/vllm-ascend#17329 ·