Wings 3D Development Forum

Full Version: [Fixed] Screenshot rename error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Wings shows "Internal Error" when you try to rename image in the "Outliner".
Preciselly, screenshot, you made via Tools -> Screenshot... Dump file says something about wings_wm.erl and wings_dialog.erl. I tried applying patch "wings_wm.beam", buts this was not helpful, crash still exist. It only crashes the "Outliner" and you still can open it.

wings_crash.dump
Code:
Dump written 2023-3-22_22-1
Version: 2.2.9
Window: wings_outliner
Reason: {{badmatch,[]},
         [{wings_dialog,reset_dialog_parent,1,
                        [{file,"wings_dialog.erl"},{line,435}]},
          {wings_dialog,'-build_dialog/3-fun-0-',3,
                        [{file,"wings_dialog.erl"},{line,887}]},
          {wx,batch,1,[{file,"wx.erl"},{line,201}]},
          {wings_dialog,dialog_1,5,[{file,"wings_dialog.erl"},{line,267}]},
          {wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1039}]},
          {wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,1006}]},
          {wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,898}]},
          {wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,807}]},
          {wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,693}]},
          {wings,init_part2,3,[{file,[...]},{line,...}]},
          {proc_lib,init_p_do_apply,3,[{file,...},{...}]}]}

Stack trace:
[{wx,batch,1,[{file,"wx.erl"},{line,203}]},
{wings_dialog,dialog_1,5,[{file,"wings_dialog.erl"},{line,267}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,1039}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,1006}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,898}]},
{wings_wm,dispatch_event,1,[{file,"wings_wm.erl"},{line,807}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,693}]},
{wings,init_part2,3,[{file,"wings.erl"},{line,108}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]

OS: Windows 10 (build 19045), 64-bit edition
GPU: ATI Technologies Inc. | AMD Radeon(TM) Vega 8 Graphics

steps:
1. take screenshot using Tools -> Screenshot...
2. find screenshot in the outliner and right click -> Rename
It's good have some new users interested to share their findings. Biggrin

Thanks for reporting.
This issue was fixed in wings_image.beam.

Until we get the new release the path for it can be found in Patches/Fixes for Wings3D (v.2.2.9)