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

Abierto
#55 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
electron, react, typescript
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
3
Forks
0
Merge medio
2 min
PR fusionados (30 d)
35

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de A21-devs/Virtual-Machine-Manager

Todos los issues de A21-devs/Virtual-Machine-Manager

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.