It is currently April 20th, 2024, 3:21 pm

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

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

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

Post by oZone »

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: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: MouseOverAction and MouseLeaveAction Issues

Post by CyberTheWorm »

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: 154
Joined: May 14th, 2018, 4:46 pm

Re: Popup Issues with HardwareAcceleration

Post by oZone »

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: 2679
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Popup Issues with HardwareAcceleration=1

Post by Brian »

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

-Brian