Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Qt5] rqt_bag: Scrolling on timeline view causes crash #378

Closed
mjcarroll opened this issue May 17, 2016 · 2 comments
Closed

[Qt5] rqt_bag: Scrolling on timeline view causes crash #378

mjcarroll opened this issue May 17, 2016 · 2 comments

Comments

@mjcarroll
Copy link

Using 16.04 x64, QT 5.5.1, Kinetic:

Loading a bag in rqt_bag then using the mouse scroll wheel over the timeline causes the crash:

Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/bag_timeline.py", line 496, in on_mousewheel
    self._timeline_frame.on_mousewheel(event)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag/timeline_frame.py", line 1090, in on_mousewheel
    dz = event.delta() / 120.0
AttributeError: 'QWheelEvent' object has no attribute 'delta'

Looking at this: http://doc.qt.io/qt-5/qwheelevent.html#angleDelta, it looks like delta has been deprecated in favor of angleDelta and pixelDelta.

@mjcarroll mjcarroll changed the title rqt_bag: Scrolling on timeline view causes crash [Qt5] rqt_bag: Scrolling on timeline view causes crash May 17, 2016
@dirk-thomas
Copy link
Contributor

dirk-thomas commented May 17, 2016

Duplicate of #376. The fix is already available in the latest release of this package: version 0.4.1.

@mjcarroll
Copy link
Author

Thanks and apologies, I even searched (poorly)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants