Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#3844 - Frequent crashes in QListView

Attached to Project: Arch Linux
Opened by Elad Lahav (elahav) - Thursday, 26 January 2006, 14:13 GMT
Last edited by arjan timmerman (blaasvis) - Thursday, 26 January 2006, 14:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Ever since the upgrade to Qt 3.3.5 I get frequent crashes in several KDE programmes, which all trace back to QListView::takeItem(). This bug has been confirmed by TrollTech (see http://www.trolltech.com/developer/tasktracker.html?method=entry&id=86543) and is supposed to be fixed in Qt 3.3.6, though I'm not sure if and when this will be released.

The fix is easy:

diff -uBbr qt-x11-free-3.3.5-old/src/widgets/qlistview.cpp
qt-x11-free-3.3.5/src/widgets/qlistview.cpp
--- qt-x11-free-3.3.5-old/src/widgets/qlistview.cpp 2005-09-02
05:43:15.000000000 -0700
+++ qt-x11-free-3.3.5/src/widgets/qlistview.cpp 2005-11-04
04:07:40.000000000 -0800
@@ -3231,6 +3231,7 @@
d->focusItem = 0;
d->selectAnchor = 0;
d->pressedItem = 0;
+ d->highlighted = 0;

// if it's down its downness makes no sense, so undown it
d->buttonDown = FALSE;

Can this patch be incorporated in Arch?
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Saturday, 28 January 2006, 08:19 GMT
Reason for closing:  Fixed

Loading...