Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#9874 closed Bug Report - General (Invalid)

Many themes ignore 'UserJob' descriptions in the "Post Processing" editor window

Reported by: fraser@… Owned by:
Priority: minor Milestone: unknown
Component: Themes Version: 0.24
Severity: low Keywords: UserJob, Themes
Cc: Ticket locked: no

Description

I've setup a user Job and given it a name.

Many themes, including the 'MythCenter?-wide' theme that I am using, are configured to show a hard-coded 'label' for the User Job instead of the configurable text (out of the settings table)

The schedule-ui.xml has:

        <textarea name="userjob1label" from="basetextarea">
            <area>300,448,450,30</area>
            <value>Run User Job #1</value>
        </textarea>

As per http://www.mythtv.org/wiki/Schedule-ui.xml#The_.22postproceditor.22_window This should be:

        <textarea name="userjob1text" from="basetextarea">
            <area>300,448,450,30</area>
        </textarea>

That is, the textarea name should be "userjob1text" not "userjob1label", and there is no need to supply a value.

to see which themes have hard-coded user job names in the UI definition, just do: grep -c userjob1label */schedule-ui.xml from the mythtv themes directory (eg /usr/share/mythtv/themes). Themes with a non zero result are affected.

mine has the following

/usr/share/mythtv/themes# grep -c userjob1label */schedule-ui.xml
Arclight/schedule-ui.xml:1
Childish/schedule-ui.xml:1
default/schedule-ui.xml:1
default-wide/schedule-ui.xml:1
Graphite/schedule-ui.xml:1
metallurgy/schedule-ui.xml:0  <= this one is ok
Mythbuntu/schedule-ui.xml:1
MythCenter/schedule-ui.xml:1
MythCenter-wide/schedule-ui.xml:1
Terra/schedule-ui.xml:0  <= so is this one

Change History (2)

comment:1 Changed 13 years ago by robertm

Resolution: Invalid
Status: newclosed

This is a matter of style. Themes are free to display whatever label they want.

comment:2 Changed 13 years ago by fraser@…

instead of the actual name as defined in mythtv-settings? ok, fair enough.

Note: See TracTickets for help on using tickets.