octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48778] Growing plot window in Qt toolkit and


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #48778] Growing plot window in Qt toolkit and Qt5
Date: Mon, 15 Aug 2016 02:41:12 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #3, bug #48778 (project octave):

OK, good to know.  I too have Gnome 3 on this system.  So, something
particular about Qt5 behavior is happening--something along the lines that the
window size is being adjusted depending upon what is drawn inside.  Now, we
should investigate what code is actually controlling that.  Could be desktop
code, could be Octave code.

In any case, it could still be that the Octave plotting/rendering code is
ultimately responsible for this.  I think I see what is happening.  Well, I
should say that I managed to make the expansion stop by moving the window. 
And when it stopped, the location text in the footer was only half visible. 
Somehow that is plotting area plus the footer is expanding, or maybe the
footer gets adjusted and then the Qt window is expanding along with it (maybe
there is a Qt window mode setting to control that behavior, i.e., expand the
window to match contents, or keep window size static).  We should look for
such a setting, and maybe that will be the simple solution to this.

What's causing this looks to be a feedback type of sequence.  This is only
happening with the four subplot case.  Activate rotation, and rotate one of
the subplot, say the bottom right.  Watch how that affects the top two plots. 
They get redrawn, probably because of the dynamic sizing of the space used by
the bottom right rotated figure.  (This is especially noticeable when rotating
one of the spheres in the first two demos.  The plot changes scale
dramatically and the location of the title will even change sometimes.  At
first I thought this behavior interesting, but after time I've come to not
like it at all.  Anyway...)  It's that dynamic adjustment of space that is
probably driving the remaining subplots to be redrawn with a pixel or two size
difference.  That, in turn, causes the window to adjust and redraw...but now
with the new dimensions it is some other subplot that changes size a little
bit.  This just keeps going on that way.  So, maybe if we get rid of that
changing scale with rotation/view behavior, this feedback will go away.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48778>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]