wxStyledTextCtrl and predictive text problem on Mac (wx 3.2.6, MacOS 15.3).

42 views
Skip to first unread message

Tony Kennedy

unread,
Feb 26, 2025, 6:25:48 AM2/26/25
to wx-users
Hi all,

I've got a problem on the Mac with a wxStyledTextCtrl. The control is placed in a wxPanel which is in a wxAuiNotebook and is part of a modal dialog.

It works perfectly on Windows and Linux. But on the Mac, the popup showing the predictive text shows up behind the dialog. But if I switch to a different application and back to mine, the popup shows correctly on top of the wxStyledTextCtrl.

I haven't got a clue where to even start looking to try and fix this. Has anyone else experienced this?

Thanks in advance,

Tony.

Tony Kennedy

unread,
Feb 26, 2025, 8:26:24 AM2/26/25
to wx-users
I should add, the sample works fine.

I've tried all sorts of things (Raise, CallAfter etc) to get this to work. Driving me nuts!

Tony.

Tony Kennedy

unread,
Feb 26, 2025, 8:55:13 AM2/26/25
to wx-users
I've managed to recreate the problem using the sample by creating a small dialog, adding the wxStyledTextCtrl and then hitting the # key to display the autocomplete list. The list appears under the dialog.

I'm not sure what the correct procedure is to submit this as a bug.

All the best,

Tony.

PS. I've attached an image and the diff file.

wxStyledTextCtrl_MacBug_AutoCompFloatUnderDialog.diff
wxStyledTextCtrl_MacBug_AutoCompFloatUnderDialog.jpg

Tony Kennedy

unread,
Feb 26, 2025, 9:26:33 AM2/26/25
to wx-users
And I've managed to submit an issue. Hopefully I've done everything correctly.

Tony.

Reply all
Reply to author
Forward
0 new messages