[konsole] [Bug 432376] Issues with reflow (links and highlighting)

Carlos Alves bugzilla_noreply at kde.org
Wed Feb 3 16:24:33 GMT 2021


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

--- Comment #12 from Carlos Alves <cbc.alves at gmail.com> ---
(In reply to Martin Sandsmark from comment #10)
> Not sure if I understood this, but I assume the problem on line 479 is the
> _lineProperties[currentPos] passed to insert, not the insert itself. I. e.
> _lineProperties.size() is less than _screenLines.size(), I think.
> 
> Not sure what "auto values" there is (this is why I don't like "auto"), but
> the insert with that might be getting them out of sync, if there's more than
> one value being inserted?

Can you test it?
Maybe on line 478:
if (_screenLines.size() != _lineProperties.size() || currentPos >=
_lineProperties.size()) {
    qDebug() << "Size error " << _screenLines.size() << _lineProperties.size()
<< currentPos;
}
And see something in terminal while running konsole.

The "auto values" use is in line 480.
If you want to verify if the "auto values" is correct, there is a function to
qDebug its content, just add this:
toDebug(values);
it will print just the string without the colors.

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


More information about the konsole-devel mailing list