[QGIS-trac] [Quantum GIS] #1440: editing layer name broken - up to
a segfault
Quantum GIS
qgis at qgis.org
Mon Dec 1 14:58:05 EST 2008
#1440: editing layer name broken - up to a segfault
---------------------------------------------------------+------------------
Reporter: msieczka | Owner: nobody
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.0.0
Component: Map Legend | Version: HEAD
Keywords: | Platform_version:
Platform: Debian | Must_fix: Yes
Status_info: 0 |
---------------------------------------------------------+------------------
1. Add, say, 3 shapefiles.
2. Highlight the 1st one.
3. Press F2 to change it's name - all is OK. You change the name, press
Enter.
4. Highlight another one.
5. Press F2 to change it's name - nothing happens this time. Bad.
6. Right click it > change name - OK, but the first letter you enter does
not pop in. Bad. Anyway - finish changing the name, Enter.
7. As F2 is not working anymore, right click another layer, start changing
its name but don't confirm with Enter. Select another layer on the list or
press ESC instead. This way you will end up with many layers in the course
of name change, which should not take place - pressing ESC or selecting
another layer while editing some layer's name should IMO cancel edits.
Moreover, sometimes QGIS crashes in this circumstances:
{{{
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fc98d40f710 (LWP 11157)]
0x00007fc98c30a2e9 in QStyledItemDelegate::eventFilter ()
from /usr/lib/libQtGui.so.4
(gdb) bt
#0 0x00007fc98c30a2e9 in QStyledItemDelegate::eventFilter ()
from /usr/lib/libQtGui.so.4
#1 0x00007fc98c8d6658 in
QCoreApplicationPrivate::sendThroughObjectEventFilters () from
/usr/lib/libQtCore.so.4
#2 0x00007fc98bdfba2c in QApplicationPrivate::notify_helper ()
from /usr/lib/libQtGui.so.4
#3 0x00007fc98be04684 in QApplication::notify () from
/usr/lib/libQtGui.so.4
#4 0x00007fc98cca770e in QgsApplication::notify (this=0x7fff9554e2a0,
receiver=0x2ce0340, event=0x7fff9554cf90)
at /home/shoofi/src/straight/qgis-trunk/src/core/qgsapplication.cpp:78
#5 0x00007fc98c8d7381 in QCoreApplication::notifyInternal ()
from /usr/lib/libQtCore.so.4
#6 0x00007fc98be89fe4 in ?? () from /usr/lib/libQtGui.so.4
#7 0x00007fc98be8c29e in ?? () from /usr/lib/libQtGui.so.4
#8 0x00007fc98be66120 in QApplication::x11ProcessEvent ()
from /usr/lib/libQtGui.so.4
#9 0x00007fc98be8dc84 in ?? () from /usr/lib/libQtGui.so.4
#10 0x00007fc98873a78b in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#11 0x00007fc98873df5d in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x00007fc98873e11b in g_main_context_iteration ()
from /usr/lib/libglib-2.0.so.0
#13 0x00007fc98c8ff70f in QEventDispatcherGlib::processEvents ()
from /usr/lib/libQtCore.so.4
#14 0x00007fc98be8d44f in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007fc98c8d5ca2 in QEventLoop::processEvents ()
from /usr/lib/libQtCore.so.4
#16 0x00007fc98c8d5e2d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#17 0x00007fc98c8d82dd in QCoreApplication::exec ()
from /usr/lib/libQtCore.so.4
#18 0x00000000004b5599 in main (argc=1, argv=0x7fff9554e998)
at /home/shoofi/src/straight/qgis-trunk/src/app/main.cpp:683
}}}
Debian testing amd64, QGIS SVN trunk r9725, QT 4.4.3.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1440>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list