Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Reloading on an external monitor moves the window back to the primary monitor #6268

Closed

Description

@oclbdk

Steps to repro:

  1. Open Atom in the primary monitor
  2. Move the window to an external monitor
  3. Reload

I expect the window to stay on the external monitor, but it jumps back to the primary monitor.

Activity

  1. mnquintana commented on Apr 6, 2015

    @mnquintana
    Contributor

    What OS and Atom version?

  2. izuzak commented on Apr 6, 2015

    @izuzak
    Contributor

    Can't reproduce this on OSX 10.10.2, Atom 0.190.0-bbd308b.

  3. mnquintana commented on Apr 6, 2015

    @mnquintana
    Contributor

    I was able to reproduce this just now in safe mode with Atom 0.189.0 and OS X 10.10.2

  4. izuzak commented on Apr 6, 2015

    @izuzak
    Contributor

    @mnquintana Interesting -- thanks for helping investigate this. Can you share the steps you performed? The steps above don't trigger the problem for me. 😕

  5. mnquintana commented on Apr 6, 2015

    @mnquintana
    Contributor

    @izuzak Alright, so this is my setup:

    • 1 external monitor
    • MacBook Air with display on

    The external monitor is configured to be the default (ie. in System Preferences > Displays > Arrangement I dragged the menu bar to the external monitor), although I'm not sure if this makes a difference.

    1. Open folder with atom --safe
    2. Drag window to non-primary monitor (ie. MacBook Air display)
    3. Open Command Palette > Window: Reload
    4. As the window is reloading, it pops back over to the primary display (the external monitor).
  6. izuzak commented on Apr 6, 2015

    @izuzak
    Contributor

    Thanks, @mnquintana -- that reproduces it for me as well. 🙇

  7. lpommers commented on Sep 8, 2015

    @lpommers

    👍 I experience this frequently

  8. benogle commented on Oct 15, 2015

    @benogle
    Contributor

    cc @zcbenz is this an electron thing?

  9. zcbenz commented on Oct 16, 2015

    @zcbenz
    Contributor

    Atom saves and restores window dimensions when reloading the window, it seems that Atom saves the dimensions relatively to current monitor, and restores the dimensions by treating them as absolute ones.

  10. lock commented on Mar 30, 2018

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions