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

wx.lib.agw.aui sometimes shows "ghost" docking guide. #2364

Closed
tianzhuqiao opened this issue Mar 8, 2023 · 0 comments · Fixed by #2599
Closed

wx.lib.agw.aui sometimes shows "ghost" docking guide. #2364

tianzhuqiao opened this issue Mar 8, 2023 · 0 comments · Fixed by #2599

Comments

@tianzhuqiao
Copy link

Operating system: MacOS 13.2.1
wxPython version & source: 4.2.0
Python version & source: 3.9.5

Description of the problem:
As shown in the following example, the center docking guide close to the bottom is not valid.

aui_drop_ghost_fail

Looks like the issue comes from the following line (as it doesn't check if the notebookRoot is shown).

if not notebookRoot or not notebookRoot.IsDocked():

After change it to the following line, the ghost docking guide will not show.

if not notebookRoot or not notebookRoot.IsDocked() or not notebookRoot.IsShown():

aui_drop_ghost_pass

@swt2c swt2c closed this as completed in 6ae09a2 Sep 5, 2024
swt2c added a commit that referenced this issue Sep 5, 2024
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

Successfully merging a pull request may close this issue.

1 participant