Skip to content
Bug reportNov 26, 2026· 0:29· 18 views

bpmn-js: messageVisibleKind non_initiating ignored — decorator icon identical to initiating

0:29 total

Comments · 0

Be the first to comment.

Bug reportby SceneRecap AI

lowbpmn-js BpmnRenderer: the message flow message decorator rendering and how it reads the messageVisibleKind attribute from the BPMNEdge DI.
os: macOSdpr: 1locale: en-USbrowser: Chromium 151.0.7922.34library: bpmn-js (latest) from unpkg CDNtimezone: Europe/Berlinviewport: 1280x720issue_ref: bpmn-io/bpmn-js#2520reproduced_on: 2026-11-26

Repro steps

  1. 1.Open the bpmn-js demo page for bpmn-io/bpmn-js#2520, which loads bpmn-js (latest) from unpkg.
  2. 2.Load a diagram with two pools joined by two message flows: Flow_17ctb8s (Init, no messageVisibleKind) and Flow_0mrvomp (Answer, messageVisibleKind=non_initiating).
  3. 3.Zoom in on the message flow decorators.
  4. 4.Compare the envelope decorator on Init with the one on Answer.

Expected

Per the page header and overlay, the decorator on Flow_0mrvomp (messageVisibleKind=non_initiating) should render as an outlined envelope.

Actual

The Flow_0mrvomp (Answer) decorator renders as a dark filled envelope. The control flow Flow_17ctb8s (Init, no messageVisibleKind) renders an outlined envelope. The two icons are visibly different, not identical as the user title suggests.

Evidence

visualOn first render, the Answer message flow decorator is a dark filled envelope. The Init decorator is an outlined envelope.
visualZoomed view confirms it: Init decorator outlined, Answer decorator solid dark fill.
visualControl: the overlay labels Flow_17ctb8s as having no messageVisibleKind (initiating). It renders an outlined envelope, which is correct.
visualFailing case: the overlay labels Flow_0mrvomp as messageVisibleKind=non_initiating and says it renders a dark filled icon but should be outlined.
visualSummary panel: Flow_17ctb8s initiating renders an outlined envelope. Flow_0mrvomp messageVisibleKind=non_initiating renders a dark filled icon, marked as should be outlined.
visualThe state is unchanged through the end of the captured frames.
Issue markdown (copy-paste ready)
## Summary
On bpmn-js (latest, loaded from unpkg), the message decorator on message flow `Flow_0mrvomp` has `messageVisibleKind=non_initiating`. It renders as a dark filled envelope. The reproduction page expects an outlined envelope.

Ref: bpmn-io/bpmn-js#2520, reproduced 2026-11-26.

## Environment
- Chromium 151.0.7922.34, macOS
- Viewport 1280x720, DPR 1
- bpmn-js (latest) from unpkg CDN

## Steps to reproduce
1. Open the reproduction page (1.0s).
2. Load a diagram with two pools and two message flows (1.0s):
   - `Flow_17ctb8s` "Init", no `messageVisibleKind`
   - `Flow_0mrvomp` "Answer", `messageVisibleKind=non_initiating`
3. Zoom in on the decorators (7.0s).
4. Compare the two envelope icons (9.0s).

## Expected
The page header and overlay say the `Flow_0mrvomp` decorator should render as an outlined envelope.

## Actual
The `Flow_0mrvomp` (Answer) decorator renders as a dark filled envelope (1.0s, 7.0s, 9.0s).

Note: the two icons are visibly different. They are not identical.

## Control (works)
`Flow_17ctb8s` (Init, no `messageVisibleKind`, initiating) renders an outlined envelope as expected (9.0s, 15.0s).

## Evidence
- 1.0s: on first render, Init is outlined and Answer is dark filled.
- 7.0s: the zoomed view confirms the difference.
- 9.0s: the overlay labels `Flow_0mrvomp`, `messageVisibleKind=non_initiating`, as rendering a dark filled icon that should be outlined.
- 15.0s: the summary panel lists Init as an outlined envelope and Answer as dark filled, marked incorrect.
- 23.0s: the state is unchanged.

No console or network data was captured.

## Suggested area
BpmnRenderer message flow decorator rendering, specifically how `messageVisibleKind` on the BPMNEdge DI maps to the icon fill.

*Recorded with SceneRecap.*

This report was written by SceneRecap from a screen recording. Try SceneRecap free

Turn a screen recording into a bug report like this one.

Repro steps, expected vs actual and the console and network evidence, each with a timestamp. On every plan, Free included.

Try SceneRecap free →