bugGNU Octave - Bugs: bug #30343, fltk: refresh after axis command...

 
 

bug #30343: fltk: refresh after axis command doesn't do anything

Submitted by:  Søren Hauberg <hauberg>
Submitted on:  Sun 04 Jul 2010 10:48:37 AM UTC  
 
Category: InterpreterSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 31 Oct 2010 10:22:17 AM UTC, comment #3:

This bug has been fixed in 11167.

Konstantinos Poulios <logari81>
Project Member
Mon 25 Oct 2010 04:15:44 PM UTC, comment #2:

it seems that calling update_camera() after every modification of plotboxaspectratio solves the problem (see attached patch).

(file #21811)

Konstantinos Poulios <logari81>
Project Member
Thu 08 Jul 2010 09:46:23 PM UTC, comment #1:

This is confirmed on a recent tip (10777:f2a8f68d9c2b).

The problem seems to be with the refresh routines, rather than with 'axis equal'. At least on my machine, if I run the command and then use a mouse to resize the plot window then the axis command takes affect. I can restore the original axes by using 'axis square', but again I have to use a mouse to resize the plot window.

I tried using 'refresh' and 'drawnow' but they had no effect.

Rik <rik5>
Project Administrator
Sun 04 Jul 2010 10:48:37 AM UTC, original submission:

Hi All

It seems that if I do the following

plot ([1, 1.1], [0, 10])
axis equal

with the gnuplot backend, the axis change, but if I do the same with the fltk backend, nothing happens.

Søren

Søren Hauberg <hauberg>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21811:  bug30343.patch added by logari81 (1KiB - text/x-patch - patch against version 3.3.53 fixing this issue)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by logari81 (Updated the item)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by hauberg (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 31 Oct 2010 01:52:43 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Mon 25 Oct 2010 04:15:43 PM UTClogari81Attached File-=>Added bug30343.patch, #21811
    Thu 08 Jul 2010 09:46:23 PM UTCrik5Severity3 - Normal=>2 - Minor
      StatusNone=>Confirmed
      Summaryfltk: axis equal doesn\'t do anything=>fltk: refresh after axis command doesn't do anything

    Back to the top


    Powered by Savane 3.1-cleanup1