[mythtv-commits] Ticket #12424: Replacement Gallery using MythUI & Storage Groups

MythTV noreply at mythtv.org
Wed Dec 16 16:01:59 UTC 2015


#12424: Replacement Gallery using MythUI & Storage Groups
-------------------------------------------+-----------------------------
 Reporter:  Roger Siddons <dizygotheca@…>  |          Owner:  rsiddons
     Type:  Patch - Feature                |         Status:  assigned
 Priority:  minor                          |      Milestone:  0.28
Component:  Plugin - MythGallery           |        Version:  Master Head
 Severity:  medium                         |     Resolution:
 Keywords:                                 |  Ticket locked:  0
-------------------------------------------+-----------------------------

Comment (by Roger Siddons <rsiddons@…>):

 In [changeset:"59edfabaa6a90e6fdb4a3fe00dd9871b98e31a49/mythtv"]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="59edfabaa6a90e6fdb4a3fe00dd9871b98e31a49"
 MythUI: Don't draw empty text

 Text items containing only spaces result in errors:

 QPainter::begin: Paint device returned engine == 0, type: 3
 2015-10-10 16:50:23.512923 E  MythPainter::GetImageFromTextLayout: Invalid
 canvas.
 2015-10-10 16:50:23.512939 D  MythPainter::DrawTextLayout: Rendered image
 is null.

 The QRect created by the formatting is empty but not null and we shouldn't
 try to render it.

 (Empty photo EXIF comments are typically 100+ spaces).

 Refs #12424
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12424#comment:16>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list