Project

General

Profile

Actions

Bug #3817

closed

WTabWidget::addTab emits currentChanged() with an invalid index

Added by Anonymous about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Benoit Daccache
Target version:
Start date:
02/23/2015
Due date:
% Done:

0%

Estimated time:

Description

The index is invalid because WTabWidget::addTab calls WMenu::addItem before adding the tab widget to WTabWidget::contentsStack_ in WTabWidget:57-59

The signal is emitted by WMenu when and only when internal paths are enabled via following call path:

Wt::WMenu::select() at WMenu.C:296 0x7ffff70928e1

Wt::WMenuItem::setFromInternalPath() at WMenuItem.C:447 0x7ffff7096381

Wt::WMenu::itemPathChanged() at WMenu.C:242 0x7ffff7090870

(missing call entry to WMenu::addItem)

Wt::WTabWidget::addTab() at WTabWidget.C:57 0x7ffff71091cd

Actions #1

Updated by Koen Deforche about 9 years ago

  • Status changed from New to InProgress
Actions #2

Updated by Koen Deforche about 9 years ago

  • Assignee set to Benoit Daccache
Actions #3

Updated by Benoit Daccache about 9 years ago

  • Status changed from InProgress to Resolved
Actions #4

Updated by Koen Deforche about 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF