How to skin a cat?
Rob van der Does 23 Oct 2012
You can run E2 in console to see the huge number of skin errors due the the grouping (and hence not finding many items in over 50% of the screens). Of course a serial console is more convenient to read (and store).
Having said all that: I really don't know what the balance is regarding the use of resources and the resulting system performance: (slightly) less memory because of a smaller skin, bur more to do in the sense of looking for/not finding/reporting.
BuGless 23 Oct 2012
The 'grouping' you do only slightly reduces the amount of code-lines. The gain on that is there, but only very limited.
Agreed. However, keep in mind, that performance gains or losses in this case are not the reason I'm trying to do this. The main reason is maintainability and the ability to easily change something in the layout which propagates automatically to all screens.
You can run E2 in console to see the huge number of skin errors due the the grouping (and hence not finding many items in over 50% of the screens). Of course a serial console is more convenient to read (and store).
You mean, simply starting enigma2 from the command line? Do I need any commandline flags to make it report any problems to stderr?
Having said all that: I really don't know what the balance is regarding the use of resources and the resulting system performance: (slightly) less memory because of a smaller skin, bur more to do in the sense of looking for/not finding/reporting.
The impression I have so far is that the boxes usually have CPU to spare. In any case, the extra variable accesses I'm adding don't seem to amount to any significant slowdown (or speedup, for that matter).
Edited by BuGless, 23 October 2012 - 15:10.
BuGless 23 Oct 2012
You mean, simply starting enigma2 from the command line? Do I need any commandline flags to make it report any problems to stderr?
You can run E2 in console to see the huge number of skin errors due the the grouping (and hence not finding many items in over 50% of the screens). Of course a serial console is more convenient to read (and store).
Nevermind. Tried it, it works. Interesting. Thanks, this helps (a lot) in some cases to debug the skin.
BuGless 23 Oct 2012
Incidentally, it seems like I have found the reason things go haywire when rendering a <widget source="key_red"> whilst the only definition available is a <widget name="key_red">. It seems that in the cases where the "source" one blows up, beyond the enclosing bounding box, the "name" one had been assigned an instance of Button instead of StaticText. Still need to figure out how to compensate in the Button class (any hints would be appreciated).
Looking at the newfound console output, it shows:
[Skin] SKIN ERROR in ChannelSelection: 'Button' object has no attribute 'connectDownstream'
which correlates with the other findings. Anyone any idea what a connectDownstream attribute means?
Rob van der Does 23 Oct 2012
That is absolutely true.Agreed. However, keep in mind, that performance gains or losses in this case are not the reason I'm trying to do this. The main reason is maintainability and the ability to easily change something in the layout which propagates automatically to all screens.
I do think you're right there. Nevertheless it must have impact, noticeable or not.The impression I have so far is that the boxes usually have CPU to spare. In any case, the extra variable accesses I'm adding don't seem to amount to any significant slowdown (or speedup, for that matter).
But the enormous amount of error reports makes a serial log very difficult to read.
lizard-king 25 Oct 2012
Rob van der Does 25 Oct 2012
To whom/what are you replying?cos' you call a screen which uses *widget name=""* instead of *widget source=""*.
BuGless 25 Oct 2012
cos' you call a screen which uses *widget name=""* instead of *widget source=""*.
Erm, yes, well, thanks, of course.
However, I think I knew that already. I was looking for a more in depth explanation that explains what the function of a connectDownstream attribute/method is.
delagroov 17 Nov 2012
i tried your skin.xml in Pli HD skin but i got some half picture and no channel list.
My Tv is set to 1080i and no overscan, but it seems the skin takes more space as available like in screenshot.
Attached Files
Edited by delagroov, 17 November 2012 - 10:00.
BuGless 17 Nov 2012
How is progress going on?
i tried your skin.xml in Pli HD skin but i got some half picture and no channel list.
I've transformed a lot more screens by now, not finished with all them yet though.
I discovered that the initial resolution I set the skin to (1920 x 1080) is not supported on all boxes.
The good news though is, that the skin will support changing the skin resolution to anything you want, the screens will scale accordingly. What type of STP have you tried it on?
The show stopper at the moment is figuring out what to add to the Button class so it behaves a bit more sane with respect to canvas sizes when invoked as a Source class. If I do this now, it blows up to full-size frames if undefined; ideally it should simply result in a canvas of 0x0 size if undefined.
Edited by BuGless, 17 November 2012 - 23:17.
delagroov 18 Nov 2012
But do you have already a plugin also..to change the settings then?
littlesat 18 Nov 2012
Ultimo is indeed not capable to display an ODS of 1920x1080... Only ET boxes and probably the XP can.
delagroov 18 Nov 2012
<output id="0"> <resolution bpp="32" xres="1280" yres="720" /> </output>
but that didn't improve layout issue
Edited by delagroov, 18 November 2012 - 09:03.
PhenomXy 18 Nov 2012
dreamboxes also can display 1080 res skinIn one of the first lines in the skin.xml you can set the resolution...
Ultimo is indeed not capable to display an ODS of 1920x1080... Only ET boxes and probably the XP can.
littlesat 18 Nov 2012
This is new to me.... since when??dreamboxes also can display 1080 res skin
MiLo 18 Nov 2012
Edited by MiLo, 18 November 2012 - 19:46.
pieterg 18 Nov 2012
PhenomXy 19 Nov 2012
probably since OPli3.0, because with 2.1 was impossibleThis is new to me.... since when??
dreamboxes also can display 1080 res skin