Menu

#855 Ctrl+Z after paste the xml string from cutting a control would cause Codeblocks crash

Next_Release
open
nobody
Bug_Report
2019-07-24
2019-07-19
Li Minggang
No

Ctrl+Z after paste the xml string from cutting a control would cause Codeblocks crash.

I occasually pasted the xml string generated by cutting a control in CB into the name input of another newly created control. I tried to undo the change by Ctrl+Z but CB crashed.

No dump info found.

Platform: Windows 7
version: Nightly buld SVN 11792

Discussion

  • Teodor Petrov

    Teodor Petrov - 2019-07-19

    Can you post the exact steps to reproduce the problem?
    Is this a self build? What wx version are you using? 32 or 64 bit?

     
    • Li Minggang

      Li Minggang - 2019-07-20

      It's not a self build it's from the official nightly build, SVN 11792 X64

      Steps:
      1. Open any existing project with CB.
      2. Open some UI stuff(I opened a dialog) in Resources view
      3. Add a UI control, eg, wxCheckBox
      4. Cut another UI control
      5. Click to change the name of the newly added control
      6. Ctrl+V
      7. Ctrl+Z

       
      • Teodor Petrov

        Teodor Petrov - 2019-07-20

        Is this in wxSmith? Can you do this in a simple hello world example (default UI in the project).
        Does this problem happen with 17.12 or older night builds?

         
        • Li Minggang

          Li Minggang - 2019-07-24

          I think it's in wxSmith which I used as RAD for my project. I'll try a simple hello world example.

          No idea for 17.12 or older night builds. I always use the latest nightly because I mainly use CB as RAD tool

           
        • Li Minggang

          Li Minggang - 2019-07-24

          I tried an old nightly r11530 on another Windows 10 x64. I created a new project and use default hello world dialog project of wxWidgets.

          It crashed with the same steps.

          It's awayls reproduceable. I don't think more information like which change introduced the issue is needed.

           
  • Miguel Gimenez

    Miguel Gimenez - 2019-07-24

    The crash happens pasting anything in any control's variable name and then pressing Ctrl-Z (I am using rev11806)

    I have tested wxWidgets' propgrid sample and there this does not happen.

    The crash says "The application has requested the Runtime to terminate in an unusual way". There is no backtrace (the execution is terminated)

     
  • Teodor Petrov

    Teodor Petrov - 2019-07-24

    I can reproduce this. I don't know how easy it is to fix though... :(
    The UI is rebuild while handling the property value change event...

     
  • Teodor Petrov

    Teodor Petrov - 2019-07-24
    • labels: --> wxSmith, crash
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.