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

Tab bar should be scrollable with horizontal scroll gesture on touchpad/mouse #510

Open
dzek69 opened this issue Feb 23, 2024 · 5 comments

Comments

@dzek69
Copy link

dzek69 commented Feb 23, 2024

When I hover the tab bar like that:
image

I'd be great to be able to scroll it using touchpad gesture of horizontal scroll or using mouse that has horizontal scroll feature.

Personally I think it'd allow me to find the right tab much faster than the dropdown arrow on the right of the tabs.

Thanks in advance!

@dail8859
Copy link
Owner

dail8859 commented Feb 23, 2024

Again probably something the githubuser0xFFFF/Qt-Advanced-Docking-System would need to implement.

@dail8859
Copy link
Owner

githubuser0xFFFF/Qt-Advanced-Docking-System#607

@dail8859
Copy link
Owner

Looks like the maintainer of the library is not willing to address it even though it looks like it was implemented at one time.

There are hooks in the library to override some of the controls so if I have some time, I might try custom controls and implement it that way.

@dzek69
Copy link
Author

dzek69 commented Feb 27, 2024

It is sad that maintainer does not want this feature.
I'd be cool if you could still implement it, but I understand it might be not possible.

@dail8859
Copy link
Owner

I took a shot at it yesterday and still no luck. It's odd because CDockAreaTabBar is a QScrollArea which by default should be scrollable. As noted in the issue something else seems to be handling the QWheelEvents and not letting them propagate to the CDockAreaTabBar. There's also a CDockAreaTitleBar in the mix. I'm no Qt expert so I can't really guess as to any good solutions. 🤷

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

2 participants