Add a New Comment (Rich Markup)
Comment Type & Canned Response: None None > Multiple Canned Responses Fixed in development Crash with no stack trace Already fixed in newer version Fixed in stable Bad description Bad description and crash Bad stack trace Obsolete version Duplicate and not fixed Duplicate and needs more info Duplicate and fixed Need info and old
( Jump to the original submission )
Closing report as fixed.
c815d3e06c53 fixes the issue for me
It (hg id 1d1eff97670e) works for me as well.
Dmitri. --
The following changeset appears to fix the problem for me.
http://hg.savannah.gnu.org/hgweb/octave/rev/1d1eff97670e
Bisection:
Last good revision is hg id 3105755fa5f1 . hg id d94ceed56929 broke it:
GLCanvas: avoid multiple inheritance from both QWidget and QObject(4 days ago) Author John W. Eaton <jwe@octave.org> Date January 20, 2023 8:49 AM (4 days ago) Repository https://hg.savannah.gnu.org/hgweb/octave Branch default Revision d94ceed56929dbb6e4ef1261234fce2fb72957ba Properties Comment GLCanvas: avoid multiple inheritance from both QWidget and QObject To avoid having GLCanvas inherit from both QWidget and QObject, create a separate class, GLWidget, derived from QOpenGLWidget and use that as a member of GLCanvas instead of a base class. * Canvas.h (class Canvas): Derive from QWidget instead of QObject. (Canvas::Canvas): New argument for parent widget. Pass parent to QWidget base class constructor. * GLCanvas.h, GLCanvas.cc (class GLCanvas): Split QOpenGLWidget parts into separate GLWidget class. GLCanvas now processes things related to the interpreter and forwards to GLWidget for rendering. Use unwind_action objects to ensure OpenGL context is restored. (GLCanvas::m_glwidget): New data member for GLWidget. * libbgui/graphics/module.mk (OCTAVE_GUI_GRAPHICS_MOC): Add moc-GLCanvas.cc to the list. Changed files libgui/graphics/Canvas.h libgui/graphics/GLCanvas.cc libgui/graphics/GLCanvas.h libgui/graphics/module.mk
Confirm.
Still worked fine with hg id eb32cf98eed1.
recent dev does an incomplete redraw of the canvas on resizing, see the attached plot for a side-by-side comparison of 8.0.91 and 9.0.0, after resizing the initial plot window. octave-8 and octave-9 both built on the same platform with the same libraries.
tk = graphics_toolkit version = OCTAVE_VERSION hg_id = __octave_config_info__.hg_id [x,y,z] = sombrero; surf(x, y, z) title(['octave ' version]); pause
octave-8 output:
tk = qt version = 8.0.91 hg_id = bcb4becbcf94
octave-9 output:
tk = qt version = 9.0.0 hg_id = 56223b5a01d4
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only project members can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 4 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.10