[Konsole-devel] [konsole] [Bug 341798] Konsole crash immediately when launched or new tab created

Takahiro Hashimoto kenya888 at gmail.com
Mon Feb 23 07:25:50 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=341798

--- Comment #1 from Takahiro Hashimoto <kenya888 at gmail.com> ---
I have investigated this issue and found out PlainTextDecoder::decodeLine()
failed in TerminalDisplay.cpp:2830

------
    case Qt::ImSurroundingText: {
        // return the text from the current line
        QString lineText;
        QTextStream stream(&lineText);
        PlainTextDecoder decoder;
        decoder.begin(&stream);
        decoder.decodeLine(&_image[loc(0, cursorPos.y())], _usedColumns,
_lineProperties[cursorPos.y()]);
        decoder.end();
        return lineText;
    }
-------

As I use qimsys, a Japanese input method written in Qt,
TerminalDisplay::inputMethodQuery is called by event.

I checked PlainTextDecoder::decodeLine() implements. I think it need not care
if line property is LINE_DEFAULT of LINE_WRAPPED when launching konsole at
present. I suggest a patch to fix LineProperty to 0(LINE_DEFAULT) in
inputMethodQuery.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list