bugGNU Octave - Bugs: bug #34001, fltk plot window title does not...

 
 

bug #34001: fltk plot window title does not update with changed figure name

Submitter:  Vanya Sergeev <vsergeev>
Submitted:  Fri 12 Aug 2011 11:50:08 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:  * 3.4.2 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 15 Aug 2011 07:03:56 PM UTC, comment #1: 

I have pushed this change. Thanks for finding and fixing.

Kai

Kai Habel <kahacjde>
Group Member
Fri 12 Aug 2011 11:50:08 PM UTC, original submission:  


octave:1> graphics_toolkit ("fltk")
octave:2> plot([1,2,3,4,5])
octave:3> set(gcf, 'name', 'test')


I was expecting the window title to update to "Figure 1: test", but the window title remains as "Figure 1".

Attached is a patch with a tiny fix (of a typo maybe?) to ensure the window's set_name() method is called when there are changes with the figure properties name field. This fixes it for me.

Thanks,
~vsergeev

Vanya Sergeev <vsergeev>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #23797:  fltk_figure_window_title_update.patch added by vsergeev (820B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kahacjde (Posted a comment)
  • -email is unavailable- added by vsergeev (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-15 kahacjde StatusNone Fixed
        Open/ClosedOpen Closed
    2011-08-12 vsergeev Attached File- Added fltk_figure_window_title_update.patch, #23797

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code