Post by Scott KostyshakOn Mon, Jul 28, 2014 at 4:20 PM, Jean-Marc Lasgouttes
Post by Jean-Marc LasgouttesPost by Scott KostyshakWith Qt4 and Qt5, if I open the attached document I cannot place the
cursor to the right of the note. If I put the cursor to the left of
the BibTeX inset and press left, it goes to the left of the note, if I
press left again it enters the note from the right.
The cursor placement works as expected for me at 1fefbf5b.
This should be fixed now.
Works well.
If I put the cursor at the end of the first line (after the note inset) and
then close the document, LyX segfaults. Running under gdb it only crashes
the second time, which is weird. Here is the backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x081654e4 in lyx::Cursor::selection (this=0x158) at ../../src/Cursor.h:166
166 bool selection() const { return selection_; }
(gdb) bt
#0 0x081654e4 in lyx::Cursor::selection (this=0x158) at ../../src/Cursor.h:166
#1 0x08525650 in lyx::frontend::GuiView::dispatch (this=0x9066718, cmd=...,
dr=...) at ../../../../src/frontends/qt4/GuiView.cpp:3840
#2 0x084de973 in lyx::frontend::GuiApplication::dispatch (this=0x8c1e948,
cmd=..., dr=...) at ../../../../src/frontends/qt4/GuiApplication.cpp:1973
#3 0x084daf4e in lyx::frontend::GuiApplication::dispatch (this=0x8c1e948,
cmd=...) at ../../../../src/frontends/qt4/GuiApplication.cpp:1332
#4 0x081eaed7 in lyx::dispatch (action=...) at ../../src/LyX.cpp:1303
#5 0x0857abb6 in lyx::frontend::Action::action (this=0x92993f8)
at ../../../../src/frontends/qt4/Action.cpp:65
#6 0x0857ac20 in lyx::frontend::Action::qt_static_metacall (_o=0x92993f8,
_c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfffe3d8)
at ./moc_Action.cpp:77
#7 0xb70d86ed in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/local/qt/5.3.1/lib/libQt5Core.so.5
#8 0xb70d90db in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/local/qt/5.3.1/lib/libQt5Core.so.5
#9 0xb790b15d in QAction::triggered(bool) ()
from /usr/local/qt/5.3.1/lib/libQt5Widgets.so.5
#10 0xb790d2f9 in QAction::activate(QAction::ActionEvent) ()
from /usr/local/qt/5.3.1/lib/libQt5Widgets.so.5
#11 0xb7ab67d4 in ?? () from /usr/local/qt/5.3.1/lib/libQt5Widgets.so.5
#12 0xb7abe94f in ?? () from /usr/local/qt/5.3.1/lib/libQt5Widgets.so.5
--
Enrico