#1081 Qt: resizing makes plot "tremble/shake"

qt (5)
Mojca Miklavec

When I magnify plotting area in Qt terminal, it seems that there are two processes competing:
- Qt tries to center the plot (and move upper left corner towards down and right)
- gnuplot replots it to make it bigger

The first effect usually happens if something is configured to be centered (as opposed to be attached to left & top border). This is indeed very useful when replotting is switched off, so that even if one resizes the plot in one direction, it stays nicely centered. But when auto resize is off, the effect is somewhat annoying.

This is a low priority, and might be easy to fix (just one or two settings of how the plot is placed on canvas).

I have some problems explaining the problem without sending a video.


  • Ethan Merritt
    Ethan Merritt

    • status: open --> pending-works-for-me
    • Group: --> 5.0
  • Ethan Merritt
    Ethan Merritt

    Qt resizing code has been re-written.
    Please re-evaluate whether this problem still exists.

  • On Windows, I am experiencing something similar: when dragging the window frame with the mouse to enlarge the window, the plot "shakes": the plot is redrawn and the window is temporarily resized (made smaller) again. This does not happen when making the window smaller.

    • labels: --> qt
    • status: pending-works-for-me --> pending
    • Priority: 5 --> 6
  • This problem still applies on Windows.

  • Attached is a screen video showing the problem. Replot on resize is turned on.