You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
When creating a dialog with size of the canvas of the current window it will write into the status bar on Android. Other parts of the Fyne toolkit (e.g. window.SetContent()) appear to respect the status bar, so this looks like a bug to me.
Context: I want to display a dialog that uses the complete canvas of the current window. On desktop (i.e. Ubuntu) this works as expected.
How to reproduce
Open a dialog in a Fyne app on Android, which uses the max canvas size.
This can also be reproduces on Waydroid.
Screenshots
Note that this bug was not visible on an Android screenshot I took, because they seam to be missing the status bar.
Example code
package main
import (
"fyne.io/fyne/v2""fyne.io/fyne/v2/app""fyne.io/fyne/v2/container""fyne.io/fyne/v2/dialog""fyne.io/fyne/v2/widget"
)
funcmain() {
a:=app.New()
w:=a.NewWindow("Mobile Test")
b:=widget.NewButton("Click me", func() {
d:=dialog.NewInformation("Information", "What is going on here?", w)
d.Show()
d.Resize(w.Canvas().Size())
})
w.SetContent(container.NewCenter(b))
w.Resize(fyne.NewSize(400, 200))
w.ShowAndRun()
}
Fyne version
2.5.4
Go compiler version
1.23.4
Operating system and version
Android 14, Pixel 6a
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Checklist
Describe the bug
When creating a dialog with size of the canvas of the current window it will write into the status bar on Android. Other parts of the Fyne toolkit (e.g.
window.SetContent()
) appear to respect the status bar, so this looks like a bug to me.Context: I want to display a dialog that uses the complete canvas of the current window. On desktop (i.e. Ubuntu) this works as expected.
How to reproduce
Open a dialog in a Fyne app on Android, which uses the max canvas size.
This can also be reproduces on Waydroid.
Screenshots
Note that this bug was not visible on an Android screenshot I took, because they seam to be missing the status bar.
Example code
Fyne version
2.5.4
Go compiler version
1.23.4
Operating system and version
Android 14, Pixel 6a
Additional Information
No response
The text was updated successfully, but these errors were encountered: