Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Windows/Linux] Implement SetFocusable and SetNonActivating

Aperta
#68 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp, linux

Direzione di ricerca

Locate the platform-specific implementations of Window::SetFocusable() and SetNonActivating(), then inspect the Windows mouse-activation path and the Linux GTK window setup. Compare the behavior with macOS and evaluate the suggested WS_EX_NOACTIVATE/MA_NOACTIVATE and GTK focus APIs. Done means a window can be clicked without taking focus from the app receiving keyboard input on both platforms.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Window::SetFocusable() is a stub on Windows and Linux, and SetNonActivating() only records the flag there. Only macOS implements them. An on-screen keyboard or a floating palette needs a window that can be clicked without taking focus from the app the user is typing into.

Possible implementation: Windows WS_EX_NOACTIVATE (plus MA_NOACTIVATE for WM_MOUSEACTIVATE); Linux gtk_window_set_accept_focus() / gtk_window_set_focus_on_map().

Background:

  • leanflutter/window_manager#404: focus issue while building a virtual keyboard (Windows)
  • leanflutter/window_manager#317: implement setFocusable
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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di libnativeapi/nativeapi

Tutte le issue di libnativeapi/nativeapi

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.