[
https://issues.apache.org/jira/browse/GUACAMOLE-1256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852864#comment-17852864
]
Corentin Soriano edited comment on GUACAMOLE-1256 at 6/18/24 6:34 AM:
----------------------------------------------------------------------
For vi, the issue seems to be visible only when scrolling to top:
!image-2024-06-06-18-13-06-244.png!
The cursor commit performs a set_columns which conflicts with the copy by
changing the operation_type.
For nano, the problem is not exactly the same: guacamole should process 'S' and
'T' CSI sequences (scroll up and down {*}by amount{*}).
Here you will find the pull request that fixes both of these issues:
was (Author: JIRAUSER305102):
For vi, it seems that there are several different behaviors:
* Page up / page down = no problem
* Down arrow = no problem
* Up arrow = problem when visible_cursor_row != 1
** The row above the cursor is copied to the cursor row.
** The content is not "damaged" in the buffer. The clipboard contains the real
lines and not what is displayed if I select text.
!image-2024-06-06-18-13-06-244.png!
We can force the redrawing of the content on the screen with
__guac_terminal_redraw_rect but I think this is not the right approach.
For nano, the problem is not exactly the same: guacamole should process 'S' and
'T' CSI sequences (scroll up and down {*}by amount{*}).
> Lines of file gets broken when navigating back and forth using a text editor
> ----------------------------------------------------------------------------
>
> Key: GUACAMOLE-1256
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1256
> Project: Guacamole
> Issue Type: Bug
> Components: Terminal
> Affects Versions: 1.2.0
> Environment: Distributor ID:Ubuntu
> Description:Ubuntu 18.04.2 LTS
> Release:18.04
> Codename:bionic
> Linux dev-kubernetes-01 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52
> UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Hugaleno Bezerra
> Priority: Minor
> Attachments: Screenshot from 2023-10-10 13-39-18.png, Screenshot from
> 2023-10-10 13-41-00.png, bug_scrollingback_onfile.gif,
> image-2024-06-06-18-13-06-244.png
>
>
> Protocol: SSH
> When editing a file using a text editor like vim and navigating back and
> forth in the file some lines get "broken".
> The file being used in the gif below is a default file from ubuntu
> installation "vim /etc/ltrace.conf"
> The problem happens in some servers of our local network, while in anothers
> with same SO it doens't. We tried find a step to step to reproduce the
> problem with 100% accurate but unfortunately we couldn't.
> We decide to share that to see if someone else is having the same problem and
> could help to find the reason.
> If you need any more information to help reproduce de problem pls let me know.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)