[mythtv-commits] Ticket #12864: Screen paint problem with QT painter and certain themes

MythTV noreply at mythtv.org
Fri Sep 2 14:03:54 UTC 2016


#12864: Screen paint problem with QT painter and certain themes
---------------------------------------------+--------------------------
 Reporter:  pbennett                         |          Owner:  pbennett
     Type:  Bug Report - General             |         Status:  new
 Priority:  minor                            |      Milestone:  0.28.1
Component:  MythTV - User Interface Library  |        Version:  0.28.0
 Severity:  medium                           |     Resolution:
 Keywords:                                   |  Ticket locked:  0
---------------------------------------------+--------------------------

Comment (by pbennett):

 This problem is caused by incorrect calculation of the dialog size. The
 dialog size is being recalculated during painting, but after the dialog
 outline and background have already been painted. I solved it by adding a
 call to calculate the dialog size earlier, to fix the error for dynamic
 dialogs and menus. This could potentially happen with anything that uses a
 button list. !MythDialogBox dialogs and menus are the only places I found
 where a button list is used in a dynamic layout.

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


More information about the mythtv-commits mailing list