Recent

Author Topic: Problem with typing Shift+<russian Л> in SynEdit  (Read 1538 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2488
    • UVviewsoft
Problem with typing Shift+<russian Л> in SynEdit
« on: December 10, 2023, 12:39:49 pm »
I am getting the user bugreport. He has Ubuntu 23.10, and Double Commander Qt5 version installed (last from https://sourceforge.net/p/doublecmd/wiki/Download/ ).

When he types Shift+Л in internal editor, app wants to close the editor and asks "Save file?".
Other russian letters are working OK.

Qt5: last official package.
libQt5Pas: version 2.15 from David Bannon.
« Last Edit: December 11, 2023, 02:48:25 pm by AlexTP »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10553
  • Debugger - SynEdit - and more
    • wiki
Re: Problem with typing Shift+<russian Л> in SynEdit
« Reply #1 on: December 10, 2023, 01:58:18 pm »
And the question is about
- This is a Linux issue (i.e. fine on other platforms)
- This is a QT issue (i.e. fine on gtk)
- This is an IDE issue (i.e fine with stand alone synedit)
- ....

What scan-code VK_... is that key producing (with / without shift).
- Is the scan code correct?
- If yes, and if it is an IDE issue, check the keymapping.

AlexTP

  • Hero Member
  • *****
  • Posts: 2488
    • UVviewsoft
Re: Problem with typing Shift+<russian Л> in SynEdit
« Reply #2 on: December 11, 2023, 11:28:02 am »
- This is a Ubuntu 23.10 issue, but works good on Ubuntu 22.04
- All ok on gtk2
- This is not the IDE issue, because user tried to run my small demo (attached) and he saw the same problem: Л is entered only after 2 keypresses. This is TCustomControl issue (visible on SynEdit and ATSynEdit), a OnKeyPress issue.
- This is with Ubuntu detault package libqt5Pas
« Last Edit: December 11, 2023, 11:31:17 am by AlexTP »

zeljko

  • Hero Member
  • *****
  • Posts: 1668
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Problem with typing Shift+<russian Л> in SynEdit
« Reply #3 on: December 11, 2023, 05:11:44 pm »
Please open an issue against qt5/qt6 widgetsets, attach simple example program (without 3rd party components) and howto reproduce (and what distro and window manager need to be installed to reproduce it. Also, wayland or x11 if it's linux).


 

TinyPortal © 2005-2018