BugTracker du projet QElectroTech

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000029 [QElectroTech] Éditeur d'éléments major always 13/09/2009 15:21 01/10/2009 21:49
Reporter xavier View Status public  
Assigned To xavier
Priority normal Resolution fixed Platform i386
Status closed   OS Windows XP + Qt 4.5.2
Projection none   OS Version
ETA none Fixed in Version 0.21 Product Version 0.2
  Target Version 0.21 Product Build 748
Summary 0000029: Crash après avoir double-cliquer sur un onglet
Description L'application se plante (Segmentation Fault) après avoir double-cliquer sur un onglet.
Steps To Reproduce Lancer QElectroTech - on obtient alors un projet par défaut avec un schéma
Double-cliquer sur l'onglet du schéma - le dialogue d'édition des propriétés du schéma apparaît alors
Faire annuler
Double-cliquer à nouveau
L'application devrait se crasher
Additional Information Ce bug ne semble se produire que sous Windows avec Qt 4.5.2.
BackTrace :
#0 0x01cc2b15 in QTabBarPrivate::_q_moveTabFinished (this=0x82c3e58, index=0) at widgets/qtabbar.cpp:1847
0000001 0x01cc1b44 in QTabBar::mousePressEvent (this=0x82c3e18, event=0x22c28c) at widgets/qtabbar.cpp:1699
0000002 0x004fbbe7 in QETTabBar::mousePressEvent (this=0x82c3e18, event=0x22c28c) at sources/qettabbar.cpp:163
0000003 0x018080c9 in QWidget::event (this=0x82c3e18, event=0x22c28c) at kernel/qwidget.cpp:7545
0000004 0x01cc052a in QTabBar::event (this=0x82c3e18, event=0x22c28c) at widgets/qtabbar.cpp:1453
0000005 0x017a85c7 in QApplicationPrivate::notify_helper (this=0x3e76c8, receiver=0x82c3e18, e=0x22c28c)
    at kernel/qapplication.cpp:4056
0000006 0x017a702e in QApplication::notify (this=0x22fd50, receiver=0x82c3e18, e=0x22c28c) at kernel/qapplication.cpp:3758
0000007 0x6a2427ac in QCoreApplication::notifyInternal (this=0x22fd50, receiver=0x82c3e18, event=0x22c28c)
    at kernel/qcoreapplication.cpp:610
0000008 0x01f58414 in QCoreApplication::sendSpontaneousEvent (receiver=0x82c3e18, event=0x22c28c)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
0000009 0x017a5369 in QApplicationPrivate::sendMouseEvent (receiver=0x82c3e18, event=0x22c28c, alienWidget=0x82c3e18,
    nativeWidget=0x69b7458, buttonDown=0x218039c, lastMouseReceiver=@0x21803a0) at kernel/qapplication.cpp:2924
0000010 0x0181efcd in QETWidget::translateMouseEvent (this=0x69b7458, msg=@0x22db0c) at kernel/qapplication_win.cpp:3262
0000011 0x01818f0f in QtWndProc (hwnd=0x30290, message=513, wParam=1, lParam=5505349) at kernel/qapplication_win.cpp:1667
0000012 0x7e398734 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
0000013 0x00030290 in operator+ ()
0000014 0x00000201 in ?? ()
0000015 0x00000001 in ?? ()
0000016 0x00540145 in PartLine::toXml (this=0x30290, xml_document=@0x201) at sources/editor/partline.cpp:168
0000017 0x7e398816 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
0000018 0x018182ba in qt_is_translatable_mouse_event (message=0) at kernel/qapplication_win.cpp:1439
0000019 0x7e3989cd in USER32!GetWindowLongW () from C:\WINDOWS\system32\user32.dll
0000020 0x00000000 in ?? ()

Malgré le passage par une méthode de la classe QETTabBar, il semble bien s'agir d'un bug dans la biliothèque QtGui4.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000050)
xavier (administrator)
13/09/2009 15:36

Le bug semble avoir été déjà repéré, notamment au sein du projet KDE :
  * http://osdir.com/ml/kde-bugs-dist/2009-09/msg02277.html [^]
  * http://osdir.com/ml/kde-bugs-dist/2009-09/msg00661.html [^]
  * http://reviewboard.kde.org/r/1017/ [^]

D'après ce dernier lien, cela serait dû à une certaine confusion entre bouton gauche et bouton du milieu de la souris.
Après test, il est possible de ne pas provoquer le crash en utilisant le clic droit (ou le bouton du milieu, mais c'est moins pratique) sur les onglets.
Exemple : pour éditer les propriétés du schéma en cours, double-cliquer avec le bouton droit sur l'onglet.
(0000052)
xavier (administrator)
01/10/2009 21:49

Le bug semble corrigé sous Qt 4.5.3. Les builds Windows utilisent Qt 4.5.3 à partir de la révision 755 ; sinon il est possible de simplement remplacer les dll de Qt 4.5.2 par celles de Qt 4.5.3.

- Issue History
Date Modified Username Field Change
13/09/2009 15:21 xavier New Issue
13/09/2009 15:21 xavier Status new => assigned
13/09/2009 15:21 xavier Assigned To => xavier
13/09/2009 15:36 xavier Note Added: 0000050
01/10/2009 21:49 xavier Note Added: 0000052
01/10/2009 21:49 xavier Status assigned => closed
01/10/2009 21:49 xavier Resolution open => fixed
01/10/2009 21:49 xavier Fixed in Version => 0.21


Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker