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

Vertical scaling is broken after zooming #1816

Closed gunterkoenigsmann closed 11 months ago

gunterkoenigsmann commented 12 months ago

Seems like vertical spacing can be severely broken after zooming in and out. (See #1812 for an example): image @richardgobeli : I cannot reproduce this on my local computer. What do we do different?

richardgobeli commented 12 months ago

This is before doing any zooming. I just started the Wxmaxima and did the build_info cell. I think this always did a text copy of output into this window and now it does an image. What controls that? image This is what goes into a text editor with no end of line from copy of output. version="branch_5_47_base_432_gd10d5ac7a_dirty",timestamp="2023-10-07 23:53:32",host="x86_64-w64-mingw32",lisp_name="SBCL",lisp_version="2.3.2",maxima_userdir="C:/Users/Richard.000/maxima",maxima_tempdir="C:/Users/Richard.000/AppData/Local/Temp",maxima_objdir="C:/Users/Richard.000/maxima/binary/branch_5_47_base_432_gd10d5ac7a_dirty/sbcl/2_3_2",maxima_frontend="wxMaxima",maxima_frontend_version="23.10.0_DevelopmentSnapshot_MSW") This is a copy of the complete cell into text file. (%i1) build_info(); (%o1) build_info(version="branch_5_47_base_432_gd10d5ac7a_dirty", timestamp="2023-10-07 23:53:32",host="x86_64-w64-mingw32",lisp_name= "SBCL",lisp_version="2.3.2",maxima_userdir="C:/Users/Richard.000/maxima", maxima_tempdir="C:/Users/Richard.000/AppData/Local/Temp",maxima_objdir= "C:/Users/Richard.000/maxima/binary/branch_5_47_base_432_gd10d5ac7a_dirty/sbcl/2_3_2" ,maxima_frontend="wxMaxima",maxima_frontend_version= "23.10.0_DevelopmentSnapshot_MSW")

This is a copy of the complete cell directly into this window as an image. image

richardgobeli commented 12 months ago

I see you now have different styles of copy and I think the default is image. The copy as text should work. (%i1) build_info(); (%o1) build_info(version="branch_5_47_base_432_gd10d5ac7a_dirty",timestamp="2023-10-07 23:53:32",host= "x86_64-w64-mingw32",lisp_name="SBCL",lisp_version="2.3.2",maxima_userdir="C:/Users/Richard.000/maxima",maxima_tempdir= "C:/Users/Richard.000/AppData/Local/Temp",maxima_objdir= "C:/Users/Richard.000/maxima/binary/branch_5_47_base_432_gd10d5ac7a_dirty/sbcl/2_3_2",maxima_frontend="wxMaxima", maxima_frontend_version="23.10.0_DevelopmentSnapshot_MSW")

gunterkoenigsmann commented 11 months ago

I believe I found it: copying is done on a copy of the worksheet. But the cells inside the cells on the worksheet still believe that their parent is the top-level cell in the worksheet.

gunterkoenigsmann commented 11 months ago

Should be resolved with 760287eb427693ab22c161a063a8928980b3fa53