Bug? Text changing in source code - on its own

Discussion in 'Bugs & wishlist' started by aedwall, Apr 1, 2018.

  1. aedwall

    aedwall Active Member Licensed User

    I haven't been able to identify the cause or the circumstances, but there are times when the editor just changes text on me as if some sort of "Replace all" function has been requested. This is absolutely infuriating because there are times I don't know how much is changed and thus it makes it difficult to go back and restore what was correct. I am reporting this FYI. If I obtain further info, I will update this report.
  2. Erel

    Erel Administrator Staff Member Licensed User

    Hard to say much, though my guess is that the change happens from something external.
  3. KMatle

    KMatle Expert Licensed User

    I once thought the same but then I checked that I had two apps in the same folder using the same modules :)
  4. aedwall

    aedwall Active Member Licensed User

    I seems to happen in debug mode when I set and stop on a breakpoint. Then I hover my mouse over a variable in order to check it's value. I'm not sure what happens next to cause it, but most times the variable is deleted on the line of source code, or source code is moved from one location to another. And the biggest problem is that other variables with the same name are also deleted, but I can't always see them. Then if I do a CTRL-Z to undo, then things get more messed up. I will keep watching to see if I can find something that always fails.

    I never have two apps in the same folder that use the same modules.
    Last edited: Apr 2, 2018
  5. KMatle

    KMatle Expert Licensed User

    Sounds like magic :) I had a friend who's keyboard had a defect (DEL key was fired from time to time). Check that by pulling the DEL or BACK key out (no joke!). Another one thought he has a virus because the IE was starting several times out of nothing. Problem was the same. Some notebooks have hotkeys. One (to start IE) had a defect and fired from time to time.
  6. aedwall

    aedwall Active Member Licensed User

    If it were something like described, then a CTRL-Z should restore things, but it does not. And nothing else on my computer acts this way. So the evidence does not support your theory. I wish it did.
  7. KMatle

    KMatle Expert Licensed User

    I'm with you. Bad behaviour but if this was an issue, thousands of users were facing this problem.

    So maybe it's something with your mouse as the code is still editable when you debug. Another idea is the touchpad on a notebook. I switched off ALL special functions (like tap for double click or other functions) due to my big fingers. That crap even has "magic moves" which trigger the hell when you do not know that the pad can do such things :) If you double click a variable you can move it with your mouse or delete it. This comes close to the symptoms you describe.
  8. aedwall

    aedwall Active Member Licensed User

    I don't use a laptop or a touch pad. I know - this is weird. I am just reporting what I am seeing. That's all I can try and do as I work with the editor. I will keep watching and report new facts as they occur. Just a warning to people. Watch when you are in DEBUG mode - see if variables suddenly disappear and you cannot compile when this happens.
  9. klaus

    klaus Expert Licensed User

    Well, I have never encountered things like this, on a notebook with and without touchpad for many years.
    So I think that the remarks of KMatle are appropriate!
    I am just reporting what I am seeing.
  10. stevel05

    stevel05 Expert Licensed User

    I think if this were happening to other users we would have heard about it. It may be worth reinstalling B4a if you think this is the cause, but it's unlikely. As already suggested, check your hardware, try a different mouse and keyboard. Make sure you have not got any hotkey software running.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice