Skip to content

Mobile tags fullscreen #5604

Open
Open
@bnel5

Description

@bnel5

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

When running fyne with -tags mobile, the call to fyne.Window.SetFullScreen(true) does not result in a fullscreen window.

Context behind this is trying to run a fullscreen app with a touchscreen interface, discussion

Suspect the mobile driver does not implement SetFullScreen()

How to reproduce

Run test program with go run -tags mobile .

Screenshots

No response

Example code

package main

import (
	"image/color"

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

func main() {
	a := app.New()
	w := a.NewWindow("Testprog")
	w.SetContent(canvas.NewRectangle(color.Black))
	w.SetFullScreen(true)
	w.ShowAndRun()
}

Fyne version

2.5.4

Go compiler version

1.24.1

Operating system and version

Windows 11, Linux x64

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    unverifiedA bug that has been reported but not verified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions