It is currently August 17th, 2019, 11:50 am

[D2D][Fixed] Popup Issues with HardwareAcceleration=1

Backwards compatibility issues related to the conversion of Rainmeter to D2D.
oZone
Posts: 65
Joined: May 14th, 2018, 4:46 pm

[D2D][Fixed] Popup Issues with HardwareAcceleration=1

oZone » July 25th, 2018, 9:25 pm

MouseOverAction and MouseLeaveAction appear to be broken when using !HideMeterGroup and !ShowMeterGroup options with HardwareAcceleration=1 if first meter has non-zero X position.
Popup should disappear when mouse leaves skin, not after it leaves first meter.

Below is code to test it

Code: Select all

[Rainmeter]
Update=1000
MouseLeaveAction=[!HideMeterGroup GroupPopup][!Redraw]
MouseOverAction=[!ShowMeterGroup GroupPopup][!Redraw]

[BG]
Meter=Image
SolidColor=40,40,40
W=32
H=28
X=2

[Popup]
Meter=Image
X=0r
Y=28
W=32
H=56
SolidColor=100,100,100
Hidden=1
Group=GroupPopup
Last edited by oZone on July 26th, 2018, 6:37 am, edited 3 times in total.
User avatar
CyberTheWorm
Posts: 649
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: MouseOverAction and MouseLeaveAction Issues

CyberTheWorm » July 25th, 2018, 10:37 pm

Mine is working

Code: Select all

[MeterTime]
Meter=String
MeasureName=MeasureTime
MeasureName2=Measure12HourTime
X=5
Y=10
FontFace=#MyFont#
FontSize=#MyFontSize#
FontColor=#MyFontColor#
StringEffect=#MyEffect#
FontEffectColor=#MyEffectColor#
AntiAlias=1
ClipString=1
StringAlign=LeftCenter
Text=%1
MouseOverAction=[!SetOption MeterTime Text %2][!UpdateMeter MeterTime][!Redraw]
MouseLeaveAction=[!SetOption MeterTime Text %1][!UpdateMeter MeterTime][!Redraw]
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
oZone
Posts: 65
Joined: May 14th, 2018, 4:46 pm

Re: Popup Issues with HardwareAcceleration

oZone » July 26th, 2018, 6:36 am

I have specified the problem. It appears only if you use MouseOverAction and MouseLeaveActionwith together with !HideMeterGroup and !ShowMeterGroup with HardwareAcceleration=1.
User avatar
Brian
Developer
Posts: 1888
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Popup Issues with HardwareAcceleration=1

Brian » August 2nd, 2018, 8:15 pm

This *should* be fixed with r3217. Thanks for reporting.

-Brian