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

A click on tabs there is no focus changed #70

Closed
tlaemmlein opened this issue Sep 7, 2020 · 2 comments
Closed

A click on tabs there is no focus changed #70

tlaemmlein opened this issue Sep 7, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@tlaemmlein
Copy link

With the flag KDDockWidgets::Config::Flag_TitleBarIsFocusable the title bar is able to get the focus changed.
But the tabs we need the same functionality. A click on a tab the focus changed signal should be emitted.
In the following animation I started the example with "-p". So the content and the title bar react on the click event, but not the tabs:
Click_on_tab_No_Focus
This even more important, if the titlebar is hidden.
Kind Regards,
Thomas

@iamsergio iamsergio added the bug Something isn't working label Sep 7, 2020
@iamsergio iamsergio self-assigned this Sep 7, 2020
@iamsergio
Copy link
Contributor

yeah, what happens is that changing tabs doesn't change focus in Qt, as the tabs don't get keyboard focus when clicking on them. So from the focus machinary point of view nothing changed.

But I think it makes sense to include this situation too

@iamsergio
Copy link
Contributor

(for tomorrow)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants