Project

General

Profile

Actions

Bug #2696

closed

WTreeView items disappear after selection in IE 11

Added by Alan Finley over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
02/21/2014
Due date:
% Done:

0%

Estimated time:

Description

After i click to select a WTreeViwe item in IE 11, the selected item disappears. I've attached a screenshot with this issue.

WTableView does not have this problem.

I use Wt 3.3.1.

Here is an example:

Wt::WApplication* createApplication(const Wt::WEnvironment& env)
{
    Wt::WApplication *app = new Wt::WApplication(env);
    app->setTheme(new Wt::WBootstrapTheme(app));

    Wt::WStandardItemModel *model = new Wt::WStandardItemModel(app);
    for (int i = 0; i < 10; ++i)
    {
        model->appendRow(new Wt::WStandardItem(Wt::WString("item {1}").arg(i)));
    }

    Wt::WTreeView *treeView = new Wt::WTreeView;
    treeView->resize(400, 300);
    treeView->setModel(model);
    treeView->setSelectionBehavior(Wt::SelectRows);
    treeView->setSelectionMode(Wt::SingleSelection);

    Wt::WTableView *tableView = new Wt::WTableView;
    tableView->resize(400, 300);
    tableView->setModel(model);
    tableView->setSelectionBehavior(Wt::SelectRows);
    tableView->setSelectionMode(Wt::SingleSelection);

    app->root()->addWidget(treeView);
    app->root()->addWidget(tableView);

    return app;
}

Files

tree_view.png (17.3 KB) tree_view.png WTreeView item selection bug in IE 11 Alan Finley, 02/21/2014 10:27 AM
Actions #1

Updated by Koen Deforche over 10 years ago

  • Status changed from New to Resolved
  • Target version set to 3.3.2

Hey,

This has been fixed in Wt 3.3.2.

Regards,

koen

Actions #2

Updated by Koen Deforche over 10 years ago

  • Assignee set to Koen Deforche
Actions #3

Updated by Koen Deforche over 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF