-
Notifications
You must be signed in to change notification settings - Fork 163
Description
What happened:
When using the following URL: /render/d/cevpvzdh3b0u8e/my-panel-daily-plan-dashboard?orgId=1&from=now-1m&to=now&theme=light&width=1920&height=-1&scale=2&tz=America%2FLos_Angeles%27&kiosk
The rendered image, the blacked out screenshot below, has hover effects applied in the middle of the screen, as evidenced by the blue highlight in the middle cell, and the menu selector in the top right corner of the panel.
Granted, this image was rendered on a modified image renderer that sets the aspect ratio to 9/16 instead of 0.75 on full-height render, but it still happens on an unmodified one. (another issue+PR is coming for that one)
What you expected to happen:
I expect the mouse cursor to be moved off-screen so it cannot trigger hover effects, as seen in this screenshot.
How to reproduce it (as minimally and precisely as possible):
Create a dashboard where the absolute center of the screen is a table cell that triggers the hover effect.
Use the renderer plugin to capture a full screen image using a URL similar to the one above.
Anything else we need to know?:
In this case, the log printed that it moved the cursor to 1920 x 1080. That should have been fine, but it appears the 2x display scaling may have put it in the center of the screen.
A PR is incoming that moves the cursor to -1,-1, once I figure out how to submit one
Environment:
- Grafana Image Renderer version: 4.0.10 mainline
- Grafana version: 11.1.x
- Installed plugin or remote renderer service: Remote
- OS Grafana Image Renderer is installed on: X86
- User OS & Browser: Firefox 140.2 ESR
- Others: