Are you an OpenATV tester? How many years does it take the OpenATV team to fix a bug in the skin.py code related to INCORRECT scaling
enigma2/skin.py at 90537c9e213a8e3ff0c6ed0a6e2700b61418b961 · openatv/enigma2
openatv-gui. Contribute to openatv/enigma2 development by creating an account on GitHub.
github.com
Code
def parseCoordinate(value, parent, size=0, font=None, scale=(1, 1)):
*****
****
if "f" in val:
val = val.replace("f", "*%s" % getSkinFactor())
try:
result = int(eval(val))
WTF ??
getSkinFactor() - returns the scaling factor relative to the currently used resolution something like 0.8 or 0.6 or 1.2 or 1.4 e.t.c.
In the skin it is set something like this
Code
<widget name="detail-left" position="710*f,246*f" size="266*f,133*f" font="Regular;18*f" foregroundColor="#5499C7" transparent="1" zPosition="2" split="1" dividechar=":" colposition="0"/>
The current code logic (which has not changed there for 6 years) does the following
You write there to the "writers" of this code what should be like this
And then everything will work as intended, and not those "nonsense" as it is now - exponentiation instead of multiplication