SetIgnoreMouseEvents: implement on Linux and support forwarding mouse moves
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- cpp, linux, macos
- Domaine
- desktop, operating-systems
Piste de recherche
Start with Window::SetIgnoreMouseEvents() in src/platform/linux/window_linux.cpp and inspect the existing SetInputShape() implementation. Read leanflutter/window_manager#94 and #96 for the Linux and forwarding context. Done means the Linux stub is implemented and the requested forward behavior is addressed across the supported platforms, with the scope and platform approach resolved.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Window::SetIgnoreMouseEvents():
- is a stub on Linux (
src/platform/linux/window_linux.cpp); an input shape (gdk_window_input_shape_combine_regionwith an empty region) would do it - has no
forwardoption. Electron'ssetIgnoreMouseEvents(true, {forward: true})still delivers mouse-move events while clicks pass through, so an overlay can detect hovering over its interactive parts and turn click-through off there. On macOS that's a tracking area or a global mouse monitor; on Windows,WS_EX_TRANSPARENTplus a low-level mouse hook or polling.
SetInputShape() (Linux-only so far) covers the "only these regions are clickable" case, and could be a better answer on macOS/Windows too.
Background:
- leanflutter/window_manager#96: the forward parameter does nothing
- leanflutter/window_manager#94: implement setIgnoreMouseEvents on Linux
- 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 ·