http://redmine.emweb.be/http://redmine.emweb.be/favicon.ico?16934085252017-07-31T15:23:00ZRedmineWt - Bug #5838: Error on empty WComboBox (on 3.3.7)http://redmine.emweb.be/issues/5838?journal_id=182882017-07-31T15:23:00ZRoel Standaertroel@emweb.be
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul><p>Could you test with the latest master or RC1 if you can? We're nearing the 3.3.8 release and much has changed and has been fixed since the release of 3.3.7.</p>
<p>I can't reproduce your issue, though. Not with the 3.3.7 release version, or with the latest master. If you can provide a (preferably standalone) code sample, that would be helpful.</p>
<p>Regards,<br><br>
Roel</p>
Wt - Bug #5838: Error on empty WComboBox (on 3.3.7)http://redmine.emweb.be/issues/5838?journal_id=183022017-08-01T12:55:00ZJosé Luis Reyjluisrey@digitalfile.net
<ul></ul><p>Hello,</p>
<p>I've updated to 3.3.8RC1, the issue still persist on the app:</p>
<p>Code snippet:</p>
<p>Wt::WDialog *dialog = new Wt::WDialog("TEST");</p>
<p>WComboBox* scanner_list = new WComboBox;<br><br>
scanner_list->addItem("..."); // Removing this line cause the js exception</p>
<p>Wt::WContainerWidget* concenter = new WContainerWidget;<br><br>
concenter->setContentAlignment(AlignCenter);<br><br>
concenter->setPositionScheme(Absolute);</p>
<p>concenter->addWidget(new WText("TESTDIALOG"));</p>
<p>dialog~~contents()<del>>addWidget(scanner_list);<br><br>
dialog</del>contents()~~>addWidget(concenter);</p>
<p>dialog->exec();</p>
Wt - Bug #5838: Error on empty WComboBox (on 3.3.7)http://redmine.emweb.be/issues/5838?journal_id=183032017-08-01T12:57:12ZJosé Luis Reyjluisrey@digitalfile.net
<ul></ul><p>Hello I forgot to add:</p>
<p>dialog->setWidth(400);<br><br>
dialog->setHeight(480);</p>
<p>just before new Wt::WDialog</p>
Wt - Bug #5838: Error on empty WComboBox (on 3.3.7)http://redmine.emweb.be/issues/5838?journal_id=183562017-08-08T14:11:56ZRoel Standaertroel@emweb.be
<ul><li><strong>File</strong> <a href="/attachments/2588">issue_5838.cpp</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2588/issue_5838.cpp">issue_5838.cpp</a> added</li></ul><p>I checked it with that code, and I still can't reproduce your issue. Can you extend your code snippet to a full small application that displays this issue? See the attached source code for my attempt at reproducing it. The attached <code>.cpp</code> compiles and runs fine on my system with the latest master.</p>
Wt - Bug #5838: Error on empty WComboBox (on 3.3.7)http://redmine.emweb.be/issues/5838?journal_id=183782017-08-09T12:31:50ZJosé Luis Reyjluisrey@digitalfile.net
<ul></ul><p>Hello Roel,</p>
<p>I've tested your code and you're right, I cannot reproduce the issue, I'm trying to find what cause the issue on our app (a js or whatever),</p>
<p>Kind regards<br><br>
J</p>