Repository navigation
Vault Basic 2027 client: start Vault Explorer, fix its drawing above 96 DPI, menu entry - #8
Conversation
|
Thanks for getting both Vault Explorer and the Inventor add-in working, and for testing check-in/check-out against a real Vault server. I had planned to investigate Vault too, so this is a useful contribution. My current priority is finishing the work already in progress and stabilising some substantial changes to the installer and prefix setup. One change concerns the .NET Framework components currently relying on Wine Mono. I now have 3D PDF working with native .NET Framework 4.8 plus a Wine patch, and I’m integrating that into the installation process. This does not replace the modern .NET runtime used by Inventor/Vault. The shared prefix needs a consistent dependency setup that both applications can reuse. GPU ray tracing is also working with the tested Wine/vkd3d patches. For the status-bar overdraw, we have a tested per-application workaround: Wine’s X11 driver through XWayland with ClientSideWithRender=N. Some window-state and WebView repainting issues remain open, so I’m keeping those under investigation. Regarding the prefix rule: I’m comfortable treating Inventor and its matching Vault client as one integration group in the same prefix. Your explanation makes sense. We should document this as an intentional exception, while keeping unrelated applications and different Inventor releases isolated. Please feel free to continue developing and testing Vault support. To keep integration manageable, I’d like us to follow these principles:
The goal is to preserve the functionality you’ve demonstrated while making the installation and shared-prefix behaviour reproducible and maintainable. Thanks again for contributing this and documenting your findings. |
0f645d9 to
4446ea8
Compare
|
Thanks for updating it. A lot has landed on main since your base (6 Nov): the installer review (#14), Nix layers (#17), winum's vkd3d-proton (#19) and the default add-ins (#20), plus migrations 0005-0010. So:
|
4446ea8 to
b915eed
Compare
|
Rebased onto current main (46c41e9, after #24), and the migration is now On your points from 7 Nov:
The release after the next is fine. Separately, I have SpaceMouse support (a |
|
Thanks - this covers every point from 7 and 16 Nov, and the lifecycle fix is exactly what that list was for. Reviewed: launch-inventor.sh, install-desktop-integration.sh, migration 0012 (Wine's user32 reads dpiAwareness from Image File Execution Options in SYSPARAMS_Init, so the value is honoured as described), SHA256SUMS, the migration tests and AGENTS.md in full; the docs section skimmed. Before merging:
Order: I'd merge this one first and #25 afterwards (both touch launch-inventor.sh), so #25 will need a small rebase. Both can go into v0.5.0. The dark-menu candidate is welcome as a separate PR in winum. |
|
Lifecycle rerun on winum-11.22-1, all green: Vault from its menu entry while Inventor runs, closing Vault leaves Inventor, Inventor opened from Vault and closed leaves Vault, prefix shuts down after the last one; part, assembly, save/reopen, restart. Noted in the Vault section's tested-setup table and a paragraph (commit "docs: Vault lifecycle rerun on winum-11.22-1"). The prefix went from Ready for the CI run from your side. |
|
Thank you - that is a real regression in v0.4.0, not a Vault detail: every v0.3.x installation has no .NET Framework 4.8 (the release notes say so), and 0010 turns InteractiveTutorial on unconditionally, so every upgrade from v0.3.x crashes at start. I confirmed it in 0010: only SharedViews is gated on dotnet48_present. I'll take a look at it and fix it right away. |
Migration 0010 (v0.4.0) turned the Interactive Tutorial add-in on in every prefix, but it was only tested with .NET Framework 4.8. On Wine Mono - every installation from before 2026-11-11, so every v0.3.x installation upgraded to v0.4.0 - Inventor crashed right after the splash at every start (found by Lukas10999 in Harvi654#8; disabling the add-in fixed it). Migration 0012 moves the add-in back to Addins.disabled in a prefix without .NET Framework 4.8 and leaves its libraries in Bin, as in the tested workaround; with .NET 4.8 nothing changes. 0010 stays as it is (old migrations are never edited). The add-in joins INV_DOTNET48_ADDINS, so a reinstall, addins.sh enable-safe and reset keep it off without .NET 4.8 and on with it. Tests cover both cases, an add-in in both folders and addins.sh; the tests that encoded the old behaviour change. Release notes for v0.4.1 drafted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The maintainer wants products' add-ons (Vault, Nastran, ...) to be addable to an existing prefix from a universal GUI, PR #8 folded in, and the installer hardened first. Order it bottom up: close the winum release, harden the core with its safety net, Create Installer as the input, components on the command line (Vault PR #8 as the first companion component), then JSON events and the GUI with a Manage prefix view, then more products. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Users ask about Autodesk's companion products. List them in one place with their state: Nastran works in testing and becomes installable into an existing prefix with the new installer after the next winum release; Vault (PR #8) and Tolerance Analysis are planned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each Inventor add-on has its own Create Installer (maintainer's list,
2026-12-05). Vault's, Create_Installer_PLC0000006_2027_1_..., builds
"Vault Basic 2027 (Client) - (EN)" with manifest/app.vbc.xml (measured
the same day); its code says nothing about Vault, so the product
profile, not a name pattern, decides what a download is.
- Inventor's profile gets create_installer: product INVPROSA -> app
inventor, add-on PLC0000006 -> app vbc (optional key, validated).
- create_installer.py classify names a download's product, role,
app and release; make takes the image of that app (it took only
Inventor's before).
- install.sh: an add-on's image goes into Inventor's prefix of the same
release with install-from-image.py --app vbc, after the updates
(step "Updates and add-ons"); without an Inventor there it stops and
says to install Inventor first; Create Installers of other products
(AutoCAD, Revit) are refused with their name. The release is read
from an add-on's name too.
- GUI: an add-on is listed ("add-on: Autodesk Vault Basic client") and
ticked by hand, not preselected.
Also corrected: the Nastran image seen under C:\users\Default was the
user's own ~/Downloads behind a link Wine makes in a new prefix, left
from the research of 2026-12-03, not something the tool built. The plan
records that Autodesk Access is not run; updates come from newer
Create Installers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Vault's .NET host uses the working directory as content root; started from a Linux folder without a drive letter (no Z: with isolation) it fails with DirectoryNotFoundException. Start it from its own folder, after the Identity Manager and Licensing Service, so Inventor opened from Vault can license. Wait for that Inventor before the cleanup trap runs wineserver -k. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Above 96 DPI Wine scales the windows of a DPI-unaware program. Vault's CefSharp start page is a child window owned by the browser subprocess, which Wine draws unscaled: the page lands in the wrong place and the pane it belongs in stays black (the add-in login in Inventor drew its labels twice as well). With dpiAwareness=1 in Image File Execution Options Vault scales itself and all of it renders correctly at 150 %. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
With the Vault client in the prefix (install-from-image.py --app vbc) there was no way to start Vault Explorer from the application menu; it needed INV_APP=vault on the command line. The script now adds "Autodesk Vault <year>" next to the Inventor entry, with the icon taken from Connectivity.Vault.exe and the same prefix pinned in Exec. Without the Vault client the entry is removed again; --uninstall removes it too. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
A section in docs/arch-hyprland.md (why it shares the Inventor prefix, how it was installed from the image, the start, the two problems and how the DPI cause was found, notes for a Wine bug report), a result log entry and a row in the README status table. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Only an Inventor that Vault opened was waited for. Started from their own menu entries, the second program ran in the first one's prefix, and the first launcher to finish killed it with wineserver -k: closing Inventor closed Vault Explorer too, and the other way round. Worse, an Inventor started from its menu entry while Vault ran set the prefix up again and wiped the running Identity Manager's IPC state. Now a launcher starts only the program when the other one already runs in the same prefix, and every launcher waits until neither runs before it shuts the prefix down. "Runs in the same prefix" is told by the WINEPREFIX in the process environment, which Wine passes on to programs started from Wine too (checked with a child of cmd.exe), so an Inventor of another release in its own prefix keeps neither alive. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
As agreed in the review of this pull request: Inventor and the Vault client of the same year share a prefix as one integration group, an intentional exception to one release per prefix, while unrelated programs and other releases stay in their own prefixes. AGENTS.md names the exception next to the rule. The docs now list the exact tested setup (versions, Wine build, desktop, DPI, GPU, dependencies) and say that Vault stays optional and uses the same launcher, services and menu-entry script as Inventor. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The launcher wrote dpiAwareness=1 for Connectivity.Vault.exe into Image File Execution Options at the first start of Vault Explorer. Since the prefix migrations (2026-11-11) every change to what a prefix gets is a numbered step, so this is now 0012-vault-dpi-aware: set once in every prefix, with the usual backup, state and "already so" check. The value acts only when a program of that name runs, so a prefix without the Vault client is unchanged in effect and one that gets the client later is ready. The launcher only points at the step. tests/test_migrations.py expects the step on an old prefix and on a clean one, and knows it in the prefix that has everything. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The maintainer asked for the lifecycle tests on the current winum release before merging. Rerun on winum-11.22-1 after the prefix was updated from wine-inventor-11.20-6 by migrations 0002 to 0012: Vault beside Inventor, closing either, prefix shutdown after the last one, part, assembly, save and reopen, restart. Noted: migration 0010 enables InteractiveTutorial, which crashes Wine Mono at start on a prefix without .NET Framework 4.8. Co-Authored-By: Claude <noreply@anthropic.com>
Rebased Lukas10999's Vault work (PR Harvi654#8) onto the Create Installer installer (PR Harvi654#91): the client now comes from its own Create Installer through scripts/install.sh, so the launcher's and the menu entry's hints say so instead of install-from-image.py --app vbc. Main took migrations 0012 and 0013 while Harvi654#8 was open; its DPI step was not merged yet, so it is renumbered to 0014-vault-dpi-aware (file, SHA256SUMS, README, tests, docs) rather than added under a taken number. The README's status table shows the Vault client as Testing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cff1dc5 to
28d7a1a
Compare
I have to prefix this with that I am kind of breaking one of the rules here, but I don't see a better way to do it, since Vault is so tightly integrated.
TL;DR: Got Vault working as standalone and in Inventor.
Claude:
Vault Explorer and Inventor's Vault add-in (Vault Basic 2027 client) work with Inventor 2027: open from Vault, check out, check in, and a Vault-type project with its workspace on
D:. Three commits plus docs:INV_APP=vaultinlaunch-inventor.shstarts Vault Explorer instead of Inventor, with Identity Manager and the licensing service as for Inventor, because an Inventor opened from Vault needs both. Vault Explorer starts from its own folder: its .NET host uses the working directory as content root, and a Linux folder has no drive letter under isolation (DirectoryNotFoundExceptionfor...\unix\home\...). The launcher waits for an Inventor that Vault opened before it runswineserver -k. Started while Inventor or Vault already runs, it only starts Vault Explorer.dpiAwareness=1, which Wine'suser32reads at process start). Vault is DPI unaware, so above 96 DPI Wine scales its surface. The CefSharp start page is a child window from another process and is drawn unscaled, so the page appears shifted to the left with a black area where it belongs, and the login dialog shows doubled labels. At 96 DPI all of it was gone. With system awareness Vault scales itself.install-desktop-integration.shwhenVault Client <year>\Explorer\Connectivity.Vault.exeis in the prefix, with its icon. It's removed again when the client is absent, and on--uninstall.One deliberate exception to "one Autodesk program per prefix": the Vault client goes into the Inventor prefix, because its Inventor add-in has to sit next to Inventor (as on Windows), and Vault Explorer starts that Inventor. If you'd rather handle this differently, I'm happy to change it.
The install used the existing
install-from-image.py --app vbcwith--only, leaving out .NET Framework 4.8 with its language packs (Vault 2027 is .NET 10, already in the prefix) and DWG TrueView. The docs section describes it. No new downloads, so nothing fornix/.Not in this PR: the dark-theme menus in Vault are invisible under KWin (behind their shadow). That's a winex11 draft patch I'll send separately. Content Center from the Vault server and Vault 2026 weren't tried.
Tested: Arch (CachyOS), KDE Plasma 6 on Wayland with Xwayland, 144 DPI, RTX 5080, Inventor 2027 + Vault Basic Client 2027 against a Vault Basic 2027 server. Also
bash -n,python3 -m unittest discover -s tests(OK), and the menu entry with a fake prefix in a temporaryHOME(install and--uninstall, with and without the Vault executable).Docs: a section "Vault Basic 2027 client" in
docs/arch-hyprland.md(problem table, how the DPI cause was found, notes for a Wine bug report, level), a result log entry and a README status row.🤖 Generated with Claude Code