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

[Bug]: Clicking on source code tab on top always places it to the right #3587

Open
yunkot opened this issue Feb 1, 2025 · 0 comments
Open
Assignees
Labels

Comments

@yunkot
Copy link

yunkot commented Feb 1, 2025

What happened?

CodeLite has source code tabs on top with file names as captions. If there are more tabs that can fit on the screen, the current behavior is that when clicking on some tab, CodeLite moves visible tabs so the clicked tab will appear last on the right.

Imagine you have 10 tabs open, the last two are "Foo.cpp" and "Bar.cpp". The last one visible is "Bar.cpp". Now, if you click on "Foo.cpp", it gets selected and becomes the last visible tab on the right, while "Bar.cpp" disappears. Now the only way to get back to "Bar.cpp" is to click on three dots, look for its entry and select it. The more open tabs you get, the more annoying this gets - by selecting some tab in the middle, CodeLite always shifts everything to the right so eventually you end up at 1st visible tab, no matter what.

An expected behavior would be: CodeLite shouldn't do any changes to the visible tabs, unless you pick a tab that is not currently visible, e.g. by pressing on three dots and selecting it.

Version

Commit bd77042

Operating system

Linux Mint 22.1 / Xorg / wxWidgets 3.2

@yunkot yunkot added the bug label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants