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

Perfomance issue on undock tab #353

Closed
DimaKoltun opened this issue Sep 15, 2021 · 8 comments
Closed

Perfomance issue on undock tab #353

DimaKoltun opened this issue Sep 15, 2021 · 8 comments

Comments

@DimaKoltun
Copy link

DimaKoltun commented Sep 15, 2021

Hi!
QtADS has perfomance issue on undocking dock widget from tab bar with several tabs with flags:

ads::CDockManager::setConfigFlag(ads::CDockManager::OpaqueUndocking, true);

On the video we can see that sometimes undocked widget can finish dragging while mouse pressed.

ads_perf.mp4

Why it's happening and what i can do with this?

@githubuser0xFFFF
Copy link
Owner

I have no idea.

@githubuser0xFFFF
Copy link
Owner

Switch to non opaque docking to avoid this issue

@delins
Copy link

delins commented May 10, 2022

@DimaKoltun Could you check if the issue is still there with the latest commit? #401 fixed a similar issue

@githubuser0xFFFF
Copy link
Owner

@delins The fix #401 was for Linux only and I also see this issue on Windows

@OpenJeDi
Copy link

I added a remark about MacOS on the original issue #350

The issue on MacOS seems to be different than this particular example: in my case the docking overlay gets "stuck" just like in the original issue. In this example, the dragging just seems to stop and you are able to resume dragging?

@githubuser0xFFFF
Copy link
Owner

It is exactly like in the video above.

@enjoysmath
Copy link

Run your code in Release mode without debugging (the non-filled in play button in Visual Studio), and docking / undocking is about 10x faster. :)

@githubuser0xFFFF
Copy link
Owner

Closed because OpaqueUndocking is no longer supported since release 4.0.2

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

5 participants