bugGNU Octave - Bugs: bug #48067, hgload'ed figure does not refresh...

 
 

bug #48067: hgload'ed figure does not refresh (qt)

Submitter:  Muhali <muhali>
Submitted:  Tue 31 May 2016 05:41:46 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.2 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 03 Mar 2019 06:51:56 PM UTC, comment #5: 

Closing report as fixed.

Pantxo Diribarne <pantxo>
Group Member
Sun 03 Mar 2019 03:37:21 PM UTC, comment #4: 

it works now. Thanks!

Muhali <muhali>
Sun 03 Mar 2019 07:42:57 AM UTC, comment #3: 

Version 4.0.2 is deprecated and no longer supported.  Please try with the latest stable release which is 5.1.0.  The problem seems to be fixed for me.

Rik <rik5>
Group administrator
Wed 01 Jun 2016 04:26:18 PM UTC, comment #2: 

Also confirmed, this only affects the qt toolkit.  The fltk toolkit correctly draws the second figure.

Rik <rik5>
Group administrator
Wed 01 Jun 2016 04:17:00 PM UTC, comment #1: 

Confirmed.  The _modified_ property of the figure is set to "on".  Using drawnow() or refresh() does change the _modified_ property to "off", but the figure is still not redrawn.  Only moving the figure or shifting the focus from the Command Window to the Figure Window and back again will truly cause an update.

Rik <rik5>
Group administrator
Tue 31 May 2016 05:41:46 PM UTC, original submission:  

when using hgsave and hgload as in the script below, the second figure is only refreshed (and identical to the first) when moving the figure window using the mouse.


graphics_toolkit qt
clear
set(0, "defaultfigureunits", "normalized") ;

x = randn(10,2) ;

figure(1, "position", [0.5 0.5 0.4 0.2]) ;
subplot(1,2,1) ;
scatter(x(:,1), x(:,2)) ;
axis square ; axis([-3 3 -3 3]) ;

subplot(1,2,2) ;
scatter(x(:,1), x(:,2)) ;
axis square ; axis([-3 3 -3 3]) ;

hgsave(gcf, "foo.ofig") ;
hgload("foo.ofig") ;


Muhali <muhali>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by muhali (Submitted the item)
  •  

    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 group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-03 pantxo StatusWorks For Me Fixed
        Open/ClosedOpen Closed
    2019-03-03 rik5 StatusConfirmed Works For Me
    2016-06-01 rik5 StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code