It is currently September 15th, 2019, 9:04 pm

Rainmeter 4.3.1 "alpha" release

Report bugs with the Rainmeter application and suggest features.
User avatar
jsmorley
Developer
Posts: 19440
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Rainmeter 4.3.1 "alpha" release

jsmorley » September 13th, 2019, 8:56 pm

We have a handful of "bug fixes" we would like to quickly get tested and out in a 4.3.1 release version.
We would like to do that now, before we start any longer-term 4.4 beta cycle.


Get this new 4.3.1 version of Rainmeter here:

https://builds.rainmeter.net/Rainmeter-4.3.1-r3321-beta.exe

Please test these changes, with a particular eye to any new problems or changed behavior that they might inadvertently cause.


What was changed

1) Fixed the Load Layout combo box in SkinInstaller.
https://forum.rainmeter.net/viewtopic.php?f=103&t=31766

2) Fixed a Container issue with relative positioning.
https://forum.rainmeter.net/viewtopic.php?f=14&t=32444&p=162975

3) Fixed WebParser issue when nested variables were used with a URL option
https://forum.rainmeter.net/viewtopic.php?f=5&t=31968

4) Corrected an issue when the Lua GetOption() function was used Inline in a Text option that had other static text in it as well.
In Inline Lua:

If you used GetOption() to read the value of an option on the meter, and then had a Text option that has some hard-coded text in it first, followed by the [&InlineLua()] call, that was a crash of Rainmeter every time.

For instance:

Skin:

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Lua]
Measure=Script
ScriptFile=#CURRENTPATH#Test.lua
Disabled=1

[MeterOne]
Meter=String
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=Hello World

[MeterTwo]
Meter=String
Y=30
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
DynamicVariables=1
Text=Right now, [&Lua:IsHidden('MeterOne')]
LeftMouseUpAction=[!ToggleMeter MeterOne][!UpdateMeter *][!Redraw]

Test.Lua:

Code: Select all

function IsHidden(meterArg)

	meterHandle = SKIN:GetMeter(meterArg)
	
	hiddenState = meterHandle:GetOption('Hidden', '0')
	
	if hiddenState == '1' then
		return meterArg.. ' is Hidden'
	else
		return meterArg.. ' is not Hidden'
	end

end
We don't expect these fixes to cause any problems, but then you never know... We'd like to do a 4.3.1 public release version in the next few days or a week if nothing goes amiss.