bugGNU Octave - Bugs: bug #37007, Color property does not work for...

 
 

bug #37007: Color property does not work for text objects (OpenGl)

Submitted by:  Rik <rik5>
Submitted on:  Wed 01 Aug 2012 12:26:12 AM 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:  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.

 

Mon 24 Jun 2013 04:14:51 AM UTC, comment #5:

Just to confirm that this fixes the problem
reported in #39315.

Sorry about the duplication...

Michael Godfrey <godfrey>
Project Member
Mon 24 Jun 2013 02:40:58 AM UTC, comment #4:

Okay, I changed the cset to make the call to update_text_extent in graphics.in.h (http://hg.savannah.gnu.org/hgweb/octave/rev/4c51eaffa9e4). Closing report and associated duplicates.

Rik <rik5>
Project Administrator
Mon 24 Jun 2013 01:37:28 AM UTC, comment #3:

I was suggesting to modify graphics.in.h and add update_text_extent in the updater update_color, similar to what's done for other properties.

Michael Goffioul <goffioul>
Project Member
Mon 24 Jun 2013 01:31:06 AM UTC, comment #2:

I made a quick changeset which forcibly calls update_text_extent and it seems to work. See the attached. If you think this is okay I'll commit it in the next day or so.

(file #28397)

Rik <rik5>
Project Administrator
Mon 24 Jun 2013 12:58:51 AM UTC, comment #1:

I suppose that text::properties::update_color method should also call update_text_extent, as the latter is responsible for regenerating the internal cached rendered version of the text.

Michael Goffioul <goffioul>
Project Member
Wed 01 Aug 2012 12:26:12 AM UTC, original submission:

The Color property for a text object should change the font color to the specified Color. Instead, all text is black in Octave.

Sample Code:

The graphic property is updated correctly, but the color itself is unchanged.

Rik <rik5>
Project Administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #28397:  text_color.cset added by rik5 (809B - application/octet-stream)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by godfrey (Posted a comment)
  • -email is unavailable- added by goffioul (Posted a comment)
  • -email is unavailable- added by rik5 (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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-24 rik5 StatusIn Progress => Fixed
        Open/ClosedOpen => Closed
    2013-06-24 rik5 Dependencies- => bugs #38683 is dependent
    2013-06-24 rik5 Attached File- => Added text_color.cset, #28397
        StatusNone => In Progress
    2013-06-24 rik5 Dependencies- => bugs #38264 is dependent
    2013-06-23 rik5 CategoryPlotting => Plotting with OpenGL
        Severity1 - Wish => 3 - Normal
        SummaryColor property does not work for text objects => Color property does not work for text objects (OpenGl)

    Back to the top


    Powered by Savane 3.3