[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/
- [Octave-bug-tracker] [bug #48778] Growing plot window in Qt toolkit and Qt5, Dan Sebald, 2016/08/14
- [Octave-bug-tracker] [bug #48778] Growing plot window in Qt toolkit and Qt5, Dmitri A. Sergatskov, 2016/08/14
- [Octave-bug-tracker] [bug #48778] Growing plot window in Qt toolkit and Qt5, Dmitri A. Sergatskov, 2016/08/14
- [Octave-bug-tracker] [bug #48778] Growing plot window in Qt toolkit and Qt5,
Dan Sebald <=
- Message not available
- [Octave-bug-tracker] [bug #48778] Growing plot window in Qt toolkit and Qt5, Dmitri A. Sergatskov, 2016/08/14
- [Octave-bug-tracker] [bug #48778] Growing plot window in Qt toolkit and Qt5, Dan Sebald, 2016/08/14
- [Octave-bug-tracker] [bug #48778] annotation() causes figure window to resize when moved with Qt 5, Mike Miller, 2016/08/15
- [Octave-bug-tracker] [bug #48778] annotation() causes figure window to resize when moved with Qt 5, Pantxo Diribarne, 2016/08/18
- [Octave-bug-tracker] [bug #48778] annotation() causes figure window to resize when moved with Qt 5, Pantxo Diribarne, 2016/08/18
- [Octave-bug-tracker] [bug #48778] annotation() causes figure window to resize when moved with Qt 5, Rik, 2016/08/23
- [Octave-bug-tracker] [bug #48778] annotation() causes figure window to resize when moved with Qt 5, Dmitri A. Sergatskov, 2016/08/23
- [Octave-bug-tracker] [bug #48778] annotation() causes figure window to resize when moved with Qt 5, Rik, 2016/08/23
- [Octave-bug-tracker] [bug #48778] annotation() causes figure window to resize when moved with Qt 5, Dan Sebald, 2016/08/24
- [Octave-bug-tracker] [bug #48778] annotation() causes figure window to resize when moved with Qt 5, Rik, 2016/08/24