gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.17k stars 477 forks source link

AlignWidget preview not working #2409

Open osrf-migration opened 6 years ago

osrf-migration commented 6 years ago

Original report (archived issue) by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


Hovering the mouse over any one of the the AlignWidget's align option used to give a preview of the expected result after alignment. This works in gazebo7 but stopped working in gazebo8+

osrf-migration commented 6 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


after looking into this a little, it seems like AlignWidget::eventFilter function never gets a QEvent::Enter event. It receives a QEvent::Leave instead when the mouse enters, which is weird.

osrf-migration commented 6 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


https://bugreports.qt.io/browse/QTBUG-4751

Looks like it's fixed in Qt 5.6.1. Unfortuantely Xenial has version 5.5.1. Not sure if there's a workaround for this..