bugGNU Octave - Bugs: bug #45226, Figure "save as" menu...

 
 

bug #45226: Figure "save as" menu prints the currentfigure

Submitter:  Pantxo Diribarne <pantxo>
Submitted:  Mon 01 Jun 2015 10:55:25 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  pantxo
Originator Name:  Open/Closed:  * Closed
Release:  * 4.0.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 02 Jun 2015 04:50:01 PM UTC, comment #3: 

Retagging release from 4.0.0-rc4 to 4.0.0.

John W. Eaton <jwe>
Group administrator
Mon 01 Jun 2015 09:57:12 PM UTC, comment #2: 

I have pushed a simple fix on the stable branch:
http://hg.savannah.gnu.org/hgweb/octave/rev/4c2d39de1e96

Closing report.

Pantxo Diribarne <pantxo>
Group Member
Mon 01 Jun 2015 06:19:17 PM UTC, comment #1: 

Using Ctrl+C to copy a figure to clipboard will also copy the actual currentfigure, not the one which has focus.

Pantxo Diribarne <pantxo>
Group Member
Mon 01 Jun 2015 10:55:25 AM UTC, original submission:  

This is on a self built 4.0 release. When one tries to print a figure using the "save as" item in the "File" menu of a figure window, the current figure (the one pointed by "gcf" function) is printed instead of the one associated with the window of the menu.

Steps to reproduce: draw 2 figures


figure (1); axes (); title ("Fig 1")
figure (2); axes (); title ("Fig 2") # figure 2 is now the current figure


Now, try to print figure 1 using the File menu : the output has title "Fig 2".

In Matlab (tested on R2013A) selecting a figure window with the mouse (and thus a menu) or navigating windows using Alt+tab makes the figure associated with the last window having focus current.
I don't know if this behavior is desirable in Octave. If so this bug will be solved at the same time. Thoughs?
 


Pantxo Diribarne <pantxo>
Group Member

 

(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 jwe (Posted a comment)
  • -email is unavailable- added by pantxo (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
    2015-06-02 jwe Release4.0.0-rc4 4.0.0
    2015-06-01 pantxo StatusNone Fixed
        Open/ClosedOpen Closed
    2015-06-01 pantxo Assigned toNone pantxo

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code