Project

General

Profile

Actions

Bug #2529

closed

WSlider Will Not Resize Properly Using Layout Manager

Added by Anonymous almost 11 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
12/31/2013
Due date:
% Done:

0%

Estimated time:

Description

I am using Google Chrome 31.0.1650.63 along with Wt 3.3.1 and compiling using g (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3.

I have a simple page with only a text widget and slider widget on it. On initial load (shown in attached screenshot), WSlider renders the slider with ticks but no handle. Upon reloading the page, Uncaught TypeError: Object #<HTMLDivElement> has no method 'wtResize' error shows up in developer tools highlighting Wt3_3_1.$('oqqi0k1').wtResize(Wt3_3_1.$('oqqi0k1'),1636,50,false);; line in the javascript document as the culprit of the error. A third refresh finally bring up the slider with correct functionality.

I have changed nothing about my build of Wt. However, it is built from the version of Wt where you added touch event support to slider widgets on the 19th of December.


Files

slider-initial-load.jpg (43.8 KB) slider-initial-load.jpg Initial Load of Slider Anonymous, 12/31/2013 05:51 PM
slider-second-load.jpg (128 KB) slider-second-load.jpg Second Load of Slider Anonymous, 12/31/2013 05:51 PM
slider-example.C (2.99 KB) slider-example.C Slider example where error can be recreated. Josh Lampco, 12/31/2013 05:54 PM
Actions #1

Updated by Josh Lampco almost 11 years ago

I am attaching a file where the error can be recreated.

Actions #2

Updated by Koen Deforche almost 11 years ago

  • Status changed from New to Feedback

Hey,

I couldn't reproduce this problem with my git version, so I guess it has been fixed since. Can you try with latest git?

Regards,

koen

Actions #3

Updated by Koen Deforche about 10 years ago

  • Status changed from Feedback to Resolved
  • Target version changed from 3.3.1 to 3.3.3
Actions #4

Updated by Koen Deforche about 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF