Skip to content

Fix CTRL+TAB assertion failure#3969

Open
mimosius wants to merge 1 commit into
eranif:masterfrom
mimosius:ctrl_tab_assertion_fix
Open

Fix CTRL+TAB assertion failure#3969
mimosius wants to merge 1 commit into
eranif:masterfrom
mimosius:ctrl_tab_assertion_fix

Conversation

@mimosius

@mimosius mimosius commented Jun 3, 2026

Copy link
Copy Markdown
  • Change AddPendingEvent to ProcessEvent for wxEVT_ACTIVE_EDITOR_CHANGED to ensure immediate, synchronous processing of the editor change event. It fixes a CTRL-TAB assertion failure on wxGTK (wx3.2).

  • Refactor NotebookNavigationDlg instantiation from heap allocation to stack allocation.

* Change `AddPendingEvent` to `ProcessEvent` for `wxEVT_ACTIVE_EDITOR_CHANGED`
  to ensure immediate, synchronous processing of the editor change event.
  It fixes a CTRL-TAB assertion failure on wxGTK (wx3.2).

* Refactor `NotebookNavigationDlg` instantiation from heap allocation to stack
  allocation.
@mimosius mimosius force-pushed the ctrl_tab_assertion_fix branch from dcc1043 to dae4618 Compare June 12, 2026 22:35
@eranif

eranif commented Jun 13, 2026

Copy link
Copy Markdown
Owner

This is one of the most "common" events set by CodeLite - changing it might change affect other places. @Jarod42 please don't push this one just yet.

@mimosius

Copy link
Copy Markdown
Author

You also used the patch I proposed in #3815. @kosilin just mentioned the CTRL+TAB assertion, so I looked for a workaround. So far, I have only tested it on wxGTK 3.2.8.x and wx3.3 git.

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.

3 participants