Page 1 of 1

[Bug] DefaultWindowX/Y do not work if only 1 of them is present

Posted: September 20th, 2022, 4:41 pm
by killall-q
DefaultWindowX and DefaultWindowY currently require both of them to be present to function. When 1 is missing, both WindowX and WindowY are set to 0 in Rainmeter.ini on first load, and the missing one is added after Window/AnchorX/Y.

Test skin for proof:

Code: Select all

[Rainmeter]
DefaultWindowX=50%
; DefaultWindowY=50%
DefaultAnchorX=50%
DefaultAnchorY=50%

[Box]
Meter=Image
W=100
H=100
SolidColor=FF000080
DefaultAnchorX/Y do not share this bug.

Re: [Bug] DefaultWindowX/Y do not work if only 1 of them is present

Posted: September 20th, 2022, 9:44 pm
by Brian
Thanks for the bug report. This has been fixed for the next release. Unfortunately, it didn't make it in the 4.5.16 release we just did.

-Brian

Re: [Bug] DefaultWindowX/Y do not work if only 1 of them is present

Posted: September 21st, 2022, 1:55 am
by killall-q
Sweet, that was fast.