Skip to content

Index was out of range #2209

Description

@PeterPL-JR

Description
Unhandled exception
Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at Pinta.Tools.TextTool.get_CurrentTextLayout()
at Pinta.Tools.TextTool.RedrawText(Boolean showCursor, Boolean useTextLayer)
at Pinta.Tools.TextTool.OnMouseMove(Document document, ToolMouseEventArgs e)
at Pinta.CanvasWindow.HandleMotion(EventControllerMotion controller, MotionSignalArgs args)
at GObject.Closure.InternalCallback(IntPtr closure, IntPtr returnValuePtr, UInt32 nParamValues, IntPtr paramValuesData, IntPtr invocationHint, IntPtr userData)

Version
Linux Mint 22.2 Cinnamon
Pinta 3.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions