Actions
Bug #8602
closedNo changed() signal when toggling a check box programmatically
Start date:
05/28/2021
Due date:
% Done:
100%
Estimated time:
Description
The documentation of the signals returned WAbstractToolButton::checked() und WAbstractToolButton::unChecked() clearly states that these signals are only emitted when the user checks the button. But the same documentation also promises "You can use the changed() signal to react to any change of the button state".
However, this signal is not emitted when toggling a check box programmatically (see minimal example attached).
Files
Updated by Georg Wenig over 3 years ago
Additional info: Wt version 4.5.0 on Ubuntu 20.04.1 on WSL2 in Win10
Updated by Korneel Dumon over 3 years ago
I think "any" in this context refers to both checked and unchecked.
Updated by Roel Standaert over 3 years ago
- Target version set to future
It's indeed not intended to be emitted by programmatic changes. None of the event signals are. We could amend the documentation to make that a bit more clear.
Updated by Roel Standaert about 3 years ago
- Target version changed from future to 4.7.0
Updated by Roel Standaert almost 3 years ago
- Target version changed from 4.7.0 to 4.8.0
Updated by Roel Standaert over 2 years ago
- Status changed from New to InProgress
- Assignee set to Roel Standaert
Updated by Roel Standaert over 2 years ago
- Status changed from InProgress to Review
- Assignee deleted (
Roel Standaert)
Updated by Roel Standaert over 2 years ago
- Status changed from Review to Implemented @Emweb
Updated by Roel Standaert over 2 years ago
- Status changed from Implemented @Emweb to Resolved
Updated by Roel Standaert over 2 years ago
- Target version changed from 4.8.0 to 4.7.3
Updated by Roel Standaert over 2 years ago
- Status changed from Resolved to Closed
Actions