View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003939VTK(No Category)public2006-10-12 11:212011-01-13 17:01
Reporterschoenfe 
Assigned ToClinton Stimpson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003939: QVTKWidget crashes on certain keys
DescriptionPressing keys like 'ä' or 'ß' (on a german keyboard) causes an immediate crash.

The problem is in QVTKWidget::keyPressEvent(), keyReleaseEvent():

int ascii_key = event->text().length() ? event->text().unicode()->toLatin1() : 0;

toLatin1() is negative for keys like 'ä' or 'ß' and therefore using ascii_key directly as array index results in a crash.

I'm using qt 4.1.4 open source.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0005391)
Clinton Stimpson (developer)
2006-10-13 11:17

/cvsroot/VTK/VTK/GUISupport/Qt/QVTKWidget.cxx,v <-- QVTKWidget.cxx
new revision: 1.30; previous revision: 1.29

Fixed.
(0024667)
guest (viewer)
2011-01-13 17:01

Fix committed to master branch.

 Issue History
Date Modified Username Field Change
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709
2011-01-13 17:01 guest Note Added: 0024667
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team