google-code-export / rainmeter

Automatically exported from code.google.com/p/rainmeter
1 stars 0 forks source link

Any mouse action go through the meter and affects the meter of the lower layer #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With the case having an overlapping meter, any mouse action go through the
meter and affects the meter of the lower layer. 

It can reproduce a problem in the following easy example.

-----------------------------------

[Rainmeter]
BackgroundMode=2
SolidColor=FFFFFF
BackgroundMargins=10,10,10,10

[Meter-layer1]
Meter=IMAGE
X=10
Y=10
W=100
H=100
SolidColor=0000FF88
MouseOverAction=!Execute [!RainmeterShowMeter Meter-hover][!RainmeterRedraw]

[Meter-hover]
Meter=IMAGE
X=0r
Y=0r
W=100
H=100
SolidColor=0000FF
Hidden=1
MouseLeaveAction=!Execute [!RainmeterHideMeter Meter-hover][!RainmeterRedraw]
LeftMouseDownAction=!Execute [notepad]

[Meter-layer2]
Meter=IMAGE
X=50r
Y=50r
W=100
H=100
SolidColor=FF0000
LeftMouseDownAction=!Execute [cmd]

-----------------------------------

MouseOver/LeaveAction of blue meter will react in the portion with which
the center overlapped. In addition, a click action also go through the red
meter. In this part, the upper layer action will be ignored and lower layer
action will be executed.

As for the problem of MouseOver/LeaveAction, also when a separate skin is
piled up, it is reproduced.

Original issue reported on code.google.com by kenz0.sa...@gmail.com on 12 Dec 2009 at 12:32

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by kenz0.sa...@gmail.com on 31 Dec 2009 at 1:17

GoogleCodeExporter commented 9 years ago

Original comment by kenz0.sa...@gmail.com on 5 Aug 2010 at 4:41