local F=game:GetService("\080\108\097\121\101\114\115")return{Name="\083\113\117\097\114\101 \086\105\101\119 \083\117\112\112\111\114\116",ProblemText="\083\099\114\101\101\110\071\117\105\115 \105\110 \086\082 \097\114\101 \100\105\115\112\108\097\121\101\100 \097\115 \097 \115\113\117\097\114\101 \105\110 \102\114\111\110\116 \111\102 \116\104\101 \112\108\097\121\101\114\046 \085\115\101\114 \105\110\116\101\114\102\097\099\101\115 \115\111\109\101\116\105\109\101\115 \103\101\116 \099\108\105\112\112\101\100 \111\114 \115\099\097\108\101 \105\110\099\111\114\114\101\099\116\108\121\046",SolutionText="\084\101\115\116\105\110\103 \119\105\116\104 \115\113\117\097\114\101 \117\115\101\114 \105\110\116\101\114\102\097\099\101\115 \097\115 \119\101\108\108 \097\115 \112\111\114\116\114\097\105\116 \117\115\101\114 \105\110\116\101\114\102\097\099\101\115 \105\115 \114\101\099\111\109\109\101\110\100\101\100\046",OnInfoViewChanged=function(t,l)if l~="\078\079\078\069"then if not t.DemoBlackBars then local l=Instance.new("\083\099\114\101\101\110\071\117\105")l.Parent=F.LocalPlayer:WaitForChild("\080\108\097\121\101\114\071\117\105")t.DemoBlackBars=l local B=Instance.new("\070\114\097\109\101")B.BackgroundTransparency=1 B.AnchorPoint=Vector2.new(.5,.5)B.Position=UDim2.new(.5,0,.5,0)B.Size=UDim2.new(1,0,1,0)B.SizeConstraint=Enum.SizeConstraint.RelativeYY B.Parent=l local A=Instance.new("\070\114\097\109\101")A.BorderSizePixel=0 A.BackgroundColor3=Color3.new(0,0,0)A.AnchorPoint=Vector2.new(1,0)A.Size=UDim2.new(1,0,1,0)A.SizeConstraint=Enum.SizeConstraint.RelativeYY A.Parent=B local U=Instance.new("\070\114\097\109\101")U.BorderSizePixel=0 U.BackgroundColor3=Color3.new(0,0,0)U.Position=UDim2.new(1,0,0,0)U.Size=UDim2.new(1,0,1,0)U.SizeConstraint=Enum.SizeConstraint.RelativeYY U.Parent=B end else if t.DemoBlackBars then t.DemoBlackBars:Destroy()t.DemoBlackBars=nil end end end}
--[[
TheNexusAvenger

Data for a manual test for square UIs.
--]]

local Players = game:GetService("Players")

return {
    Name = "Square View Support",
    ProblemText = "ScreenGuis in VR are displayed as a square in front of the player. User interfaces sometimes get clipped or scale incorrectly.",
    SolutionText = "Testing with square user interfaces as well as portrait user interfaces is recommended.",
    OnInfoViewChanged = function(self,InfoView)
        --Create or hide the black bars.
        if InfoView ~= "NONE" then
            if not self.DemoBlackBars then
                local DemoBlackBars = Instance.new("ScreenGui")
                DemoBlackBars.Parent = Players.LocalPlayer:WaitForChild("PlayerGui")
                self.DemoBlackBars = DemoBlackBars

                local OpenViewFrame = Instance.new("Frame")
                OpenViewFrame.BackgroundTransparency = 1
                OpenViewFrame.AnchorPoint = Vector2.new(0.5,0.5)
                OpenViewFrame.Position = UDim2.new(0.5,0,0.5,0)
                OpenViewFrame.Size = UDim2.new(1,0,1,0)
                OpenViewFrame.SizeConstraint = Enum.SizeConstraint.RelativeYY
                OpenViewFrame.Parent = DemoBlackBars

                local LeftBlackBarFrame = Instance.new("Frame")
                LeftBlackBarFrame.BorderSizePixel = 0
                LeftBlackBarFrame.BackgroundColor3 = Color3.new(0,0,0)
                LeftBlackBarFrame.AnchorPoint = Vector2.new(1,0)
                LeftBlackBarFrame.Size = UDim2.new(1,0,1,0)
                LeftBlackBarFrame.SizeConstraint = Enum.SizeConstraint.RelativeYY
                LeftBlackBarFrame.Parent = OpenViewFrame

                local RightBlackBarFrame = Instance.new("Frame")
                RightBlackBarFrame.BorderSizePixel = 0
                RightBlackBarFrame.BackgroundColor3 = Color3.new(0,0,0)
                RightBlackBarFrame.Position = UDim2.new(1,0,0,0)
                RightBlackBarFrame.Size = UDim2.new(1,0,1,0)
                RightBlackBarFrame.SizeConstraint = Enum.SizeConstraint.RelativeYY
                RightBlackBarFrame.Parent = OpenViewFrame
            end
        else
            if self.DemoBlackBars then
                self.DemoBlackBars:Destroy()
                self.DemoBlackBars = nil
            end
        end
    end,
}