Open Bug 1782726 Opened 3 years ago Updated 3 years ago

Kiosk mode briefly displays the normal UI with URL bar

Categories

(Firefox :: Enterprise Policies, defect, P5)

Firefox 103
defect

Tracking

()

Tracking Status
firefox107 --- affected
firefox108 --- affected

People

(Reporter: j, Unassigned)

Details

Attachments

(1 file)

Steps to reproduce:

Start Firefox in kiosk mode:

firefox.exe -kiosk http://127.0.0.1/

Actual results:

Very briefly (during less than 500 milliseconds), the "normal" Firefox user interface (with URL bar etc.) is displayed, before disappearing and going in kiosk mode.

Expected results:

In order to have a perfect kiosk mode, we would expect to not see a flickering with the URL bar.

Screenshot

Comment on attachment 9288110 [details]
20220802_161101_d0c8ac8f.png

This is visible during less than 500 ms, but it shouldn't be visible at all in kiosk mode.

The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Address Bar
Component: Address Bar → General
OS: Unspecified → All
Hardware: Unspecified → All

The kiosk mode support is covered by our enterprise policy support; hopefully they can take a look. Maybe this is an issue with the skeleton UI or something - Mike, do we disable that when called with -kiosk? If not we probably should.

Component: General → Enterprise Policies
Flags: needinfo?(mozilla)

Skeleton seems like a likely candidate. I'll take a look.

I see a flash, but nothing close to 500 milliseconds. What platform are you on?

Flags: needinfo?(mozilla)

Yes it is a flash. Note that I said "less than 500ms" because I did not measure precisely. It is perhaps 100ms, I should do a screen recording to have a more precise estimation.
I noticed this on Windows, but I think it is the same on Linux.

One key feature for a kiosk is that the end-user is in a closed environment. If they see the usual Firefox interface (even if only during 200ms), then it diminishes the polished look of a kiosk application.

Do you think there is a command-line option to prevent this to happen?

Do you think there is a command-line option to prevent this to happen?

There isn't. The reason it happens is because we're switching Firefox into full screen mode at the first opportunity, so that will be Firefox UI for very small amount of time.

I see.
Can we set this full screen mode before the first window "paint"? (WM_PAINT in Windows terminology if I remember correctly) https://docs.microsoft.com/en-us/windows/win32/learnwin32/painting-the-window

Because of the way kiosk mode is implemented, I'm not sure that's practical. I added it as early as I could.

The severity field is not set for this bug.
:mkaply, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mozilla)
Severity: -- → S4
Flags: needinfo?(mozilla)
Priority: -- → P5

Hello I have managed to reproduce the issue with firefox 108.0a1(2022-10-20) and 107.0b2 on Ubuntu 22.04. I will mark this issue as NEW and update the flags.

Thank you!

Status: UNCONFIRMED → NEW
Ever confirmed: true

Thank you @NegritasSergiu!

Does someone have an idea about a fix for Firefox in Kiosk mode?

(In reply to Negritas Sergiu from comment #13)

Hello I have managed to reproduce the issue with firefox 108.0a1(2022-10-20) and 107.0b2 on Ubuntu 22.04. I will mark this issue as NEW and update the flags.

Thank you!

Thank you @NegritasSergiu!

Does someone have an idea about a fix for Firefox in Kiosk mode?

I don't have any good ideas on how to fix this at this time.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: