Menu

#2240 Zoombox doesn't appear with wxterm under GTK3

None
closed-fixed
nobody
v5.4 (25)
2020-07-16
2020-03-18
No

When using gnuplot-wx 5.2.8 build with GTK3, the zoombox doesn't seem to be drawn. Steps to reproduce:

  1. Run gnuplot-wx
  2. plot sin(x)
  3. Right drag on window
  4. Box doesn't appear

This might be because wxINVERT is not supported under wxGTK3. See:
https://github.com/wxWidgets/wxWidgets/blob/master/interface/wx/dc.h#L1517

Discussion

  • Ethan Merritt

    Ethan Merritt - 2020-03-19

    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.

     
  • Ethan Merritt

    Ethan Merritt - 2020-03-19
    • status: open --> pending-fixed
    • Group: -->
    • Priority: -->
     
  • Scott Talbert

    Scott Talbert - 2020-03-28

    I tested with 0d93b4c5c3a365d5278d7d930634b7ecc1c36cc0 on a gtk3 build. Unfortunately, it doesn't seem to resolve the problem.

     
  • Ethan Merritt

    Ethan Merritt - 2020-03-28

    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?

     
  • Scott Talbert

    Scott Talbert - 2020-03-28

    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.

     
    • Ethan Merritt

      Ethan Merritt - 2020-03-28

      Wayland issues are way outside my area of knowledge.

       
  • Ethan Merritt

    Ethan Merritt - 2020-07-16
    • Labels: --> v5.4
    • Status: pending-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB