Menu

#594 Changes to lable in wxSmith is not remembered

Undefined
open
nobody
wxSmith (61)
Bug_Report
2021-06-27
2018-01-06
Li Minggang
No

Codeblocks can save edit reults if I switch between applications by mouse click or between inputs of the resource panel. Eg, I changed the label of some control then click other row to change another property of the control. The change of the label would apply to the label.

However, if I switch to other controls listed in resource panel. The change would be lost and the original value would be restored.

Discussion

  • Teodor Petrov

    Teodor Petrov - 2018-01-06

    Are you talking about wxsmith?
    Can you post a minimal project and exact steps to reroduce?
    What is your os, cb version?

     
  • Li Minggang

    Li Minggang - 2018-01-07

    Yes, wxsmith. OS: Win7X64, CB is latest nightly.

    The steps are just what I had said.
    Eg.
    1. Click on any control resource in Resources view.
    2. Change the label text of it.
    3. If you click on any other rows to edit another property of the control, click enter or switch to other applications running, eg Notepad of Windows, your change would be applied to the label text.
    4. If you click on other controls, eg. another sizer, static text contol listed in the resource view, the change you maded for the label would lose----the text would be reseted.

     
  • Teodor Petrov

    Teodor Petrov - 2018-01-07

    Please post the exact version of the night build. Because latest night build is not exact.
    Does this happen with the official 17.12 release? Or a night build which is not built against wx3.x?

     
  • Teodor Petrov

    Teodor Petrov - 2018-01-07
    • labels: --> wxSmith
    • summary: Issue of save edit result at runtime --> Changes to lable in wxSmith is not remembered
     
  • Li Minggang

    Li Minggang - 2018-01-08

    CB is SVN 11246. I met this before and after the offcial is released. So, I think it should be in it although I did not try it.

    I use CB mainly for RAD with wxSmith that's why I did not install the bigger package of official release.

     

    Last edit: Li Minggang 2018-01-08
  • Li Minggang

    Li Minggang - 2018-01-08

    And this issue is not confined to label change only. Most (if not All) of the property row has the same issue.

     
  • bluehazzard

    bluehazzard - 2018-01-08

    This is the default behavior of wxSmith on windows by default, as far as i can remember back. The value only gets saved if you hit enter. The question is, if this is wanted or not. I thought it is default behavior, because you want a possibility to revert the value

     
    • ollydbg

      ollydbg - 2018-01-09

      I agree with bluehazzard, this behaviour happens for a long time, and I have to hit the "enter" to change the content of the label.

       
    • Li Minggang

      Li Minggang - 2018-01-09

      I'm not sure if it's the correct way to revert, which should usually do by "ctrl-z" or other to explicitly indicator from user to do revert. This "default behav" is not the same way when you switch to other application running or click on other rows as I had said.

      If the revert was support as the way, ie, you have to press enter to confirm, all the other two should also revert the changes made.

       

      Last edit: Li Minggang 2018-01-09
  • Andrew Cottrell

    Andrew Cottrell - 2021-06-27

    Hi, Can you please check if the issue is still occurring in Code::Blocks 20.03 and post here if it is fixed or not. The CB 20.03 download page is https://www.codeblocks.org/downloads/binaries/.
    If you are using Windows 64 bit and 20.03 and the issue is still occurring you could try the latest nightly and post here if the issue occurs or not in the nightly, which can be found in the following CB forum https://forums.codeblocks.org/index.php/board,20.0.html .

     

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.