View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005825 | CaseTalk Modeler | User Interface | public | 2026-07-29 11:12 | 2026-07-29 11:51 |
| Reporter | Marco Wobben | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | resolved | Resolution | fixed | ||
| Target Version | 15.0 | Fixed in Version | 15.0 | ||
| Summary | 0005825: Multi-select OTFT edit: menu announces 'Multiple (n)' but a single OTFT opens | ||||
| Description | Selecting several object-fact types in a diagram and choosing Properties from the popup does not reliably open the merged (multi) editor: the popup header already says 'Multiple (n)', but the OTFT editor then opens a single OTFT. The Expression Viewer is unreliable for the same operation. The header and the editor did not use the same criteria:
| ||||
| Tags | No tags attached. | ||||
| CaseTalk Edition | Corporate | ||||
|
Fixed in 2eb3740b0 (the two DiagramDesignerFrmUnit hunks landed earlier in d6f5c6fc). The popup header and the OTFT editor computed 'how many OFTypes am I editing' two different ways. The diagram counted drawn TDOTFT elements and ignored the MultiEdit preference; EditOTFT resolved every selected element through OFTypes.SearchName - roles, constraints and shapes resolve to nothing - and did honour the preference. So the header could announce a merge the dialog never delivered. SelectionEditCount / CollectSelectedOtfts in OtftEditorDlgUnit are now the single answer for both. They resolve an IItemList selection into the distinct OFTypes an edit would really open: non-OFType elements are skipped, duplicates dropped, the count capped at 1 when the preference is off, and index 0 is still probed when SelCount = 0 so the diagram's FocusOn fallback survives. Four defects fixed underneath:
The Expression Viewer already had a merge path but counted selected rows rather than resolvable OFTypes and merged unconditionally; with the focus in the expressions list that meant nothing opened. It now uses the shared count and falls back to the focused OTFT when the count is 1. Full rebuild of CaseTalk.dproj (BetaEdition) is clean. Not verified against a running model - worth a check that the diagram case behaves; if it still misbehaves, which pane had focus at right-click distinguishes the routing cause from the counting one. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-07-29 11:12 | Marco Wobben | New Issue | |
| 2026-07-29 11:51 | Marco Wobben | Note Added: 0008709 | |
| 2026-07-29 11:51 | Marco Wobben | Status | new => resolved |
| 2026-07-29 11:51 | Marco Wobben | Resolution | open => fixed |
| 2026-07-29 11:51 | Marco Wobben | Fixed in Version | => 15.0 |