bugGNU Octave - Bugs: bug #35856, incorrect text position with...

 
 

bug #35856: incorrect text position with "units", "normalized"

Submitter:  Muhali <muhali>
Submitted:  Thu 15 Mar 2012 09:10:12 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 21 Mar 2012 12:23:44 AM UTC, comment #5: 
Konstantinos Poulios <logari81>
Tue 20 Mar 2012 07:28:06 PM UTC, comment #4: 

it is not subplot specific, this also reproduces the problem:

graphics_toolkit fltk;
plot(0.05*[0 1])
t1=title("T1", "units", "normalized");
t2=title("T2");

I think there is some bug with looseinset in sync_positions and units, I will try to find a fix.

Konstantinos Poulios <logari81>
Sun 18 Mar 2012 12:01:48 AM UTC, comment #3: 

hmmm ... I reverted my archive back to 3.6.0. The test fails there, but passes for the 3.6.0 I downloaded from sourceforge.

Maybe this isn't a regression ?

Ben Abbott <bpabbott>
Group Member
Sat 17 Mar 2012 04:09:40 PM UTC, comment #2: 

I'm wrong about the origin of this bug.

The bug is present in 3.6.1 but not in 3.6.0. The changeset 7a49519913e3 is not present in the stable (3-6-x) branch.

I'll start bisecting to isolate the regression.

Ben Abbott <bpabbott>
Group Member
Thu 15 Mar 2012 11:58:28 PM UTC, comment #1: 

I verified that this bug is not present in 3.6.0.

I haven't looked at the code, but after experimented and looked at the values for the text object's position and extent, my guess is that the text objects units are assumed to be "data".

I suspect a regression due to the changeset below.

http://hg.savannah.gnu.org/hgweb/octave/rev/7a49519913e3


Ben Abbott <bpabbott>
Group Member
Thu 15 Mar 2012 09:10:12 PM UTC, original submission:  

The following code


graphics_toolkit fltk;
subplot(1, 2, 1)
plot(0.05*[0 1])
title("T1", "units", "normalized") ;
subplot(1, 2, 2)
plot(0.05*[0 1])
title("T2") ;


removes the first and incorrectly positions the second plot in the lower right corner.

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 rik5 (Updated the item)
  • -email is unavailable- added by logari81 (Posted a comment)
  • -email is unavailable- added by bpabbott (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 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-03-25 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2012-03-18 bpabbott Severity4 - Important 3 - Normal
        Priority7 - High 5 - Normal
        Release3.6.1 dev
    2012-03-17 bpabbott Severity3 - Normal 4 - Important
        Priority5 - Normal 7 - High
        Releasedev 3.6.1
    2012-03-15 bpabbott StatusNone Confirmed
        Operating SystemGNU/Linux Any

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code