Project

General

Profile

Actions

Bug #7468

closed

Regression: interactive WCartesianChart panning glitches with plain tooltips

Added by Bruce Toll about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/21/2020
Due date:
% Done:

0%

Estimated time:

Description

With github Wt 4.2.0-50-g719a5203, there appears to be a regression that affects panning of interactive WCartesianCharts with plain tooltips. It can be observed by adding a one-line patch that provides tooltips on the WidgetGallery's AxisSliderWidget example (attached). To drive the issue, browse to .../graphics-charts/axis-slider-widget and use the axis slider to zoom in on a subset of the chart. It will be difficult to pan with the mouse. Sometimes, panning will not occur although the mouse button is depressed. Other times, panning will continue after the mouse button is released.

I believe the issue was introduced with the change to src/web/skeleton/Wt.js in commit d07b35eec.

Attached, for your review, is a one-line patch to src/Wt/Chart/WCartesianChart.C that seems to help with this specific issue.


Files

Actions #1

Updated by Roel Standaert about 4 years ago

  • Status changed from New to Resolved

I applied your patch and pushed it to GitHub. Thanks.

Actions #2

Updated by Roel Standaert about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF