It is currently July 18th, 2019, 8:26 pm

[Bug] Hiding a container leaves mouse actions on visible parts of the skin

Report bugs with the Rainmeter application and suggest features.
User avatar
Jeff
Posts: 45
Joined: September 3rd, 2018, 11:18 am

[Bug] Hiding a container leaves mouse actions on visible parts of the skin

Jeff » June 23rd, 2019, 3:20 pm

I think I should go out and say the obvious, yes I know you should not hide containers, but in case of some overly complicated or overly stupid skins, there might be someone would go ahead and hide Containers instead of the meters that use it... that someone being me

Anyways, I noticed that after you hide a container, the meter(s) using the container hide, but the mouse action from the meter(s) using the container is/are still there, but on other visible parts of the skin, the gif and the code are the exact same, I didn't show it in the gif (and it's quite obvious, since there is no mouse action zone there) but hovering over title has no mouse action
Image

Code: Select all

[Rainmeter]
ContextTitle =Show
ContextTitle2=Hide
ContextAction =!ShowMeter 150
ContextAction2=!HideMeter 150
[String]
Meter=String
Text=Text#CRLF#to#CRLF#show
FontSize=36
[200]
Meter=Image
H=#CURRENTSECTION#
W=#CURRENTSECTION#
SolidColor=F0000F
LeftMouseUpAction=!Log "Hi"
Container=150
[150]
Meter=Image
Y=50
H=#CURRENTSECTION#
W=#CURRENTSECTION#
SolidColor=000000