Page MenuHomeFeedback Tracker

Picture set with lnbSetPicture cannot be removed, only replaced
Feedback, NormalPublic

Description

It seems that once a picture is set it cannot be removed by

ctrl lnbSetPicture [[_row,_column],""];

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
  1. Execute in Eden Editor
[] spawn 
{
  disableSerialization; 
  
  _display = findDisplay 313 createDisplay "RscDisplayEmpty"; 

  _ctrlLNB = _display ctrlCreate ["RscListNBox", 645]; 
  _ctrlLNB ctrlSetPosition [0,0,1,0.04]; 
  _ctrlLNB ctrlSetBackgroundColor [0,0,0,1]; 
  _ctrlLNB ctrlCommit 0; 

  _ctrlLNB lnbAddColumn 0.5;

  _ctrlLNB lnbAddRow ["col1", "col2"];

  sleep 1;
  _ctrlLNB lnbSetPicture [[0, 0], "\a3\ui_f\data\logos\arma3_bundle_icon_ca.paa"];
  _ctrlLNB lnbSetPictureRight [ [0, 0], "\a3\ui_f\data\logos\arma3_bundle_icon_ca.paa"];
  systemChat "Picture set";
  sleep 2;

  _ctrlLNB lnbSetPicture [[0, 0], ""];
  _ctrlLNB lnbSetPictureRight [ [0, 0], ""];

  systemChat "Picture should be gone but isn't.";
  systemChat format ["Picture: %1",_ctrlLNB lnbPicture [0, 0]];
}
Additional Information

v2.01

Event Timeline

R3vo created this task.Nov 26 2020, 9:24 AM
dedmen claimed this task.Nov 26 2020, 12:30 PM
dedmen changed the task status from New to Assigned.
dedmen set Ref Ticket to AIII-53617.
dedmen changed the task status from Assigned to Feedback.Nov 26 2020, 12:49 PM

Next dev-branch, maybe profiling

R3vo added a comment.EditedDec 3 2020, 3:10 PM

Not working in 2.01.147002. (See repro)

R3vo edited Steps To Reproduce. (Show Details)Dec 3 2020, 3:42 PM

The IDC one was fixed, the control one wasn't

fix maaaybe next dev, or one after