Skip to content

Add queuing to dialog service #70979

Closed
Closed

Description

Currently, multiple dialogs may be requested at once. We should queue them.

Activity

  1. added
    dialogs
    on Mar 22, 2019
  2. added
    feature-request
    debt
    and removed
    feature-request
    on Oct 8, 2019
  3. bpasero commented on Jan 18, 2021

    @bpasero
    Contributor

    Queueing is already happening per window here:

    private getDialogQueue(window?: BrowserWindow): Queue<any> {
    if (!window) {
    return this.noWindowDialogQueue;
    }
    let windowDialogQueue = this.mapWindowToDialogQueue.get(window.id);
    if (!windowDialogQueue) {
    windowDialogQueue = new Queue<any>();
    this.mapWindowToDialogQueue.set(window.id, windowDialogQueue);
    }
    return windowDialogQueue;
    }

    As mentioned in #114450, I think instead of queueing we should simply ignore dialog requests when a dialog is opened per window.

  4. bpasero commented on Feb 12, 2021

    @bpasero
    Contributor

    /duplicate #114432

  5. added
    *duplicate
    on Feb 12, 2021
  6. vscode-triage-bot commented on Feb 12, 2021

    @vscode-triage-bot

    Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

    Happy Coding!

  7. locked and limited conversation to collaborators on Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatedebtdialogs

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions