Ballerina-lang: [Composer] Shutting down of the Composer closes the entire browser window

Created on 10 Jul 2018  路  9Comments  路  Source: ballerina-platform/ballerina-lang

Description:
When a browser window instance is automatically started as a result of starting the composer, shutting down of the composer closes that entire window. It is inconvenient as all the tabs which were opened in that browser window get closed. However, this issue cannot be seen if there is an already opened browser window instance when the composer is started.

Steps to reproduce:

  1. Make sure there is no running instance of the default browser.
  2. Run the composer using the terminal.
  3. Go to the browser window which will be automatically opened by the composer and open new tabs within that window.
  4. Shut down the composer (Ctrl+C in the terminal).

Affected Versions:
0.975.1

OS, DB, other environment details and versions:
OS - Ubuntu 17.10, Ubuntu 18.04
Browser - Mozilla Firefox, Google Chrome

Suggested Labels (optional):
Bug

AreComposer TypBug

All 9 comments

@Gathika94 Could you mention the browser versions which this occurred?

Experienced the mentioned issue in Chrome Version 67.0.3396.99 (Official Build) (64-bit) @DimalChandrasiri

@DimalChandrasiri The browser version is Mozilla Firefox Quantum 61.0 (64-bit).

Was able to reproduce this issue in ubuntu 18.04. Since the composer is moving to a standalone application IMO this wouldn't be a problem in the future. As for a suggestion, could you try opening up the composer using the nohup command?

nohup sh composer

@DimalChandrasiri I tried with nohup composer command, but this issue was still there. If there is an already opened instance of the default browser when the composer is started, shutting down of the composer does not close the browser window. When there is no running instance of default browser at the time of starting the composer, even if the composer is started using nohup composer command, shutting down of composer closes the entire browser window. Agree that this would not be a problem if composer is moving to a standalone application.

@Gathika94 please try with the version 0.980 latest release? if not could u try with nohup composer & to separate the browser from the console.

@Gathika94 Were you able to try out @DimalChandrasiri 's suggestion. Please note that 0.981.0 is released therefore you can try on that.

@Manuri - Yeah, I tried with 0.981.0. The ballerina composer started as a standalone application. Therefore, I believe this issue is resolved.

Thanks @Gathika94. Closing the issue based on your feedback.

Was this page helpful?
0 / 5 - 0 ratings