I was able to reproduce the problem with a gtk3 build here, and confirmed the fix.
The machine used for testing has
libwx_gtk3u_core-3.0.so.0
libwebkit2gtk-4.0.so.37 (not sure this is relevant)
Do you have a different version?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How annoying.
Well there's already a work-around in the code for use with Mac+Cocoa+wx2.9.
We can use it for gtk3 also.
I tested with 0d93b4c5c3a365d5278d7d930634b7ecc1c36cc0 on a gtk3 build. Unfortunately, it doesn't seem to resolve the problem.
I was able to reproduce the problem with a gtk3 build here, and confirmed the fix.
The machine used for testing has
libwx_gtk3u_core-3.0.so.0
libwebkit2gtk-4.0.so.37 (not sure this is relevant)
Do you have a different version?
Okay, my bad. I completely failed to apply the patch properly. Sorry about that.
Now that I've done so, the zoom box is now visible when using X11, but unfortunately not when using Wayland.
Wayland issues are way outside my area of knowledge.