Bug #951
closedWTextEdit seems to crash while reparenting
0%
Files
Updated by Koen Deforche over 13 years ago
- Assignee set to Koen Deforche
- Target version set to 3.1.11
Hey,
Although I couldn't reproduce this, I did observe a typo in WTextEdit::renderRemoveJs().
A fix is on its way to public git.
Regards,
koen
Updated by Koen Deforche over 13 years ago
- Status changed from New to InProgress
Updated by Boris Nagaev over 13 years ago
Hello!
Here is an example of crashing.
After clicking a button, WTextEdit widget (tinymce) disappears.
Commands caught by firebug:
Wt._p_.response(2);{var j3=$('#oeqe9mn').get(0);
var cj30=$('#oeqe9mm');Wt3_1_10.setHtml(j3,'<span id="oeqe9mm"> </span> <span id="oeqe9mj"></span>',false);
$('#oeqe9mm').replaceWith(cj30);
}
Thanks
Updated by Koen Deforche about 13 years ago
Hey,
Ah. I see now. It is actually caused by the combination WTextEdit-WTemplate.
As a workaround, you could wrap the WTextEdit in a WContainerWidget. I will in the meantime see how we can solve this.
Regards,
koen
Updated by Koen Deforche about 13 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche about 13 years ago
- Status changed from Resolved to Closed
Resolved in Wt 3.1.11
Updated by Juan Pablo Zuluaga over 8 years ago
Hello ,
I'm trying to run the following example (/wt-1/examples/widgetgallery/SpecialPurposeWidgets.C) int Wt-3.3.0
g main.C WidgetGallery.C FormWidgets.C SpecialPurposeWidgets.C EventDisplayer.C BasicControls.C Validators.C ExtWidgets.C GraphicsWidgets.C DialogWidgets.C ChartWidgets.C MvcWidgets.C EventsDemo.C StyleLayout.C ControlsWidget.C -lwt -lwthttp -lboost_signals -lboost_system -lboost_thread -std=c++11 -o test.wt
but I get this (Wt::WWebWidget::renderRemoveJs[abi:cxx11](bool)' sin definir):
/tmp/ccHEDdBN.o:(.rodata._ZTV13WidgetGallery[_ZTV13WidgetGallery]+0x398): referencia a `Wt::WWebWidget::renderRemoveJs[abi:cxx11](bool)' sin definir
/tmp/cc9dUfJB.o:(.rodata._ZTV11FormWidgets[_ZTV11FormWidgets]+0x398): referencia a `Wt::WWebWidget::renderRemoveJs[abi:cxx11](bool)' sin definir
/tmp/cc9dUfJB.o:(.rodata._ZTV14DeferredWidgetIN5boost3_bi6bind_tIPN2Wt7WWidgetENS0_4_mfi3mf0IS5_11FormWidgetsEENS1_5list1INS1_5valueIPS8_EEEEEEE[_ZTV14DeferredWidgetIN5boost3_bi6bind_tIPN2Wt7WWidgetENS0_4_mfi3mf0IS5_11FormWidgetsEENS1_5list1INS1_5valueIPS8_EEEEEEE]+0x398): referencia a `Wt::WWebWidget::renderRemoveJs[abi:cxx11](bool)' sin definir
/tmp/ccp5n8o0.o:(.rodata._ZTV16GoogleMapExample[_ZTV16GoogleMapExample]+0x398): referencia a `Wt::WWebWidget::renderRemoveJs[abi:cxx11](bool)' sin definir
/tmp/ccp5n8o0.o:(.rodata._ZTV21SpecialPurposeWidgets[_ZTV21SpecialPurposeWidgets]+0x398): referencia a `Wt::WWebWidget::renderRemoveJs[abi:cxx11](bool)' sin definir
/tmp/ccp5n8o0.o:(.rodata._ZTV14DeferredWidgetIN5boost3_bi6bind_tIPN2Wt7WWidgetENS0_4_mfi3mf0IS5_21SpecialPurposeWidgetsEENS1_5list1INS1_5valueIPS8_EEEEEEE[_ZTV14DeferredWidgetIN5boost3_bi6bind_tIPN2Wt7WWidgetENS0_4_mfi3mf0IS5_21SpecialPurposeWidgetsEENS1_5list1INS1_5valueIPS8_EEEEEEE]+0x398): más referencias a `Wt::WWebWidget::renderRemoveJs[abi:cxx11](bool)' sin definir a continuación
/tmp/cc7fSxzz.o: En la función `ExtWidgets::eButton()':
ExtWidgets.C:(.text+0xa0a): referencia a `Wt::Ext::Button::Button(Wt::WString const&, Wt::WContainerWidget*)' sin definir
...
Help me !!!
Updated by Koen Deforche over 8 years ago
Hey,
I think you're mixing Wt library-versus-includefile versions?
Koen