reckel-jm / cantara

Open Source Simple Song Presentation Software
https://www.cantara.app
GNU General Public License v3.0
13 stars 6 forks source link

Wront handling of inserted unicode chars in editor components #18

Closed reckel-jm closed 1 year ago

reckel-jm commented 1 year ago

Describe the bug In the latest build version, unicode chars cannot directly be pasted into the Lazarus SynEdit components (editor, markup export)

To Reproduce Steps to reproduce the behavior (if known):

  1. Open the editor
  2. Paste a text with special chars (like ä, ö, ü) from an other program
  3. Expected behavior The text should be inserted correctly.

Screenshots If applicable, add screenshots to help explain your problem. Screenshot_20230723_213008

Information about your Operation System (please complete the following information):

reckel-jm commented 1 year ago

After research, it turns out that this problem does only exist on KDE Plasma and Wayland if the text has been copied from Firefox (so it is a very specific problem). A Lazarus bug report has been opened upstream and it seems that a fix is under way.

reckel-jm commented 1 year ago

The problem has been solved: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40423