Page MenuHomeFeedback Tracker

enableInfoPanelComponent does not work for CustomDisplayComponent
Feedback, NormalPublic

Description

As title, using the SQF command "enableInfoPanelComponent" for a custom info panel that has the componentType = "CustomDisplayComponent" always returns true; the info panel does not get disabled.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Ingame UI
Steps To Reproduce

Create a new custom info component as a subclass of (eg.) DefaultVehicleSystemsDisplayManagerLeft that has componentType = "CustomDisplayComponent".
Attempting to disable the component using

player enableInfoPanelComponent ["left", "CustomDisplayComponent", false];

will always return true, and the panel will remain open/enabled.

Additional Information

The alternative syntax of enableInfoPanelComponent yields the same result.

Event Timeline

Mokka created this task.Jan 11 2022, 12:32 AM
POLPOX added a subscriber: POLPOX.Feb 26 2024, 9:41 AM
Lexx2k added a subscriber: Lexx2k.May 30 2024, 10:23 AM
dedmen set Ref Ticket to AIII-56431.Jun 4 2024, 1:26 PM
dedmen changed the task status from New to Feedback.Jun 4 2024, 2:18 PM