[Konsole-devel] Review Request: Do not insert one extra empty line every 500 lines in the saved history
Jekyll Wu
adaptee at gmail.com
Wed Sep 21 08:58:23 UTC 2011
> On Sept. 18, 2011, 9:34 p.m., Kurt Hindenburg wrote:
> > I think the idea was to grab only 500 lines from history at a time to prevent blocking/slowness. For some reason, after grabbing said lines, they added a new line afterwords. Your fix was the only thing I could come up with the last time I looked at this.
> >
Yeah, I can understand the 500 lines limit, but that extra empty line is non-understandable for me.
So what should we do about that bug and those code? Since the patch is simple and can be reverted easily, I think it is better to commit it than keeping the current state.
- Jekyll
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102652/#review6626
-----------------------------------------------------------
On Sept. 18, 2011, 12:09 a.m., Jekyll Wu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102652/
> -----------------------------------------------------------
>
> (Updated Sept. 18, 2011, 12:09 a.m.)
>
>
> Review request for Konsole.
>
>
> Summary
> -------
>
> The current behavior is a bit weird. It seems an intentional result(adding separator to make the saved history more readbale?), instead of a bug. However, I really failed to conclude the intention from the deleted code and comment.
>
> Those deleted code and comment were added in commit d3d909f1c82f5efc252c462b379aad518ffb9bb9 (quite a long time ago. Maybe the context for that extra empty line is already gone.
>
>
> This addresses bug 225501.
> http://bugs.kde.org/show_bug.cgi?id=225501
>
>
> Diffs
> -----
>
> src/SessionController.cpp b357172
>
> Diff: http://git.reviewboard.kde.org/r/102652/diff
>
>
> Testing
> -------
>
> No difference in the saved history( plain text or html) is observed so far.
>
>
> Thanks,
>
> Jekyll
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20110921/7866a8d7/attachment.html>
More information about the konsole-devel
mailing list