Recent

Author Topic: GTK2 editor bug on windows?  (Read 2955 times)

taazz

  • Hero Member
  • *****
  • Posts: 5363
GTK2 editor bug on windows?
« on: October 08, 2012, 05:03:03 pm »
I have encounter some weird behavior using an edit control with alignment = taRightJustify.
When you press back space in the middle of a word the caret jumps one character to the right eg.
sample text 1234567890 
place the caret between 6 and 7
press back space to delete 6
now the caret should be between 7 and 8
instead of between 5 and 7.

Is this the correct behavior or some kind of lcl bug?
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

zeljko

  • Hero Member
  • *****
  • Posts: 1079
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: GTK2 editor bug on windows?
« Reply #1 on: October 09, 2012, 01:04:27 pm »
123456|7890 - pressing backspace at current caret pos should delete number 6 and stay between 5 and 7. If it's different then it's bug. If you open an issue about it: write correct version of your gtk2, environment (linux distro etc) and attach example.

taazz

  • Hero Member
  • *****
  • Posts: 5363
Re: GTK2 editor bug on windows?
« Reply #2 on: October 09, 2012, 01:12:10 pm »
Windows 7 32bit and the below image is the only thing I know about GTK
Is this enough for a bug report?
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

zeljko

  • Hero Member
  • *****
  • Posts: 1079
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: GTK2 editor bug on windows?
« Reply #3 on: October 09, 2012, 01:57:12 pm »
ok that's latest gtk2 (2.24) ... open an issue about it and pls. write that it's gtk2 on windows, also provide example.