Unsolved ListWidget Focus Problem.
There are two widgets(QButton, QListWidget) in Dialog Window.
I can use only keyboard.
When I open the Window QButton has focus. Then I input tab key. At this point both widget has focus, if I input Enter key both slot function is called. (button->click(), listWidget->itemActivated())
(both widget's focusPolicy is TabFocus)
Thanks for your reply.
My Qt version is 5.12.9, host os is Windows10.
I attached a sample code, test step is below
- input tab key
- down arrow
- Enter key
(do not use mouse device)
I can not attach files, this is my git repo. https://github.com/kdj6724/QT_test
@DJ-Kim I can reproduce on Linux. Not sure though why this happens.
You can check Qt bug tracker and file a bug if this is not already known issue.