Click the live preview to bring the VM window to the front

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

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
electron, react, typescript
Bereich
desktop

Rechercherichtung

The preview is in the Summary tab, and the work is in the Electron main process, which knows the QEMU pid. Read how the QEMU process is launched and where its window handle could be found, then decide between a native Windows call and asking QEMU to raise itself, since the issue leaves that open. Done means clicking the preview brings the VM window to the foreground on Windows, or the preview no longer looks clickable if that proves unreliable.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement ui

Split out of #8. The preview itself is in the Summary tab now, the other half of #8 is clicking it to bring the VM's own window to the front.

QEMU's window belongs to another process, and Windows only lets the foreground process hand focus to another window (SetForegroundWindow rules), so this needs either a small native call from the main process (AllowSetForegroundWindow for the QEMU pid, then SetForegroundWindow on its top-level window) or asking QEMU to raise itself. Ideally without adding a native module to the build.

If it can't be done reliably, the preview should at least not look clickable.

Vorherrschende Sprache
TypeScript
Sterne
3
Forks
0
Ø Merge
2 Min.
Gemergte PRs (30 T.)
41

Entwicklungsumgebung

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 A21-devs/Virtual-Machine-Manager

Alle Issues in A21-devs/Virtual-Machine-Manager

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

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