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

crash at constQObject *QMetaObject::cast(const QObject *obj) const when close window #585

Closed
Michaelzhouisnotwhite opened this issue Dec 5, 2023 · 2 comments

Comments

@Michaelzhouisnotwhite
Copy link

screenshots:

image

Reproduction steps

  1. open dockindock project
  2. drag group1 to floating window

image

  1. drag group1 into the top of minwindow
    like this:
    image

  2. close the window. It crash at const QObject *QMetaObject::cast(const QObject *obj) const

image

Env

OS: Ubuntu22.04 x11
Qt version: 5.15.2

@githubuser0xFFFF
Copy link
Owner

Thank you for your bug report - i can reproduce it. The error is not a ADS library issue but an issue with the dockindock example. The example was a third party contribution by a user (see #308). It shows some "hacked" functionality that is not part of the ADS library.

I reported the issue to the author. You have two options now: you can try to fix the example by yourself and provide a pull request or you can ask the author. If the example is not fixed within the following two weeks, I will remove it from the examples.

jporcher added a commit to jporcher/Qt-Advanced-Docking-System that referenced this issue Dec 5, 2023
githubuser0xFFFF pushed a commit that referenced this issue Dec 5, 2023
@githubuser0xFFFF
Copy link
Owner

The author of the dockindock example jut commited a fix for this issue to the master branch. Checkout the master branch and test if the error has been fixed.

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