Filed / Tracking Assigned or connected containers appear in container list twice when accessed manually [8017]

Discussion in 'Tracking / Filed' started by Garaman, May 2, 2021.

  1. Garaman

    Garaman Captain

    Joined:
    Aug 23, 2020
    Messages:
    549
    Likes Received:
    669
    Build: 3282
    Mode: Survival / Creative
    Mode: Single Player/Multi Player

    Reproducibility: Always
    Severity: Minor

    Type: UI (container list)

    Summary: Assigned or connected containers will appear in the container list twice if you access the container manually

    Description:
    I'm assuming that this is incorrect, but when you have an assigned or connected container that you access manually (not through logistics) it will appear in the list twice, both at the top and at the bottom. It seems to me that the mechanism that always lists a manually-accessed container at the bottom of the list is being triggered incorrectly for these types of assigned containers; the container should only appear at the bottom of the list when you are viewing a different ship's container list.

    Steps to Reproduce:
    Load the attached CV in any game. There are two containers on it, yellow and green. The yellow one is assigned to the input of the constructor. If you access the inventory of the green (unassigned) container, each container correctly shows up once:
    upload_2021-5-2_1-3-22.png

    If you access the yellow assigned container, the yellow container is listed twice: once for the assigned state, and once seemingly for the active container state:
    upload_2021-5-2_1-4-11.png

    If you go back to the green container and connect to it as your connected toolbar, you will now see the green container listed twice, as the connected state and the (presumed) active state:
    upload_2021-5-2_1-5-22.png

    In both cases switching to another ship using the left dropdown will correctly show only a single entry for the manually accessed container at the bottom of the list. Also the lists appear correct if you access the containers through logistics instead of accessing them manually:
    View attachment 87491
     

    Attached Files:

    #1

Share This Page