Actions
Bug #14482
closedWApplication::focusedWidget is unreliable
Start date:
04/17/2026
Due date:
% Done:
0%
Estimated time:
Description
Affected: WApplication::focusedWidget and WApplication::focusChanged_ of Wt 4.13.0
WApplication::focusedWidget often returns nullptr although a WFormWidget has the focus.
There seems to be a race condition in the sequence of "lost/got focus" events.
It does not matter how the widgets are focused (click, Tab, setFocus()).
In addition, I wonder why WApplication::focusChanged_ is emitted on every key event.
Slightly related to Improvements #14480: Handle focus for all widgets.
Updated by Romain Mardulyn 26 days ago
- Status changed from New to InProgress
- Assignee set to Romain Mardulyn
Updated by Romain Mardulyn 24 days ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
Updated by Raf Pauwels 8 days ago
- Status changed from Review to Resolved
- Assignee changed from Raf Pauwels to Romain Mardulyn
Updated by Romain Mardulyn 8 days ago
- Status changed from Resolved to Implemented @Emweb
Updated by Romain Mardulyn 7 days ago
- Status changed from Implemented @Emweb to Closed
Actions