Recent

Author Topic: Deleting a property string  (Read 2394 times)

emjtech

  • New Member
  • *
  • Posts: 28
    • Global R&D ltd
Deleting a property string
« on: December 25, 2018, 03:32:07 pm »
Hi
Looks like I found a bug:

Say I added a button to my form, it gets called by default Button1
Now I want to change the name to ButStart
To do so I place the cursor between the 2 t (we see But|ton1)
press the Del key and the second "t" will be deleted as expected
==>BUT the cursor will move right! (we see Buto|n1 instead of But|on)
so the next time I press the Del key the "n" will be deleted, no the "o" as should be.
and so on.
It is most annoying when you delete your own typing inadvertently instead of what you wanted to delete.
Similar problem occur if using the <-- Key

I am using Raspberry Pi 3 model B+
Lazarus 1.6.2+dfsg-2
Thanks
Eli Jacob

Bart

  • Hero Member
  • *****
  • Posts: 5275
    • Bart en Mariska's Webstek
Re: Deleting a property string
« Reply #1 on: December 25, 2018, 10:53:49 pm »
Lazarus 1.6.2 is very, very old.
Please try with either latest stable or with 2.0 RC3.

Bart

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Deleting a property string
« Reply #2 on: December 25, 2018, 11:16:57 pm »
I have not had a keyboard plugged into my RasPis for a long time but given you are using a very old version of lazarus, are you also using a very old version of Raspian ?

From memory (and very unreliable memory at that) there was a issue about the default keyboard, the RasPi people set it to a UK Keyboard rather that the English speaking default US one and it affected Backspace / Delete. Are you sure you are not seeing that ?

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018