bugGNU Octave - Bugs: bug #33232, gtext('bla\nbla') different in...

 
 

bug #33232: gtext('bla\nbla') different in gnuplot and fltk

Submitted by:  kloof <kloof>
Submitted on:  Wed 04 May 2011 04:56:27 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.4.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 30 Sep 2011 05:06:02 PM UTC, comment #2:

Fixed in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/b6efe55f97c7). Reporter can build from development sources or wait for the 3.6 release in December 2011 to see the fix.

Rik <rik5>
Project Administrator
Thu 05 May 2011 02:38:30 AM UTC, comment #1:

This is a duplicate of bug #31468. Multi-line text objects are possible with gnuplot, but have not been coded for the FLTK toolkit yet.

Rik <rik5>
Project Administrator
Wed 04 May 2011 04:56:27 PM UTC, original submission:

I used to insert '\n' in a string to get a items beneath each other with text() of gtext().

gnuplot does this, but the FLTK graphics_toolkit does not use the newlines.

---- below is what demonstrates the issue (when changing gnuplot to fltk).

I think there should be 1 policy here, independent of the backend.

kloof <kloof>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by kloof (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 30 Sep 2011 05:06:02 PM UTCrik5CategoryPlotting with gnuplot=>Plotting with OpenGL
      StatusDuplicate=>Fixed
      Open/ClosedOpen=>Closed
      Summarygtext(\'bla\\nbla\') different in gnuplot and fltk=>gtext('bla\nbla') different in gnuplot and fltk
    Thu 05 May 2011 02:38:30 AM UTCrik5StatusNone=>Duplicate
      Summarygtext(\'bla\\nbla\') different in gnuplot and fltk=>gtext('bla\nbla') different in gnuplot and fltk
      Dependencies-=>Depends on bugs #31468

    Back to the top


    Powered by Savane 3.1-cleanup1