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

pending
nobody
qt (5)
6
2015-03-23
2012-01-11
Mojca Miklavec
No

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.

Discussion

  • Ethan Merritt
    Ethan Merritt
    2014-01-29

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

    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.