$User.UIThemeDisplayed works incorrectly under FireFox browser in Windows machines
Last updated 2017-04-14 ·Reference W-3010230 ·Reported By 2 users
Summary
With Firefox Browser in Windows machines that $User.UITheme and $User.UIThemeDisplayed are displaying incorrect Values and incorrect Look and Feel.
Its working as designed in all other browsers, in all Machines.
Repro
Create a Simple VF page, UIThemeCheck
<apex:page showHeader="true" sidebar="true">
<apex:outputPanel rendered="{!$User.UITheme == 'Theme3'}">Currently in Classic UI</apex:outputPanel><br/>
<apex:outputPanel rendered="{!$User.UITheme != 'Theme3'}">Currently in Lightning Experience UI</apex:outputPanel>
</apex:page>
1. In Classic Ui > Setup > VisualForce Pages
2. For the VF "UIThemeCheck" > From Action column > Click on the Preview pop up.
3. Observe that it opens page in Classic UI and Displays the text "Currently in Classic UI"
4. Now Switch to LX ui and follow the steps 2&3.
5. Observe that Text still shows "Currently in Classic UI" instead of "Currently in Lightning Experience UI"
Workaround
Use Other Browser.
Reported By (2)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.