Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.11.1
-
Windows 10, Mac
Description
User have experienced a strange behavior if we use Qt::WA_TranslucentBackground to a widget. Its little hard to explain in words, so have attached a sample program and video for issue
Steps to reproduce :
- Run the attached program.
- Point to a icon, slider will open.
- Now, move the mouse in empty space between icon and slider, then move the mouse to any side, leaveEvent is not getting called.
- If you take mouse to slider and then leaves the widget, it is working fine.
- Now, comment the line no. 21 in sliderwidget.cpp i.e. m_popup->setAttribute(Qt::WA_TranslucentBackground);
- Again follow step 3, and it is working fine.
Expected result : LeaveEvent should not be impacted by WA_TranslucentBackground.