Project

General

Profile

Actions

Bug #3878

closed
EP KD

JSignal: bad argument format

Bug #3878: JSignal: bad argument format

Added by Emeric Poupon over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/05/2015
Due date:
% Done:

0%

Estimated time:

Description

Hello,

I have a quite "complex" layout based on Wt's WGridLayout and other WHVBoxLayout classes.
In Chromium, I can see things like that when I scroll any of the WTableView used inside layouts:

[2015-Mar-05 20:07:54.917656] 1573 [/ ZOkB6mwPnSiH87ed] [error] "JSignal: bad argument format: '1727.2726898351' for C type 'i'"
[2015-Mar-05 20:07:54.917766] 1573 [/ ZOkB6mwPnSiH87ed] [error] "JSignal: bad argument format: '1636.3636008964104'
[2015-Mar-05 20:12:20.047466] 1573 [/ ZOkB6mwPnSiH87ed] [error] "JSignal: bad argument format: '2727.272668160684' for C type 'i'"
[2015-Mar-05 20:12:20.047565] 1573 [/ ZOkB6mwPnSiH87ed] [error] "JSignal: bad argument format: '2909.0908460380633' for C type 'i'"
[2015-Mar-05 20:12:20.117838] 1573 [/ ZOkB6mwPnSiH87ed] [error] "JSignal: bad argument format: '2999.9999349767527' for C type 'i'"
[2015-Mar-05 20:12:20.117954] 1573 [/ ZOkB6mwPnSiH87ed] [error] "JSignal: bad argument format: '3090.909023915442' for C type 'i'"
[2015-Mar-05 20:12:20.374362] 1573 [/ ZOkB6mwPnSiH87ed] [error] "JSignal: bad argument format: '3181.8181128541314' for C type 'i'"
[2015-Mar-05 20:12:20.374472] 1573 [/ ZOkB6mwPnSiH87ed] [error] "JSignal: bad argument format: '3272.727201792821' for C type 'i'"
[2015-Mar-05 20:12:20.374562] 1573 [/ ZOkB6mwPnSiH87ed] [error] "JSignal: bad argument format: '3363.6362907315106' for C type 'i'"

Therefore I just see the "Loading" background image and nothing else gets displayed.
This is quite annoying since I don't really known what I did to break the whole thing.
It is working fine on IE or Firefox.

Any idea?

KD Updated by Koen Deforche over 11 years ago Actions #1

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche

Hey,

I believe I know what's wrong, I've got it fixed and will push the change to git later today. It has to do with a width/height calculation being a non-integral number (some browsers started having this behavior).

Koen

KD Updated by Koen Deforche over 11 years ago Actions #2

  • Status changed from Resolved to Closed

EP Updated by Emeric Poupon over 11 years ago Actions #3

Hello,

I updated wt from git today and I still get the issue... Could you please tell me if the fix has been pushed?

Regards,

KD Updated by Koen Deforche over 11 years ago Actions #4

Hey,

The fix was there, but apparently there's a few more places that could be causing the same issue. I've now updated these too and pushed this to git. Can you check again?

Koen

EP Updated by Emeric Poupon over 11 years ago Actions #5

It works fine now, thanks for your support!

Emeric

Actions

Also available in: PDF Atom