Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,093
    • Issues 2,093
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #31674
Closed
Open
Created Apr 17, 2017 by FPC Admin account@fpc_adminOwner

gtk2: DrawText implementation DT_NOPREFIX faulty handling

Original Reporter info from Mantis: AntonK
  • Reporter name: Anton Kavalenka

Description:

TLabel with ShowAccelChar=true always cause GTK2 to complain in console:

project1:11848): Pango-[1;33mWARNING[0m **: Invalid UTF-8 string passed to pango_layout_set_text()

This happens only with cyrillic text prefixed with ampersand &

Steps to reproduce:

Run the attached project. GTK2 complains only on '&Привет' caption but not on '&__Привет'

Mantis conversion info:

  • Mantis ID: 31674
  • OS: Linux
  • OS Build: Debian 9.0
  • Platform: i386
  • Version: 1.7 (SVN)
  • Fixed in revision: r54633 (#ae6948b6)
Assignee
Assign to
Time tracking