Ticket #1653 (closed defect: fixed)

Opened 8 weeks ago

Last modified 8 weeks ago

Drag and drop of URL onto MSN user crashes Licq

Reported by: root_42 Owned by:
Priority: normal Milestone: 1.3.7
Component: qt4-gui Version: 1.3.6
Keywords: Cc:

Description

How to reproduce:

Drag and drop a URL onto a MSN user in the contact list.

What happens:

Crash in QVector, sadly due to a bug in Qt 4.4.2, I only get the assertion printed out, but no backtrace. This is I think fixed in Qt 4.4.3. The message I get is:

ASSERT failure in QList<T>::at: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 393

Change History

Changed 8 weeks ago by flynd

  • status changed from new to closed
  • resolution set to fixed
  • component changed from None to qt4-gui

When dropping an url on a user, the url event dialog is opened. The problem was caused by the following line since the url event type is not in the actions list for a msn contact.

myEventTypeGroup->actions().at(UrlEvent)->setChecked(true);

The same would happen if trying to open another unsupperted event type. For example an URL for a local file would trigger the same error with the file event dialog.

Fixed in r6539. Added a check to see if the event type is supported before trying to open an event dialog.

Problem does not occur in Qt-Gui as it doesn't hide the unsupported event types.

Note: See TracTickets for help on using tickets.