Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

[Windows/Linux] Implement SetFocusable and SetNonActivating

Offen
#68 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cpp, linux

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
C++
Sterne
34
Forks
7
Ø Merge
3 T. 1 Std.
Gemergte PRs (30 T.)
1

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus libnativeapi/nativeapi

Alle Issues in libnativeapi/nativeapi

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.