When switching between windowed and fullscreen modes during runtime the mouse position is reported incorrectly. Eg. A button with a hover over effect will play the effect when the mouse is near but not hovering over the button.
1. Open UE4 Editor (any project)
2. Create new WidgetBlueprint
3. Add button to the widget
4. With the button selected find Style->Hovered->Image in the details panel
5. Set T_ML_Rubber_Blue_01_N as the image
6. Setup level blueprint to match level BP screenshot
7. Play in standalone window
8. Press J to make the game fullscreen
9. Hover mouse just below the button possition
Result:
The button with highlight as though it is being hovered even though the mouse isn't touching it.
Expected:
Mouse position to update when switching between windowed/fullscreen
Head over to the existing Questions & Answers thread and let us know what's up.
8 |
Component | UE - Editor - UI Systems |
---|---|
Affects Versions | 4.8.3, 4.9 |
Target Fix | 4.12 |
Fix Commit | 2959360 |
---|---|
Main Commit | 2973886 |
Created | Aug 13, 2015 |
---|---|
Resolved | Apr 28, 2016 |
Updated | Jul 29, 2021 |