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

blured scaled zoom gui #4819

Open
2 tasks done
vizvasrj opened this issue Apr 30, 2024 · 1 comment
Open
2 tasks done

blured scaled zoom gui #4819

vizvasrj opened this issue Apr 30, 2024 · 1 comment
Labels
unverified A bug that has been reported but not verified

Comments

@vizvasrj
Copy link

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

there is two version of scaling thing it uses and how to fix it i don't know.
when i drag from 720 pixel to 1080 pixel monitor the scaled zoomed of this gui
why there is so many drastic changes in size
720 pixel is of laptop screen 15.5 inch may be and 1080 pixel is of monitor 24 inch some what.

How to reproduce

go run main.go

Screenshots

1920x1080 display
1366x768 display

Example code

package main

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

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

	w.SetContent(widget.NewLabel("Hello World!"))
	w.ShowAndRun()
}

Fyne version

2.4.5

Go compiler version

go1.22.1

Operating system and version

debian linux

Additional Information

No response

@vizvasrj vizvasrj added the unverified A bug that has been reported but not verified label Apr 30, 2024
@andydotxyz
Copy link
Member

Our Linux driver tries to ensure consistent window size according to the DPI of the monitor it is on.
I tried the ruler app you are using and it gave me inconsistent results.

By placing an actual ruler on the window you should see that it is the same physical size on each of the screens (it thinks all of my screens from 14" to 27" are 17" monitors?)

If that is not the case then perhaps some of the metadata about your monitor is not being read correctly.
Please try running the fyne_demo app and going to the "Advanced" tab - that will list the details about how scale is calculated and you can move it to each screen to record the information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unverified A bug that has been reported but not verified
Projects
None yet
Development

No branches or pull requests

2 participants