Skip to content

unstable behavior when creating a tabbed window #16925

Closed

Description

@shin-kinoshita
  • Electron Version (output of node_modules/.bin/electron --version):
    • v4.0.4
  • Operating System (Platform and Version):
    • macOS 10.14.3
  • Last known working Electron version (if applicable):
    • v3.1.3

Expected Behavior

be created a tabbed window without any stress.

Actual behavior

it actually works but takes few seconds till complete and the tabbed window would be much unstable, especially making it full screen state.

To Reproduce

import { app, BrowserWindow } from 'electron';
app.on('ready', () => {
  const window = new BrowserWindow();
  window.addTabbedWindow(new BrowserWindow());
});

Additional Information

I found that the code works well with electron v3.1.3.

Activity

  1. welcome commented on Feb 13, 2019

    @welcome

    👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

    To help make it easier for us to investigate your issue, please follow the contributing guidelines.

  2. bpasero commented on Feb 24, 2019

    @bpasero
    Contributor

    @sofianguy I can reproduce in VSCode and would consider this a blocker for us to update to 4.0.x. It looks like any interaction with tabbed windows takes a very long time in Electron 4.

  3. codebytere commented on May 3, 2019

    @codebytere
    Member

    Interestingly, this is only true in 4: it's back to normal in v5.0.0 🤔

  4. zcbenz commented on May 15, 2019

    @zcbenz
    Contributor

    Some observations:

    1. The addTabbedWindow() call takes usual time;
    2. The CPU usage is normal even though window is lagging;
    3. Using TopLevelWindow instead of BrowserWindow still has the problem.
  5. bpasero commented on May 17, 2019

    @bpasero
    Contributor

    Confirmed fixed, thanks a lot for the fast turnaround.

  6. sofianguy commented on May 17, 2019

    @sofianguy
    Contributor

    fixed in #18314

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions