It is currently December 12th, 2019, 8:12 pm

[Bug] Strange mouseover behavior

Report bugs with the Rainmeter application and suggest features.
User avatar
Cariboudjan
Posts: 31
Joined: May 12th, 2019, 8:55 am

[Bug] Strange mouseover behavior

Cariboudjan » November 21st, 2019, 1:42 am

I noticed this behavior recently. MouseOverAction/MouseLeaveAction flickers when the skin and cursor is placed/dragged along the edge of the screen.


Code: Select all

[Rainmeter]

[Variables]
Distance=20

[Meter1]
Meter=Image
SolidColor=255,0,0
W=100
H=100
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,255,0"][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor "255,0,0"][!UpdateMeter #CURRENTSECTION#][!Redraw]

[Meter2]
Meter=Image
SolidColor=255,0,0
X=#Distance#R
W=100
H=100
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,255,0"][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor "255,0,0"][!UpdateMeter #CURRENTSECTION#][!Redraw]

[Meter3]
Meter=Image
SolidColor=255,0,0
X=#Distance#R
W=100
H=100
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,255,0"][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor "255,0,0"][!UpdateMeter #CURRENTSECTION#][!Redraw]

[Meter4]
Meter=Image
SolidColor=255,0,0
X=#Distance#R
W=100
H=100
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,255,0"][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor "255,0,0"][!UpdateMeter #CURRENTSECTION#][!Redraw]

[Meter5]
Meter=Image
SolidColor=255,0,0
X=#Distance#R
W=100
H=100
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,255,0"][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor "255,0,0"][!UpdateMeter #CURRENTSECTION#][!Redraw]
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3643
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: [Bug] Strange mouseover behavior

eclectic-tech » November 21st, 2019, 4:09 am

I can not duplicate your issue on my system.

I used your code, tried with (and without) Hardware Acceleration, different screen resolutions, different skin positions (very top included), and the skin always responded properly.

EDIT:
I believe you have a transparent skin along the top edge of your screen that is interfering with the mouse detection of your test skin.
Unload all skins, except this test skin, and see if your problem disappears.

If you are running on older Intel integrated graphics and turn "on" hardware acceleration, there is a known issue with D2D and hardware acceleration. If so, attempt to update to the latest drivers for your chipset from Intel. That will solve the problem in many cases. Failing that, turn off hardware acceleration in the Settings dialog in Rainmeter.

Other than that I can not see your issue, so I can't make any other suggestion. :uhuh:
User avatar
Cariboudjan
Posts: 31
Joined: May 12th, 2019, 8:55 am

Re: [Bug] Strange mouseover behavior

Cariboudjan » November 21st, 2019, 3:24 pm

Interestingly, I've now noticed that the problem stops when I reduce the resolution from 2560x1440 at 125% DPI to a lower DPI or a lower resolution. The two combined seem to cause the issue. I'm not sure why. Updating my graphics card settings now. I also updated Windows 10 recently. We'll see if that helps.
User avatar
Cariboudjan
Posts: 31
Joined: May 12th, 2019, 8:55 am

Re: [Bug] Strange mouseover behavior

Cariboudjan » November 21st, 2019, 3:45 pm

eclectic-tech wrote:
November 21st, 2019, 4:09 am
EDIT:
I believe you have a transparent skin along the top edge of your screen that is interfering with the mouse detection of your test skin.
Unload all skins, except this test skin, and see if your problem disappears.
This is the only skin running when demoing in the video, though. :( I wish it were that simple.

Also the problem doesn't occur when Override High DPI Scaling Behavior is turned on, but does occur when it is off (Default setting).
User avatar
balala
Rainmeter Sage
Posts: 9258
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: [Bug] Strange mouseover behavior

balala » November 21st, 2019, 4:36 pm

eclectic-tech wrote:
November 21st, 2019, 4:09 am
Other than that I can not see your issue, so I can't make any other suggestion. :uhuh:
Agree. No such issue at all here.