Skip to content

some build and notification issues on MacOS #199

@solarpunkin

Description

@solarpunkin

1. macOS keyring crash

Bug: App crashes instantly on launch in a macOS CLI environment with ZBus Error: I/O error: Invalid argument.
This happens because oo7 defaults to the D-Bus secret service or fails to unlock the macOS Keychain when not bundled/entitled correctly.
Experienced when running cargo run or the binary directly on macOS.

CONTEXT

$ export RUST_LOG=p2panda_net_next=debug,reflection=debug
$ ./install/bin/reflection


2026-01-25T06:50:23.580151Z  INFO reflection: Reflection (cx.modal.Reflection)
2026-01-25T06:50:23.585262Z  INFO reflection: Version: 0.1
2026-01-25T06:50:23.585284Z  INFO reflection: Datadir: .../install/share/reflection
2026-01-25T06:50:24.188228Z ERROR reflection::system_settings::imp: Unable to read system settings: ZBus Error: I/O error: Invalid argument (error 22)
2026-01-25T06:50:24.189730Z ERROR reflection::application: Failed to start service: DBus error zbus error I/O error: Invalid argument (os err 22)

2. Build Failure: blueprint-compiler missing dependencies

Bug: meson setup or compile fails because the subproject blueprint-compiler cannot find the gi python module, even if installed in python virtual environment.
The build script assumes a system-wide or perfectly linked environment that meson doesn't strictly enforce for subprojects.
Built the app from source on macOS Sequoia 15.7.4 with a Python venv. env_details.txt

3. Build Failure: missing po/LINGUAS

Bug: Meson's i18n module crashes configuration step because it expects a po/LINGUAS file to exist, but it was missing from the source tree I cloned (or the build script didn't account for it being empty/absent?)
Caught in meson setup build phase.

4. spellchecker corrections broken [intended behaviour?]

Bug: libspelling highlights words correctly, but clicking a suggestion in the context menu does nothing.
This is caused by reflection-app/src/textview.rs having a GestureClick controller that interferes with the standard right-click handling, likely deselecting the text or eating the event before the library processes it. May not be a bug rather WIP.

I can create a draft PR if you like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions