Plot drifts as focus in/out of the window


#1
$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.1.0-DEV.199 (2018-09-06)
 _/ |\__'_|_|_|\__'_|  |  Commit 4c02077a3a (4 days old master)
|__/                   |

julia> using Plots

julia> gr()
Plots.GRBackend()

julia> plot(randn(10))
qt5ct: using qt5ct plugin

Now the plot window appears (with the newest version call to gui() seems not necessary)

Then as I move the mouse in and out of the plot window (I set focus to follow mouse on the XFCE4), the plot drifts/shrinks somewhat within the wondow.

Now if I call gui(), the drift/shrink becomes more severe.

In this case, I can only stop the drift/shrink behavior by manually resize the window.

If I call

closeall()
gui()

after plot, then there is no drift.

I have been having for quite some long time, perhaps since the beginning of Julia 0.7 and the earlier versions of Plots and GR. Now I am on a nightly build of 1.1.0 and the latest Plots and GR, it is still the same.

Hasn’t anyone notice this?


#2

So, no one experienced this? Then it’s must be due to my local settings. Probably because I am running Qt on XFCE4? No one use XFCE4?