With the master branch for kile Version 2.9.60 Using: KDE Frameworks 5.27.0 Qt 5.7.1 (built against 5.7.0) the completion of abbreviations, either auto- or via ctrl+alt+space key-combo isn't working, the abbreviation letters are erased instead. The abbreviations are properly listed in the Abbreviation sidebar, so they are being read. For example, the abbreviation q1=\,q_{1} but if I type q1+ctrl+alt+space, then q1 disappears and no code is inserted.
Changed in codecompletion.cpp, line 783, replace QString completionText = data(index, Qt::DisplayRole).toString(); by QString completionText = data(index.sibling(index.row(), Name), Qt::DisplayRole).toString();
Git commit f09836151b78181f2d862b94db159db02b021b1b by Michel Ludwig. Committed on 22/12/2016 at 19:54. Pushed by mludwig into branch 'master'. Fix the substitution of abbreviations Thanks to Amaro! M +1 -1 src/codecompletion.cpp https://commits.kde.org/kile/f09836151b78181f2d862b94db159db02b021b1b