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

Đang mở
#55 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
electron, react, typescript
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
3
Fork
0
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
35

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của A21-devs/Virtual-Machine-Manager

Tất cả issue của A21-devs/Virtual-Machine-Manager

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.