Forum
Sign Up
× DataGrid for Qt.C++

[version 2.2] Crash at QtnGridTableView.cpp:5486

13 years 5 months ago #1 by phroid
on MACX: when I click on a cell and then start dragging, the application crashes at QtnGridTableView.cpp:5486.
"mime" is NULL and of course this lead to an unrecoverable error.

if I check the mime value the problem disappears, for example using the following alternative line:
if (mime != NULL && mime->hasFormat(modelTypes.at(i)))

This problem is version 2.2 specific.
Can be triggered on the examples included with the library.

Even a small dragging, made by the user involuntarily having just clicked the button a little longer than required and moving the mouse 1 pixel during the button press, triggers the problem and make the application unusable.
I don't know if the issue is MACX specific, sorry.

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

More
13 years 5 months ago - 13 years 5 months ago #2 by Developer Machines
Unfortunately, the error appears on all platforms, not only for MacOSX. It has been fixed in version 2.3, which is already available for download. Workaround for 2.2 is exists, you need to set the option setDragEnabled(false) for the table view of the grid.
Last edit: 13 years 5 months ago by Developer Machines.
The following user(s) said Thank You: phroid

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

More
13 years 5 months ago #3 by phroid
That's awesome. version 2.3 fixed all the three problems I reported.
Thank you, great work.

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

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.253 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 )