Project

General

Profile

Actions

Bug #3721

closed

WTextEdit break WTemplate.

Added by Anonymous almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
01/08/2015
Due date:
% Done:

0%

Estimated time:

Description

Inserting a WTextEdit in a WTemplate prevent the event of all widget in the template.

Joining a demo code.

The line "Expecting this line to appear" should appear, when the "Save" buttun is pressed.

It don't appear when "post" is binded, and everything work find if "post" is commented.


Files

WTextEditInWTemplate.cpp (1.7 KB) WTextEditInWTemplate.cpp WTemplate example that reproduce the problem. Anonymous, 01/08/2015 09:19 PM
Actions #1

Updated by Daniel Giguere almost 10 years ago

Testing showed that reparenting the parent with addChild() generate the problem.

Actions #2

Updated by Koen Deforche almost 10 years ago

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche
  • Target version set to 3.3.4
Actions #3

Updated by Koen Deforche almost 10 years ago

  • Status changed from InProgress to Feedback

Hey,

I can't reproduce this with Firefox or Chrome. I get the following the log file (if I change 'debug' to 'info' since debug by default is not shown):

[2015-Jan-24 22:13:39.691488] 85411 [/ HWJFSReYuWsuEg2t] [info] "Expecting this line to appear"

127.0.0.1 - - [2015-Jan-24 22:13:39.692688] "POST /?wtd=HWJFSReYuWsuEg2t HTTP/1.1" 200 49

This is with latest git but I expect the same behavior from 3.3.4rc1. Do you get the wrong behavior on a specific platform? Any more hints on how to reproduce this?

Regards,

Koen

Actions #4

Updated by Daniel Giguere almost 10 years ago

I'm testing with Wt 3.3.3, using the buildin httpd server on ubuntu 14.04, using ubuntu lattest firefox (35.0.1).

Actions #5

Updated by Daniel Giguere almost 10 years ago

Tested with 3.3.4-rc1, on both release and debug mode, on both firefox and the lattest chrome (40.0.2214.93).

None of them register the event. (I did change the log to info).

Actions #6

Updated by Daniel Giguere almost 10 years ago

Note: I'm using TinyMCE version 4.

Could it be linked to feature 1905 ?

Actions #7

Updated by Koen Deforche almost 10 years ago

Perhaps it's related to a specific (newer) version of TinyMCE? What version do you use exactly?

Actions #8

Updated by Daniel Giguere over 9 years ago

4.0.28

Actions #9

Updated by Benoit Daccache over 9 years ago

  • Target version changed from 3.3.4 to 3.3.5

Test with latest version of tinyMCE

Actions #10

Updated by Benoit Daccache over 9 years ago

  • Status changed from Feedback to Resolved
Actions #11

Updated by Koen Deforche over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF