It is currently April 25th, 2024, 8:48 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: 332
Joined: September 3rd, 2018, 11:18 am

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

Post by Jeff »

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