Page MenuHomeFeedback Tracker

ButtonClick no longer handles ESC menu closing
Closed, ResolvedPublic

Description

In latest dev build of the game (151133) it is no longer possible to keep ESC menu from closing after you script enable and press SAVE button when its ButtonClick event returns true

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
  1. Start attached mission in multiplayer as listen server
  2. Press ESC, then press SAVE button
  3. The menu will close in dev branch while it won't close in stable branch
Additional Information

Repro mission script:

	waitUntil {player == player};

	0 spawn {
		while{true} do {
			waitUntil {!isNull findDisplay 49};
			private _display = findDisplay 49;

			private _save_button = _display displayCtrl 103;
			_save_button ctrlEnable true;
			_save_button ctrlAddEventHandler ["ButtonClick", {
				_this select 0 ctrlSetText "Menu should not close";
				true;
			}];

			waitUntil{isNull _display};
		};
	};

Event Timeline

SaMatra created this task.Nov 11 2023, 3:11 PM

Should be fixed in Revision: 151148

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Nov 11 2023, 10:26 PM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.
dedmen set Ref Ticket to AIII-56070.Dec 7 2023, 6:19 PM
Wulf closed this task as Resolved.Dec 22 2023, 2:48 PM
Wulf claimed this task.
Wulf added a subscriber: Wulf.

Fixed in Dev. build 151218.