Opened 7 years ago

Closed 3 years ago

Last modified 3 years ago

#10485 closed Patch - Feature (fixed)

Improve gui logging for themer

Reported by: Xavier Hervy <xavier.hervy@…> Owned by: stuartm
Priority: minor Milestone: 0.28
Component: MythTV - User Interface Library Version: Master Head
Severity: medium Keywords: theme mythui
Cc: Ticket locked: no

Description

When creating a new theme, it can be difficult what widget are missing but more importantly where.

At the moment the logging look like:

2012-03-20 23:25:32.637221 N  Container 'exit prompt' is missing child 'title'

In this example, 'exit prompt' is the name of the MythDialogBox? object, but the name of the window in the xml file is not displayed which make the themer work more difficult as he need to browse the source code to figure out what window in incriminated. This patch replace the log by:

2012-03-20 23:25:32.637221 N  Container 'MythPopupBox' is missing child 'title'

Attachments (1)

mythuiutil.diff (3.1 KB) - added by Xavier Hervy <xavier.hervy@…> 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Xavier Hervy <xavier.hervy@…>

Attachment: mythuiutil.diff added

comment:1 Changed 6 years ago by stuartm

Milestone: unknown0.28

comment:2 Changed 3 years ago by Paul Harrison <pharrison@…>

Resolution: fixed
Status: newclosed

In c4ef803e4b4b07d04a514f0f2db117fcb466e064/mythtv:

Improve gui logging for themers

The log message now shows the actual xml name of the container and also the
file and line number of the container it's missing from eg :-

Container 'MythPopupBox?' is missing child 'messagearea' at base.xml:741

Fixes #10485

comment:3 Changed 3 years ago by Paul Harrison <pharrison@…>

In 92d84623d4acc9de2fc59aa495150181f9b28ee1/mythtv:

Improve gui logging for themers

The log message now shows the actual xml name of the container and also the
file and line number of the container it's missing from eg :-

Container 'MythPopupBox?' is missing child 'messagearea' at base.xml:741

Fixes #10485

(cherry picked from commit c4ef803e4b4b07d04a514f0f2db117fcb466e064)

Note: See TracTickets for help on using tickets.