Skip to content

Fix macOS hotkey editor compatibility issues#616

Open
yuygfgg wants to merge 1 commit into
TypesettingTools:masterfrom
yuygfgg:master
Open

Fix macOS hotkey editor compatibility issues#616
yuygfgg wants to merge 1 commit into
TypesettingTools:masterfrom
yuygfgg:master

Conversation

@yuygfgg

@yuygfgg yuygfgg commented Jun 22, 2026

Copy link
Copy Markdown

Fixes #357

Use the native wxDataViewChoiceRenderer for the hotkey command column on macOS, since wxWidgets does not fully support custom data view renderers there. The choice list is populated from the same registered command IDs used by other platforms, so automation commands use the normal command names without any macOS-specific lookup behavior.

Also fix a crash when deleting hotkeys on macOS by removing the item from the visible item list before erasing the underlying model object, avoiding a stale wxDataViewItem pointer being queried by NSOutlineView.

Use the native wxDataViewChoiceRenderer for the hotkey command column on
macOS, since wxWidgets does not fully support custom data view renderers
there. The choice list is populated from the same registered command IDs
used by other platforms, so automation commands use the normal command
names without any macOS-specific lookup behavior.

Also fix a crash when deleting hotkeys on macOS by removing the item from
the visible item list before erasing the underlying model object, avoiding
a stale wxDataViewItem pointer being queried by NSOutlineView.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Command field in hotkey list has no autocomplete on mac

1 participant