Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New window stays in background when created through macOS dock #4995

Open
garyemerson opened this issue Oct 30, 2021 · 3 comments
Open

New window stays in background when created through macOS dock #4995

garyemerson opened this issue Oct 30, 2021 · 3 comments
Assignees

Comments

@garyemerson
Copy link

Description

A new sublime window created through the dock context menu stays in the background instead of being brought to the foreground.

Steps to reproduce

  1. Start Sublime Text in safe mode
  2. Open a different application and bring its window to the foreground
  3. Create a new sublime window via the dock context menu
  4. Observe the sublime window in the background and the current application is not sublime but instead the previously opened application.

Expected behavior

Creating a new window brings that window to the foreground and makes sublime the active application (as seen in the menu bar). This is consistent with other applications like chrome (see video example below) and safari.

Actual behavior

See step 4

Environment

  • Build: 4119
  • Operating system and version: macOS Monterey 12.0.1 (21A559)

Video demonstrations

sublime behavior:

bad_subl.mov

chrome behavior:

good_chrome.mov
@jrappen
Copy link
Contributor

jrappen commented Oct 30, 2021

Can reproduce.


Sublime_Text:
  build: 4116
  channel: dev
  platform: osx x64
    portable: false
  pre_session_restore_time: 0.27425
  startup_time: 0.39387
  first_paint_time: 0.48861
  env_vars: '/bin/zsh -l'

Sublime_Merge:
  build: 2062
  channel: dev
  platform: osx x64
    portable: false
  pre_session_restore_time: 0.24773
  first_paint_time: 0.41192

System:
  hardware: MBP 15inch 2018, 2.9 GHz 6-Core Intel Core i9, 32GB 2400 MHz DDR4, 1TB, Radeon Pro 560X
  software: macOS Monterey 12.0.1 (21A559)
    kernel_version: Darwin 21.1.0
    open_gl:
      gl_api_version: 4.1 INTEL-18.2.10
      glsl_version: 4.10
      vendor: Intel Inc.
      renderer: Intel(R) UHD Graphics 630, 1536 MB

@Ultra-Instinct-05
Copy link
Contributor

@garyemerson Can you reproduce this on latest dev (4120) or the latest stable (4121). The bug reports are always reported for the latest dev/stable and previous versions don't matter.

@garyemerson
Copy link
Author

Yeah, sure thing. Just updated to build 4120 and can confirm I'm still able to reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants