Forum
Sign Up

Crash

3 years 8 months ago #1 by Kailun Wei
Crash was created by Kailun Wei
将panel的初始化位置设置在LeftDockPanelArea,主窗口mainwindow,show出来后,第一步点击panelLeft窗口的隐藏按钮将其隐藏,然后再点击按钮将其显示,这时候程序发生ASSERT错误
DockMainWindow mainwindow;
	DockWidgetPanel* panelLeft = mainwindow.addDockPanel("abc", Qtitan::DockPanelArea::LeftDockPanelArea);
	panel->setWidget(new QLabel("abc"));

	DockWidgetPanel* panel1 = mainwindow.addDockPanel("def", Qtitan::AllDockPanelAreas);
	panel1->setWidget(new QLabel("def"));
	panel1->setFloat(true);

	mainwindow.show();

crash positon 崩溃位置
DockPanelManager* DockAutoHideWindow::dockManager() const
{
    QTN_D(const DockAutoHideWindow);
    Q_ASSERT(d.m_autoHidePanel);
    return d.m_autoHidePanel ? d.m_autoHidePanel->dockManager() : Q_NULL;
}

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago - 3 years 8 months ago #2 by Eduard
Replied by Eduard on topic Crash
Hi,

Unfortunately, we couldn't reproduce the bug in the current version using your code. This bug may be fixed. Could you tell us what version of QtitanDocking you use, then we'd be able to check that. Or send us the callstack for the crash at This email address is being protected from spambots. You need JavaScript enabled to view it.
Last edit: 3 years 8 months ago by Developer Machines.

Please Log in or Create an account to join the conversation.

  • Eduard
  • Eduard's Avatar
3 years 8 months ago #3 by Kailun Wei
Replied by Kailun Wei on topic Crash
QtitanDocking3.6.0

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #4 by Eduard
Replied by Eduard on topic Crash
Hi,

We used QtitanDocking 3.6.0 version from our site to reproduce the bug occurred in your code. Unfortunately, we cannot reproduce this, so could you help us reproduce it?

Please Log in or Create an account to join the conversation.

  • Eduard
  • Eduard's Avatar
3 years 8 months ago #5 by Kailun Wei
Replied by Kailun Wei on topic Crash
It's work fine when in the release mode. The crash happened in the debug mode, It is Debug mode when you reproduce ?

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago - 3 years 8 months ago #6 by Eduard
Replied by Eduard on topic Crash
Yes, we're trying to reproduce the issue in Debug mode, x64, Qt 5.15.2.
Last edit: 3 years 8 months ago by Eduard.

Please Log in or Create an account to join the conversation.

  • Eduard
  • Eduard's Avatar
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.178 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )