bugGNU Octave - Bugs: bug #55848, zoom inside the legend box messes...


bug #55848: zoom inside the legend box messes up legend

Submitted by:  Dmitri A. Sergatskov <dasergatskov>
Submitted on:  Thu 07 Mar 2019 04:15:27 AM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

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


Thu 07 Mar 2019 09:21:29 PM UTC, comment #5: 

Does it apply to stable? It would be nice to fix this in 5.1.1


Dmitri A. Sergatskov <dasergatskov>
Thu 07 Mar 2019 08:46:53 PM UTC, comment #4: 

Thanks, I pushed the patch here:


Closing report as fixed.

Pantxo Diribarne <pantxo>
Project Member
Thu 07 Mar 2019 07:46:45 PM UTC, comment #3: 

This has been a known problem for a while.  It would be nice to fix this up.

Rik <rik5>
Project Administrator
Thu 07 Mar 2019 05:39:00 PM UTC, comment #2: 

Tested, solves the problem for me.

Mike Miller <mtmiller>
Project Administrator
Thu 07 Mar 2019 03:39:02 PM UTC, comment #1: 

I attached a simple patch that fixes the issue for me. I'll push it soon if someone can confirm it works.

(file #46453)

Pantxo Diribarne <pantxo>
Project Member
Thu 07 Mar 2019 04:15:27 AM UTC, original submission:  

With qt graphics
If you do "plot(1:10, ";junk1;"), then click on "Z+" and zoom starting within the legend box.
The legend will get completely messed up -- text will go elswhere.
The plot will remain unchanged. I am not sure what Matlab does, but it does not look like a desired behaviour.

I noticed this bug was already present in 4.2.2 and it is still in
current stable (b4a9888bb3c9 (stable)) and dev (0adb232f93b9 tip).


Dmitri A. Sergatskov <dasergatskov>


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

Attach Files:

Attached Files
file #46453:  zoom_legend.patch added by pantxo (2KiB - 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 rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (Updated the item)
  • -email is unavailable- added by dasergatskov (Submitted the item)

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

    Only project members can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-07 pantxo StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2019-03-07 pantxo Attached File- => Added zoom_legend.patch, #46453
        StatusNone => Confirmed
        Releaseother => dev

    Back to the top

    Powered by Savane 3.6