bugGNU Octave - Bugs: bug #58822, legend misplaced in demo area 1

 
 

bug #58822: legend misplaced in demo area 1

Submitter:  Rik <rik5>
Submitted:  Fri 24 Jul 2020 05:58:00 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 6.0.90 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 06 Aug 2020 06:02:51 PM UTC, comment #3: 

Thanks for fixing this.  I meant to come back and close this but got distracted.

Rik <rik5>
Group administrator
Thu 06 Aug 2020 10:46:56 AM UTC, comment #2: 

@Rik: I just saw that you had pushed the patch to stable and merged with default. Thank you. Can this report be closed?

Pantxo Diribarne <pantxo>
Group Member
Sun 02 Aug 2020 02:24:50 PM UTC, comment #1: 

This is a regression I introduced in cset 26d69b0a3e8d. The attached patch, meant to be applied on stable, fixes it for me.

(file #49608)

Pantxo Diribarne <pantxo>
Group Member
Fri 24 Jul 2020 05:58:00 PM UTC, original submission:  

At first, "demo area 1" was failing to execute because the number of inputs to the legend.m subfunction boxposition was sometimes too many.  I changed the function prototype for boxposition like so


-function pos = boxposition (axpos, pba)
+function pos = boxposition (axpos, pba, ~)


to resolve that issue.  This was in changeset 28595:4deb794d85e2.

Now that the code is back to running, it no longer runs correctly.  The legend is supposed to be placed in the location "NorthEastOutside", but instead is inside the plotbox, but too high up.

To reproduce, try "demo area 1".

Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #49608:  bug58822.patch added by pantxo (5KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Updated the item)
  • -email is unavailable- added by rik5 (Submitted the item)
  • -email is unavailable- added by rik5
  •  

    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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-08-06 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2020-08-06 pantxo StatusPatch Submitted Ready For Test
    2020-08-02 pantxo Attached File- Added bug58822.patch, #49608
        CategoryOctave Function Plotting with OpenGL
        StatusConfirmed Patch Submitted
        Releasedev 6.0.90
    2020-07-24 rik5 Carbon-Copy- Added pantxo

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code