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

Title bar refresh not correct on floating window in some situation #345

Open
nmagni opened this issue Apr 27, 2022 · 3 comments
Open

Title bar refresh not correct on floating window in some situation #345

nmagni opened this issue Apr 27, 2022 · 3 comments

Comments

@nmagni
Copy link
Contributor

nmagni commented Apr 27, 2022

I've the following issues:
Dragging a floating window partially outside the screen boundaries and back, causes a wrong refresh of the title bar (depending on the speed of the dragging). It seems that the owner draw fails.
I cannot reproduce the problem into a vmware VM

It's a bug or something I didn't do properly ?

@nmagni
Copy link
Contributor Author

nmagni commented Apr 28, 2022

Immagine 2022-04-28 141044

This image has been captured moving the floating window outside the screen boundaries and back. A part of the title bar is not repainted correctly (the problem can be seen also while moving). It's repainted correctly when I resize the window

@nmagni
Copy link
Contributor Author

nmagni commented Apr 28, 2022

immagine

@nmagni
Copy link
Contributor Author

nmagni commented May 2, 2022

Debugging the code, I found that the problem is in WindowChromeWorker._HandleNCCalcSize. The xceed source code is simpler and it doesn't have the bug.

nmagni added a commit to nmagni/AvalonDock that referenced this issue May 3, 2022
Dirkster99 added a commit that referenced this issue Jul 16, 2022
#345 fix refresh when moving floating windows
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

1 participant