Ctrl + z , Ctrl + Shift + z issue

Mitchell Lee's profile image Mitchell Lee posted 2 years ago in General Permalink

In editor, write(or edit) a long query,

press Ctrl+z multiple times press Ctrl + shift + z multiple time make query ruined( = cannot recover as enter earlier).

Mitchell Lee's profile image Mitchell Lee posted 2 years ago Permalink
  • copy and paste, typing, enter, backspace mixed activity
Mitchell Lee's profile image Mitchell Lee posted 2 years ago Permalink

Found 100% repro step.

set a query as below Description

and

move to cursor at the begining of keyword 'code'. and type strings in sequence that

type each char 'M.A.X.(' >> press 'END' >> type '). .a.s. .c.o.d.e' >> press Ctrl + z >> repeat Ctrl + z finally you can see the bug that wrongly recover and remove word.

final stat

Mitchell Lee's profile image Mitchell Lee posted 2 years ago Permalink

means that make below status before you press Ctrl_z

Description

Mitchell Lee's profile image Mitchell Lee posted 2 years ago Permalink

and editing very complex combination of special keys that HOME, END, Ctrl + Arrow, ctrl + z, ctrl + c, ctrl + v, ctrl + shitf + z and so. so please take care all cases. and...does Ctrl+y means line delete? can not be used for redo?

ansgar's profile image ansgar posted 2 years ago Permalink

Please testwise disable the uppercase-feature and report back if that fixes the issues:

Description

Mitchell Lee's profile image Mitchell Lee posted 2 years ago Permalink

as your comment, disabling the auto-upper case fixing issue. all yours.

Mitchell Lee's profile image Mitchell Lee posted 2 years ago Permalink

this should be reported into the issue tracker? And how about hang issue? (I believe all does cause unknown issue caused by this symptom.)

ansgar's profile image ansgar posted 2 years ago Permalink

I just see this undo issue was already reported in issue #1047. The hanging was reported in issue #1568 - I am still trying to reproduce it, with very few luck.

Mitchell Lee's profile image Mitchell Lee posted 2 years ago Permalink

I know, since those only occur several time a day while using 10~12 hours a day. i do not know the inside of the program, but as usual the memory overrun error usually does, I believe the issue connected to the hang issue. isnt that any possiblity??

ansgar's profile image ansgar posted 2 years ago Permalink

You mean undoing via Ctrl/Z something triggers the freeze issue, or what?

Mitchell Lee's profile image Mitchell Lee posted 2 years ago Permalink

sorry, I didn't get the auto mail for this. the answer you ask are

  1. no. pressing Ctrl+z is not a direct cause of the hang/freezing.
  2. even turned off the auto-completion, crtl+z, ctrl+shift+z still making wrongly recover previously enter. totally screw(that find today, just right before).

What I'm keep trying to say about Editor's issues all connected to memory crash that access violation or hooking chain trouble that cause of app hang/freezing. it also affecting other part crash, which you have a lot. (Here, personal opinion. I think, you need seriously look into and rebuild the editor component by your own hand from the scratch that fully understand the memory pointer and system detail which lower level than Delphi RAD tool not by using external control. Without doing this, you never going to get out from the chaos crash mystery)

Mitchell Lee's profile image Mitchell Lee posted 2 years ago Permalink

For your understanding simply give you the HeidlSQL error situation.

  • ctrl+z, ctrl+shift+z is not correctly working(discorrect recover or even lossing word) when event turn off auto completion.(found today)
  • hang/freezing occur when I press space bar after some specific words.(told you more than multiple times.)
  • turn off auto completion dramatically reduce hang or freezing. but still ocurring.
  • there is app disappearing issue without ANY of popup or warning. just quitting.(seem that it triggered by some of background job like ping or some response from server.)

Beware that your app really facing serious situation.

Mitchell Lee's profile image Mitchell Lee posted 2 years ago Permalink

Oh. one more error found in few days ago,

  • When click a procedure on tree view, loaded on right pane of source editor with the parameters. the parameters loaded twice on the procedure pane. (means, same set of SP parameters show/load twice which make error to [save].)
junior.remualdo's profile image junior.remualdo posted 1 year ago Permalink

I have tha sames problem, since i started to work with heidi, i learned worked with him tring evitate these problem, for example for not freezing made one thing at a time, never programming while something is running, i try evitate using ctrl + space to auto complete some code etc...

But for me the worse problem is that Ctrl Z and ctrl Shift Z, because you can lost parts of you code when this issue occur.

If Can I help in something to resolve these problem, Im in.

Please login to leave a reply, or register at first.