0

Background image redraw bug?



I'm experiencing an issue where I have a .png file taking up the entire background of my screen layout via an roImagePlayer object and I am overlaying an roTextWidget with a semi-transparent background over a portion of the image. The display and transparency work properly, but when I hide() the TextWidget (it's like a channel change indicator kind of thing, so after a couple of seconds, the textwidget has to be dismissed from the screen once it's informed you of the new "channel"/image you're on) there's a solid black rectangle left where the textwidget was. This doesn't happen over video, which is why I'm pretty sure it's a redraw/blit issue - since the video is constantly redrawing. Is there a suggested fix for this behaviour? It'll be kind of messy to get my state controller to call another DisplayImage() after the status bar is dismissed, but I suppose I can hack it that way if necessary ... ideally, the screen buffers would properly redraw themselves in this situation though and I wouldn't have to do any extra work to recover from the dismissal of an on-screen object. Thanks! P.S. This is occuring on an HD1010 using the latest 3.2.67 firmware.

3 comments

  • 0
    Avatar
    jkominar


    Ok - it seems the issue can be worked around by using the PlayStaticImage() method on a video layer to render your image, rather than using an roImagePlayer ... however, this is probably still a bug that should remain on a to-do list somewhere.  I'm not yet sure if there are any other ramifications of using a Video object that I haven't stumbled across yet rather than a proper Image object to render images...
  • 0
    Avatar
    RokuLyndon


    The text transparency doesn't work over images unless the image is a background for the text widget. Or, you can set the color of the text box to match the color of th eimage beneath it, bu tthat only works if it's  a solid color.
  • 0
    Avatar
    jkominar


    This isn't an issue about transparency or not though ... it's an issue of the textWidget's physical space not being redrawn after the object is hidden, leaving a black rectangle equal to the dimensions of the widget on top of the background image.
Please sign in to leave a comment.