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

Sublime window now needs to be in-focus to be able to click on tabs #6488

Closed
glic3rinu opened this issue Sep 18, 2024 · 8 comments
Closed

Sublime window now needs to be in-focus to be able to click on tabs #6488

glic3rinu opened this issue Sep 18, 2024 · 8 comments
Assignees
Milestone

Comments

@glic3rinu
Copy link

glic3rinu commented Sep 18, 2024

Description of the bug

After upgrading to latest sublime build 4180 I've noticed that sublime window now needs to be the one in focus in order to be able to click on tabs. I (like probably most) constantly switch between windows (terminal, browser, sublime...) and now I need to doubleclick on sublime tabs to be able to open tabs (one for the window focus, one for the tab opening).

I haven't found any mention of this behaviour change on the changelog nor the settings, so I am logging this as a UX bug. Which btw, all other apps I am using don't need to be in focus to be able to switch between tabs.

Steps to reproduce

  1. Open sublime
  2. Open another app side by side with sublime, and make that app the one in focus
  3. Click on a sublime tab and see how nothing happens.

Expected behavior

Tabs should be open when clicking on them, even if the window is not the one in focus.

Actual behavior

Clicking on a tab just brings the window into focus without actially opening it

Sublime Text build number

4180

Operating system & version

MacOS 14.6.1 (23G93)

(Linux) Desktop environment and/or window manager

No response

Additional information

No response

OpenGL context information

No response

@BenjaminSchaaf BenjaminSchaaf self-assigned this Oct 2, 2024
@elgar-groot
Copy link

This is really annoying. It is not just tabs, just clicking anywhere doesn't register the click it only brings the window in focus. I've started typing in/on the wrong file/line so many times now. A fix would be greatly appreciated🙏

@pjcreath
Copy link

This also happens even within Sublime. If you have two windows open and click on a tab in the non-active window, it will only bring that window forward and will not switch tabs:

  1. Open a sublime window with tabs.
  2. Open another sublime window.
  3. Click on a tab in the first sublime window and see how nothing happens.

I've also ended up typing in the wrong file more times than I can count.

@BenjaminSchaaf
Copy link
Member

We'll be shipping a fix for this in the next build.

@BenjaminSchaaf
Copy link
Member

Fixed in build 4184.

@nickpearson
Copy link

Is it possible to bring back the "ignore first click when bringing Sublime Text into focus" behavior as a configurable option? I had immediately noticed this change on the previous build and thought it was intentional and enjoyed it.

When switching from a different application, the Sublime Text window's title bar and status bar are sometimes both covered by other windows, making it difficult to click without triggering some unintended action (opening a file, expanding a folder, etc.). It was nice being able to click anywhere to focus the app and have that click be otherwise ignored.

@BenjaminSchaaf
Copy link
Member

@nickpearson click-through is standard behavior on macOS, I'd suggest looking for a way to globally disable it. In any case I suggest adding a feature request so that others may voice their desire for such a setting.

@nickpearson
Copy link

Thanks, @BenjaminSchaaf. I submitted a feature request.

@elgar-groot
Copy link

We could have known. https://xkcd.com/1172/

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

No branches or pull requests

6 participants