Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caret position lost when resizing a MultilineEntry #3024

Closed
matwachich opened this issue Jun 1, 2022 · 1 comment
Closed

Caret position lost when resizing a MultilineEntry #3024

matwachich opened this issue Jun 1, 2022 · 1 comment
Assignees
Labels
blocker Items that would block a forthcoming release bug Something isn't working

Comments

@matwachich
Copy link
Contributor

To Reproduce:

  1. Run the example
  2. Position the caret somewhere in the text
  3. Resize the window
  4. Try to type something and see the changed caret position

Example code:

package main

import (
	lorem "github.com/drhodes/golorem"

	"fyne.io/fyne/v2"
	"fyne.io/fyne/v2/app"
	"fyne.io/fyne/v2/widget"
)

func main() {
	a := app.New()
	w := a.NewWindow("Tester")

	e := widget.NewMultiLineEntry()
	e.Wrapping = fyne.TextWrapWord
	e.SetText(lorem.Paragraph(10, 15))

	w.SetContent(e)
	w.ShowAndRun()
}

Device (please complete the following information):

  • OS: Windows 10
  • Version: 10.0.18363.2212
  • Go version: 1.18.2
  • Fyne version: 2.1.4
@matwachich matwachich added the unverified A bug that has been reported but not verified label Jun 1, 2022
@andydotxyz andydotxyz added bug Something isn't working blocker Items that would block a forthcoming release and removed unverified A bug that has been reported but not verified labels Oct 17, 2022
@andydotxyz andydotxyz self-assigned this Nov 25, 2022
andydotxyz added a commit to andydotxyz/fyne that referenced this issue Nov 26, 2022
@andydotxyz
Copy link
Member

Resolved on develop branch ready for release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker Items that would block a forthcoming release bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants