wxMaxima-developers / wxmaxima

A gui for the computer algebra system Maxima built with wxWidgets
https://wxMaxima-developers.github.io/wxmaxima/
Other
471 stars 98 forks source link

issues regarding right click #1842

Closed xlucn closed 10 months ago

xlucn commented 10 months ago

Two issues regarding right click

(%i2)   build_info();
(%o2)   build_info(version="5.47.0",timestamp="2023-11-17 17:22:11",host=
"x86_64-unknown-linux-gnu",lisp_name="SBCL",lisp_version="2.3.10",maxima_userdir=
"/home/oliver/.local/share/maxima",maxima_tempdir="/tmp",maxima_objdir=
"/home/oliver/.local/share/maxima/binary/5_47_0/sbcl/2_3_10",maxima_frontend=
"wxMaxima",maxima_frontend_version="23.11.0_GTK3")
  1. In input area, the selection highlight disappears upon a right click. This makes it impossible to use right click to copy, while Ctrl-C still works.
  2. In output area, a right click while holding left button down causes a failure:
    
    ASSERT INFO:
    /usr/src/debug/wxwidgets/wxWidgets-3.2.2.1/src/common/wincmn.cpp(3453): assert ""Assert failure"" failed in DoNotifyWindowAboutCaptureLost(): window that captured the mouse didn't process wxEVT_MOUSE_CAPTURE_LOST

BACKTRACE: [1] wxWindowBase::NotifyCaptureLost() [2] g_closure_invoke [3] g_signal_emit_valist [4] g_signal_emit [5] gtk_main_do_event [6] g_main_context_iteration [7] gtk_main_iteration [8] wxWindow::DoPopupMenu(wxMenu, int, int) [9] wxWindowBase::PopupMenu(wxMenu, int, int) [10] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) [11] wxEvtHandler::SearchDynamicEventTable(wxEvent&) [12] wxEvtHandler::TryHereOnly(wxEvent&) [13] wxEvtHandler::ProcessEventLocally(wxEvent&) [14] wxEvtHandler::ProcessEvent(wxEvent&) [15] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) [16] wxEvtHandler::SafelyProcessEvent(wxEvent&) [17] g_closure_invoke [18] g_signal_emit_valist [19] g_signal_emit [20] gtk_main_do_event [21] g_main_loop_run [22] gtk_main [23] wxGUIEventLoop::DoRun() [24] wxEventLoopBase::Run() [25] wxAppConsoleBase::MainLoop() [26] __libc_start_main


- [x] https://github.com/wxMaxima-developers/wxmaxima/issues/1844
- [x] https://github.com/wxMaxima-developers/wxmaxima/issues/1845
gunterkoenigsmann commented 10 months ago

Thanks a lot for reporting this: One I wouldn't have ever noticed (since I lack the necessary hardware) and the other I never came across as I seemingly never pop up a right-click menu when the selection is active.