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

Mouse cursor desync with Split handle when draging #3791

Closed
2 tasks done
matwachich opened this issue Apr 6, 2023 · 1 comment · Fixed by #3837
Closed
2 tasks done

Mouse cursor desync with Split handle when draging #3791

matwachich opened this issue Apr 6, 2023 · 1 comment · Fixed by #3837
Labels
bug Something isn't working

Comments

@matwachich
Copy link
Contributor

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

You have a Split container, you drag it with the mouse until one end (reaching content's MinSize) and continu draging the cursor past that limit ; when returning to the other side, the Split handle is not synchronized on the mouse cursor.

How to reproduce

Anything with a Split container will reproduce the bug

Screenshots

test_gOHdNmqUPk.mp4

Example code

package main

import (
	"fyne.io/fyne/v2"
	"fyne.io/fyne/v2/app"
	"fyne.io/fyne/v2/container"
	"fyne.io/fyne/v2/widget"
)

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

	w.SetContent(container.NewHSplit(
		widget.NewLabel("Testing"),
		widget.NewLabel("Testing"),
	))

	w.Resize(fyne.NewSize(400, 400))
	w.CenterOnScreen()
	w.ShowAndRun()
}

Fyne version

2.3.2

Go compiler version

1.20

Operating system and version

Windows 10

Additional Information

No response

@matwachich matwachich added the unverified A bug that has been reported but not verified label Apr 6, 2023
@andydotxyz
Copy link
Member

This was recently fixed on develop

@andydotxyz andydotxyz linked a pull request Apr 18, 2023 that will close this issue
3 tasks
@andydotxyz andydotxyz added this to the Dalwhinnie (May/June 2023) milestone Apr 18, 2023
@Jacalz Jacalz added bug Something isn't working and removed unverified A bug that has been reported but not verified labels Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants