Filed / Tracking Dialogue HTML window locks player out of UI [1158]

Discussion in 'Tracking / Filed' started by ravien_ff, Nov 28, 2023.

  1. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,459
    Likes Received:
    12,053
    For more information see here Bug Report Template

    Build: 4243
    Mode: Survival
    Mode: Singleplayer

    SERVER NAME: NA
    SEED-ID: Any

    If applicable:
    MODIFIED PLAYFIELDS: Either

    Reproducibility: Always
    Severity: Major (game blocking for new/inexperienced players)

    Type: Dialogue UI

    Summary: Closing the dialogue window with the X button while an HTML window is open will lock player out of almost all UI functions.

    Description: If a dialogue window opens a HTML window (such as to display a picture), and the player hits the X button in the upper right to close the dialogue window without closing the HTML window first, the player will be unable to open any other UI window until they hit ESC to close the HTML window.

    While the HTML window is open, you will be locked out of the inventory, control panel, godmode, PDA, blueprint library, tech tree, score screen, and even the console itself.

    The player can still physically access a cargo container and that will give mouse control to close the HTML window.
    If the player presses ESC twice, it will close the window, or they can press ESC once and move the mouse to close the window manually.

    I marked this as a major issue because locking a player out of all UI elements unless they hit the ESC key could be game blocking for newer, inexperienced, or just distracted players.
    The only way to currently prevent this is by setting the dialogue to be no-quit, which makes it cumbersome because it makes the only way to close the dialogue window be a dialogue option, completely disabling the player's ability to close the dialogue with ESC or by hitting the X button.

    One area this can be reproduced is in Default Survival, at the Font of Knowledge on Akua. It pops up a video without @q0 and that can lock you out of the UI if you close the window with the X key.

    Suggestion: automatically close the HTML window when the player closes the dialogue window with the X button. Or add it as an optional parameter to the dialogue configs to close it. Having to add @q0 to every dialogue with a picture can make things clunky for the player.
    Or if that's not possible, even a ExecuteOnClose or something that will perform an execute when the dialogue is closed, so the close HTML execute could be performed at that time automatically?


    Steps to Reproduce:
    1) Start a new Default Survival game on Akua.
    2) Decline the tutorial.
    3) Go to the Font of Knowledge at 1240, 1144
    4) Walk onto the Font of Knowledge so the video starts playing.
    5) Manually close the dialogue window by hitting the X in the upper right corner.
    6) You will now be locked out of the UI until you hit ESC to close the HTML window.

    Screenshots, Crash Logs, any other Relevant Information or Download links:

    Example in vanilla of a locked UI:
    [​IMG]


    Example of a locked UI in testing in a custom scenario:

    [​IMG]


    [​IMG]
     
    #1
  2. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,459
    Likes Received:
    12,053
    As some additional info, this also seems to sometimes happen with @q0 dialogue if the player chooses an option before the picture in the HTML window can fully load in.
     
    #2

Share This Page