Studio: shutdown, first window size, Start app wait, WebView2 check, Setup errors, Add a ZBrush folder, import wording

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
32/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, python
Lĩnh vực
desktop-dev, documentation

Hướng nghiên cứu

Start with zorbit/studio.py, then follow the Setup flow through onboarding.snapshot and app.js; also review docs/files.md for the import wording. The issue identifies concrete changes for shutdown handling, window sizing, startup polling, WebView2 detection, setup errors, ZBrush folder registration, legacy installations, and import messaging. Done means each listed behavior is implemented and the affected startup and Setup paths no longer produce the reported false or misleading states.

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

Mô tả

bug studio

From the audit of ZOrbit 0.11.0 (31 October 2026). All in zorbit/studio.py unless said otherwise.

  • Studio cancels Windows shutdown. _on_closing returns False for every close and asks the page on another thread. WinForms raises the same FormClosing when the session ends, so Studio answers "do not close" to a shutdown or sign-out even with nothing unsaved. Let the winframe subclass see WM_QUERYENDSESSION and WM_ENDSESSION and let the close through.
  • The first window does not fit a laptop. Without a saved placement the window is 1320x860 logical pixels with no check against the work area, and the minimum is 980x640. A 1080p laptop at 150 percent has about 1280x680, so the first thing a new user sees runs off the bottom of the screen. Clamp the default to the primary work area and lower the minimum height or let Menus scroll.
  • Start app gives up after 4 s with old log lines. start_app polls the mutex for 4.0 s; a cold PyInstaller start with an antivirus scan takes longer, so it returns "The app did not start. The last lines of its log:" with lines from an earlier run, and the status turns green a few seconds later. Wait 8 to 10 s; if the process is alive at the deadline return "still starting"; show only lines newer than the launch. On Setup the toast ends in a colon and no lines follow, because Setup's startApp in app.js discards the returned log; keep it and offer Open Status.
  • No WebView2 check. main() calls webview.start() with no renderer check. pywebview falls back to the old IE engine with a logger warning, so on a Windows 10 without the Evergreen runtime Studio opens dark and empty with no title bar buttons (they are HTML). Probe the runtime's registry key before import webview and show a MessageBox with the download link and a studio.log line. Same for the browser.
  • A failed Setup probe says "No ZBrush was found". get_setup catches any exception from onboarding.snapshot and returns a fallback with an error string; app.js never reads it, so step 1 tells a correctly installed user to add a folder. Show "The setup check failed: ... (see studio.log)" and do not derive steps from the fallback.
  • Add a ZBrush folder refuses a 2026+ folder. A ZBrush on another drive that has never run is not found by the scan; Setup says "No ZBrush was found. Add its folder if you have one"; adding it is refused with "it appears on Setup by itself once it has been started once", and Setup still says nothing was found. Accept the folder into zbrush_folders, or say "Start ZBrush once" and show the registered state and Fix anyway.
  • Install on a running-only 2022 to 2025 is refused (_known_legacy); see the ZScript issue.
  • Import says "load" where it means "replace". Importing swaps all menus, the ring section, the bridge key and the browser hotkey, but the dialog and toast say "The menus and settings load into the editor", and tags get a Merge/Replace choice that suggests menus merge too. Say the file's N menus replace your M, that nothing is written until Save, and that Undo brings yours back. docs/files.md too. A tags object holding only Favourites counts as "has tags".
  • save_config catches only OSError, so an encoding error becomes a generic failure and leaves a .tmp.

Audit ids: F169, F181, F202, F025, F017, F160, F170, F184, F057, F312, F116, F087, F090, F274, F372.

Ngôn ngữ chính
Python
Star
2
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 combwizard/ZOrbit

Tất cả issue của combwizard/ZOrbit

Issue tương tự

Thêm issue về Python

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.