Hello community, here is the log from the commit of package lokalize for openSUSE:Factory checked in at 2016-03-29 09:59:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lokalize (Old) and /work/SRC/openSUSE:Factory/.lokalize.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lokalize" Changes: -------- --- /work/SRC/openSUSE:Factory/lokalize/lokalize.changes 2016-02-23 16:57:08.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.lokalize.new/lokalize.changes 2016-03-29 10:37:52.000000000 +0200 @@ -1,0 +2,9 @@ +Sun Mar 13 15:55:46 UTC 2016 - tittiatc...@gmail.com + +- Update to KDE Applications 15.12.3 + * KDE Applications 15.12.3 + * https://www.kde.org/announcements/announce-applications-15.12.3.php + * boo#970855 + + +------------------------------------------------------------------- Old: ---- lokalize-15.12.2.tar.xz New: ---- lokalize-15.12.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lokalize.spec ++++++ --- /var/tmp/diff_new_pack.K10DKU/_old 2016-03-29 10:37:53.000000000 +0200 +++ /var/tmp/diff_new_pack.K10DKU/_new 2016-03-29 10:37:53.000000000 +0200 @@ -17,7 +17,7 @@ Name: lokalize -Version: 15.12.2 +Version: 15.12.3 Release: 0 Summary: KDE Translation Editor License: GPL-2.0+ ++++++ lokalize-15.12.2.tar.xz -> lokalize-15.12.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lokalize-15.12.2/src/xlifftextedit.cpp new/lokalize-15.12.3/src/xlifftextedit.cpp --- old/lokalize-15.12.2/src/xlifftextedit.cpp 2016-02-02 22:52:26.000000000 +0100 +++ new/lokalize-15.12.3/src/xlifftextedit.cpp 2016-02-22 01:42:06.000000000 +0100 @@ -759,8 +759,12 @@ QTextCursor c=textCursor(); if (!c.movePosition(up?QTextCursor::Up:QTextCursor::Down)) { - if (up) emit gotoPrevRequested(); - else emit gotoNextRequested(); + QTextCursor::MoveOperation op; + if (up && !c.atStart()) op = QTextCursor::Start; + else if (!up && !c.atEnd()) op = QTextCursor::End; + else if (up) { emit gotoPrevRequested(); op = QTextCursor::End;} + else { emit gotoNextRequested(); op = QTextCursor::Start;} + c.movePosition(op); } setTextCursor(c); } @@ -1369,8 +1373,10 @@ if (!m_completionBox->isVisible()) //NOTE remove the check if kdelibs gets adapted m_completionBox->show(); m_completionBox->resize(m_completionBox->sizeHint()); - qDebug()<<viewport()->mapToGlobal(cursorRect().bottomRight()); - m_completionBox->move(viewport()->mapToGlobal(cursorRect().bottomRight())); + QPoint p = cursorRect().bottomRight(); + if (p.x()<10) //workaround Qt bug + p.rx() += textCursor().verticalMovementX() + QFontMetrics(currentFont()).width('W'); + m_completionBox->move(viewport()->mapToGlobal(p)); } else m_completionBox->hide();