Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

GTK: ListView entries are handled as XML internally; this conflicts with the other platforms #3663

@tluyben

Description

@tluyben

Description

As ListView string items are handled as XML, illegal characters for XML will not render. This is fine but is incompatible with the other platforms.

Of instance strings with < > etc won't be rendered and generate a Gtk-WARNING as they should be &lt; &gt; etc

This is contrary to the other platforms so I would label it a bug.

Steps to Reproduce

  1. Create a ListView with an item "< Back" in Platform.GTK
  2. Run application

Expected Behavior

A row showing "< Back" rendered and clickable.

Actual Behavior

An empty row "" rendered and clickable.

Basic Information

  • Version with issue: 3.1.0.697729 of Xamarin.Forms.Platform.GTK
  • Last known good version: do not know
  • IDE: Visual Studio 15.6.0
  • Platform Target Frameworks:
  • GTK: 3.1.0.697729
  • Affected Devices: Windows 10, Linux

Screenshots

Reproduction Link

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions