wxMaxima-developers / wxmaxima

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

Reproducible crash when toggling "Invert worksheet brightness" when "Document background" is some non-default color #1951

Closed robert-dodier closed 2 months ago

robert-dodier commented 2 months ago

For the record, I observe a crash when I follow these steps:

  1. Edit >> Configure >> Style >> Document background (select any non-default color)
  2. View >> Invert worksheet brightness

At that point wxMaxima crashes.

If I change the document background back to #FFFFFF, then "Invert worksheet brightness" has the expected effect (background is black) and wxMaxima does not crash.

Windows 10 + wxMaxima 24.08.0_DevelopmentSnapshot. wxbuild_info reports:

WxMaxima version:             24.08.0_DevelopmentSnapshot_MSW
Using wxWidgets version:      wxWidgets 3.2.5
Maxima version:               branch_5_47_base_1370_g7c9eb9ce7
Maxima build date:            2024-08-30 23:50:34
Host type:                    x86_64-w64-mingw32
System type:                  Win32 10.0.19045 X86-64
Lisp implementation type:     SBCL
Lisp implementation version:  2.4.7
WxMaxima help dir:            C:\maxima-current-2024-08-31\share/doc/wxmaxima

Possibly related to #1766.

robert-dodier commented 2 months ago

I rebuilt wxMaxima with most recent code from Git and the error described above doesn't occur. Closing this bug as fixed by commit 83722f.