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

Unexpected closing of tabs #225

Open
rockstorm101 opened this issue Nov 24, 2023 · 3 comments
Open

Unexpected closing of tabs #225

rockstorm101 opened this issue Nov 24, 2023 · 3 comments

Comments

@rockstorm101
Copy link

Left-clicking on tabs sometimes closes the tab. How and when exactly it happens I can't say for sure. I tried enabling the close button (had it disabled by default) but it didn't make a difference. Steps to reproduce:

  1. Open two documents. Each gets their own tab. Now the second tab is focused.
  2. Left-click on the first tab. Now the first tab is focused.
  3. Left-click on the second tab. The second tab is (unexpectedly) closed.

My expectation was that on step 3, the second tab got focused instead of closed.

Is this a bug? If this behavior is to be expected, is it something I can disable somehow? It is pretty annoying.

Many thanks in advance. Let me know if you need more information/debugging.

-- Configuration

(require 'centaur-tabs)
(centaur-tabs-mode t)
(setq centaur-tabs-show-new-tab-button nil
      centaur-tabs-set-close-button nil
      centaur-tabs-height 24
      centaur-tabs-set-modified-marker t)
(centaur-tabs-change-fonts (face-attribute 'default :font) 110)
(centaur-tabs-headline-match)

-- System Information:
Debian 13
Emacs 29.1

@sanarise
Copy link

sanarise commented Mar 2, 2024

I have this case reproduced if the active buffer is a dired buffer. Is it the same for you?

@rockstorm101
Copy link
Author

I have this case reproduced if the active buffer is a dired buffer. Is it the same for you?

Not sure to be honest. I've tested this with markdown files. Which I don't think open as dired buffers? In case it is relevant, I'm using markdown-mode. No Emacs expert here, so please bear with me.

@marceloexc
Copy link

This is happening to me as well when using org-mode

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

3 participants