Page MenuHomeFeedback Tracker

createDisplay doesn't behave as it should on the latest perf branch
Feedback, NormalPublic

Description

Usually if you create a dialog using createDialog then execute the following:

findDisplay 46 createDisplay 'SomeDisplay'

The display appears on top of the previously created dialog without the dialog disapearing, giving the effect of stacking windows.
On the latest perf branch, this is no longer the case and when executing the same example as above, the display appears UNDER the dialog. I know for my own projects this is causing issues and there are other projects that use the same technique for warning messages, inputs etc.

Details

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

Using the test mission provided:

  1. Run the mission
  2. Use the "Create Dialog" scroll wheel action attached to the player
  3. Click the "Create Display" button

The above will display differently depending on whether you are on live or perf branch.

Event Timeline

Nimrod created this task.Dec 13 2021, 7:22 PM
Nimrod edited Steps To Reproduce. (Show Details)Dec 13 2021, 7:24 PM
Nimrod updated the task description. (Show Details)Dec 14 2021, 12:00 AM
Tenshi set Ref Ticket to Internal Ref.: AIII-54837.Dec 14 2021, 4:21 PM
Tenshi added a subscriber: Tenshi.EditedDec 14 2021, 4:24 PM

We could confirm the issue, thank you for the report.
We will see what we can do to resolve the issue

Should be fixed in 148602

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Dec 14 2021, 8:42 PM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

The fact that you can create display over dialog is wrong but it breaks backward compatibility if changed. The correct way is for dialog to appear on top of display, and it will be possible with alt syntax https://community.bistudio.com/wiki/createDialog

This comment was removed by BIS_fnc_KK.