1.8 KiB
TechDraw batch 55283f72d138f65f07b02125
This batch remains incomplete. No builds, tests, browser validation, benchmarks, or acceptance runs were performed. The scheduler blocked further source reads with SCHEDULER_SOURCE_BUDGET_REACHED.
The existing Web adapter routes GeometricHatch, Hatch, ToggleFrame and ShowAll through the native family route. Hatch selection and accept/cancel preparation already exist in web/src/techdraw-desktop-adapter.ts:223.
The inspected ShowAll branch in dispatchDocumentViews only validated document and selection before returning exposed. It now rejects active tasks and invalid part-view ownership, and reports implementation_required without claiming a visibility change. Native behavior still needs persistent ShowAllEdges state, requestPaint-equivalent refresh, and mounted edge rendering. The desktop source is freecad-source/src/Mod/TechDraw/Gui/CommandAnnotate.cpp:1336.
Remaining source anchors in freecad-source/src/WebAssembly/FreeCADCoreProbe/TechDrawDesktopCommands.cpp (line numbers before this edit):
- Hatch and GeometricHatch: 5107-5255. Inspect the existing native handler before connecting command-specific registration; preserve native Source face links, hatch parameters, replacement handling, and transaction/cancellation behavior.
- ToggleFrame: the top-level marker at 48 does not establish implementation. Connect persistent page frame state and rendering with the manual frame-mode restriction from src/Mod/TechDraw/Gui/CommandDecorate.cpp:93.
- ShowAll: inspect downstream dispatch at 3153 and 5574 before choosing the owner for persistent edge visibility. The validation-only branch must not report the operation as completed.
Registration rejection for all four commands remains unresolved. Do not enable registration by adding exposed status without the corresponding behavior.