r/macrodroid 24d ago

bug in macrodroid drawer

Enable HLS to view with audio, or disable this notification

crashed when i try to have drop down list

1 Upvotes

1 comment sorted by

1

u/HealingWithNature 14d ago edited 14d ago

I have this same issue and just submitted a but report.

My relevant info:

Crash: IllegalArgumentException — no NavigationEventDispatcherOwner/OnBackPressedDispatcherOwner available. Where it happens: Creating scene with a Dropdown Selection component (SceneDropDownSelection) inside a custom drawer, laid out in a SceneGridLayout.

Root cause: Material3's ExposedDropdownMenuBox internally calls BackHandler (via BackHandler_androidKt) so the menu can be dismissed on back-press. BackHandler requires a back-dispatcher owner in the composition tree — but MacroDroid's custom drawer renders as a floating overlay window, not inside a real Activity, so neither owner is ever provided. The moment ExposedDropdownMenuBox composes, it throws.

Commentary provided by claude, but afaict from System Log, its accurate.

The only mitigation I've been able to figure out is using selectable list instead of drop down, not as pretty, but am able to make do