Summary: | writeToStream Assert triggers in recent master | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Kurt Hindenburg <khindenburg> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | me |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | macOS | ||
Latest Commit: | https://invent.kde.org/utilities/konsole/commit/97171b59e694893b61a1f70c2998d6967070187a | Version Fixed In: | |
Sentry Crash Report: |
Description
Kurt Hindenburg
2022-08-15 15:31:58 UTC
I didn't hit the asserts, but for me I found that Screen::writeToStream writes incomplete part of a formatted selection. For example, when selecting `KPropertiesDialog::KPropertiesDialog` in a colored gdb backtrace, konsole only copies `KPropertiesDialog::K ` portion of it — and (suddenly!) a newline. I'm going to add HTML output tests to the ScreenTest class. As a test data, I'll be using some ANSI formatted text, probably from gdb output, but it could be anything. I don't know what has changed, but I can't reproduce the partial copy bug anymore :-\ Git commit 4e875cdfdd88fc86e181ad97825c390ea62ab0d7 by Kurt Hindenburg, on behalf of Matan Ziv-Av. Committed on 25/08/2022 at 19:47. Pushed by hindenburg into branch 'master'. Prevent _replModeStart line number from becoming negative Hopefully, this solves: Related: bug 458015 M +4 -2 src/Screen.cpp https://invent.kde.org/utilities/konsole/commit/4e875cdfdd88fc86e181ad97825c390ea62ab0d7 Git commit 97171b59e694893b61a1f70c2998d6967070187a by Matan Ziv-Av. Committed on 01/09/2022 at 12:48. Pushed by tcanabrava into branch 'release/22.08'. Prevent _replModeStart line number from becoming negative Hopefully, this solves: Related: bug 458015 M +4 -2 src/Screen.cpp https://invent.kde.org/utilities/konsole/commit/97171b59e694893b61a1f70c2998d6967070187a |