lorca icon indicating copy to clipboard operation
lorca copied to clipboard

How to remove black X circle when in fullscreen mode?

Open jordan-lumley opened this issue 5 years ago • 2 comments

Hi all,

Been using lorca for a couple of weeks now for a desktop application running on the raspberry PI. I know there is a couple of things in terms of control we have or dont have in regards to window control as its using the browser on the client machine but is there anyway to remove the fullscreen black X circle at the top of the screen? When in fullscreen mode in chrome/chromium, you hover your mouse to the top of the screen, it brings down an exit button.

jordan-lumley avatar Dec 02 '20 19:12 jordan-lumley

var d lorca.Bounds
d.WindowState="maximized"
ui.SetBounds(d)

deeyi avatar Apr 03 '21 12:04 deeyi

@jordan-lumley It is impossible as of now https://stackoverflow.com/a/65223193/8608146.

But the only workaround is passing --kiosk flag when running the browser i.e.

lorca.New(url, dir, width, height, "--kiosk")

But it will change some other stuff like disables right-click, and more.

phanirithvij avatar Jul 24 '21 14:07 phanirithvij