Skip to content

Fix unable to type in search bar on Windows#15148

Open
cobryan05 wants to merge 1 commit intoprusa3d:masterfrom
cobryan05:fixSearchBox
Open

Fix unable to type in search bar on Windows#15148
cobryan05 wants to merge 1 commit intoprusa3d:masterfrom
cobryan05:fixSearchBox

Conversation

@cobryan05
Copy link

TopBar's 'left click' handler triggers a search, but also calls 'event.Skip()' which allows other handlers to run. There appear to be no other wxWidget handlers bound to this event, but calling 'Skip' allows the event to make it the default CallWindowProc() call.

It appears that on Windows 11 on a DPI-scaling enabled monitor that both handling AND Skipping this event causes the search box to spaz out. Simply removing the 'Skip' prevents Windows from double-handling the event.

Should close #14131 #14828 #15137

TopBar's 'left click' handler triggers a search, but also calls
'event.Skip()' which allows other handlers to run. There appear
to be no other wxWidget handlers bound to this event, but calling
'Skip' allows the event to make it the default CallWindowProc() call.

It appears that on Windows 11 on a DPI-scaling enabled monitor that
both handling AND Skipping this event causes the search box to spaz
out. Simply removing the 'Skip' prevents Windows from double-handling
the event.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cant type into search box

1 participant