Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing any key cause error message ./src/unix/utilsx11.cpp(894): assert "Assert failure" failed in wxGetKeyStateGTK(): Unsupported key, only modifiers can be used #292

Closed
NTMan opened this issue Aug 6, 2017 · 3 comments

Comments

@NTMan
Copy link

NTMan commented Aug 6, 2017

Pressing any key cause error message ./src/unix/utilsx11.cpp(894): assert "Assert failure" failed in wxGetKeyStateGTK(): Unsupported key, only modifiers can be used

screenshot from 2017-08-06 17-25-47

Distro: Fedora Rawhide x86_64

ASSERT INFO:
./src/unix/utilsx11.cpp(894): assert "Assert failure" failed in wxGetKeyStateGTK(): Unsupported key, only modifiers can be used

BACKTRACE:
[1] wxGetKeyState(wxKeyCode)
[2] wx2INPUT_RECORD::wx2INPUT_RECORD(wxKeyEvent&, int)
[3] WinPortPanel::OnKeyDown(wxKeyEvent&)
[4] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[5] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[6] wxEvtHandler::TryHereOnly(wxEvent&)
[7] wxEvtHandler::ProcessEventLocally(wxEvent&)
[8] wxEvtHandler::ProcessEvent(wxEvent&)
[9] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[10] g_closure_invoke
[11] g_signal_emit_valist
[12] g_signal_emit
[13] gtk_window_propagate_key_event
[14] g_closure_invoke
[15] g_signal_emit_valist
[16] g_signal_emit
[17] gtk_main_do_event
[18] g_main_context_dispatch
[19] g_main_loop_run
[20] gtk_main
[21] wxGUIEventLoop::DoRun()
[22] wxEventLoopBase::Run()
[23] wxAppConsoleBase::MainLoop()
[24] wxEntry(int&, wchar_t**)
[25] WinPortMain
[26] main
[27] __libc_start_main
[28] _start

@lieff
Copy link
Contributor

lieff commented Aug 6, 2017

@elfmz
Copy link
Owner

elfmz commented Aug 3, 2021

likely fixed by dd37d80 reopen if still reproducible

@elfmz elfmz closed this as completed Aug 3, 2021
@raywood1
Copy link

raywood1 commented Nov 5, 2021

I found a PEBKAC solution to a similar problem.

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

No branches or pull requests

4 participants