How to skin a cat?
Re: How to skin a cat? #41
Posted 23 October 2012 - 13:13
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.
Re: How to skin a cat? #42
Re: How to skin a cat? #43
Posted 23 October 2012 - 15:09
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.
Re: How to skin a cat? #44
Posted 23 October 2012 - 15:25
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.
Re: How to skin a cat? #45
Posted 23 October 2012 - 15:36
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?
Re: How to skin a cat? #46
Posted 23 October 2012 - 15:51
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.
Re: How to skin a cat? #47
Re: How to skin a cat? #48
Re: How to skin a cat? #49
Re: How to skin a cat? #50
Posted 25 October 2012 - 19:21
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.
Re: How to skin a cat? #51
Posted 17 November 2012 - 09:59
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.
Vu+ Solo2 / Atemio Nemesis / Et9000 / TM Twin / Spark2
Astra 1/2/3 en HB / Harmony Touch, & 600
https://github.com/d...in-PLi-Full-HD-Night
Re: How to skin a cat? #52
Posted 17 November 2012 - 23:15
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.
Re: How to skin a cat? #53
Posted 18 November 2012 - 07:48
But do you have already a plugin also..to change the settings then?
Vu+ Solo2 / Atemio Nemesis / Et9000 / TM Twin / Spark2
Astra 1/2/3 en HB / Harmony Touch, & 600
https://github.com/d...in-PLi-Full-HD-Night
Re: How to skin a cat? #54
Re: How to skin a cat? #55
Posted 18 November 2012 - 09:02
<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.
Vu+ Solo2 / Atemio Nemesis / Et9000 / TM Twin / Spark2
Astra 1/2/3 en HB / Harmony Touch, & 600
https://github.com/d...in-PLi-Full-HD-Night
Re: How to skin a cat? #56
Re: How to skin a cat? #57
Re: How to skin a cat? #58
Posted 18 November 2012 - 19:45
Edited by MiLo, 18 November 2012 - 19:46.
Re: How to skin a cat? #59
Re: How to skin a cat? #60
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users