Open
Description
Describe the bug:
When inserting a single line of text of more than ~1500 characters into a multi-line entry embedded into a ScrollContainer, a black box is displayed. Observed both on Ubuntu and cross-compiled for Windows.
To Reproduce:
Steps to reproduce the behaviour:
- Build the code shown below.
- Insert a single line of text of ~1500 characters.
- Observe the text turning into a black box.
Screenshots:
Before and after inserting "enough" characters:
Example code:
Working version to reproduce:
package main
import (
"fyne.io/fyne"
"fyne.io/fyne/app"
"fyne.io/fyne/layout"
"fyne.io/fyne/widget"
)
func main() {
application := app.New()
win := application.NewWindow("")
container := fyne.NewContainerWithLayout(layout.NewMaxLayout())
entry := widget.NewMultiLineEntry()
container.AddObject(widget.NewScrollContainer(entry))
win.SetContent(container)
win.Resize(fyne.NewSize(400, 400))
win.ShowAndRun()
}
Device (please complete the following information):
- OS: Ubuntu 18.04.4 LTS and WIndows 10 (cross-compiled)
- Go version: go1.13.6 linux/amd64
- Fyne version: git commit 713899d