Skip to content

GUACAMOLE-1256: Fix a display issue when scrolling up in vi as well as latency in less.#565

Merged
mike-jumper merged 1 commit intoapache:staging/1.6.0from
corentin-soriano:GUACAMOLE-1256_scroll_display_issue
Dec 18, 2024
Merged

GUACAMOLE-1256: Fix a display issue when scrolling up in vi as well as latency in less.#565
mike-jumper merged 1 commit intoapache:staging/1.6.0from
corentin-soriano:GUACAMOLE-1256_scroll_display_issue

Conversation

@corentin-soriano
Copy link
Copy Markdown
Member

Allows better synchronization between the buffer and the display, which avoids "mixed" displayed data when highlighting braces, parentheses and others in vi.
Seems to fix a latency issue when scrolling up in less.

@corentin-soriano corentin-soriano force-pushed the GUACAMOLE-1256_scroll_display_issue branch 2 times, most recently from b7848db to 08aae5b Compare December 1, 2024 10:18
@corentin-soriano corentin-soriano marked this pull request as draft December 4, 2024 09:13
@corentin-soriano corentin-soriano force-pushed the GUACAMOLE-1256_scroll_display_issue branch from 08aae5b to c6517eb Compare December 4, 2024 09:31
@corentin-soriano corentin-soriano force-pushed the GUACAMOLE-1256_scroll_display_issue branch from c6517eb to 9bde8b9 Compare December 4, 2024 09:35
@corentin-soriano corentin-soriano marked this pull request as ready for review December 4, 2024 09:38
@necouchman
Copy link
Copy Markdown
Contributor

Looks okay to me. @mike-jumper or @jmuehlner, any thoughts/comments?

@mike-jumper
Copy link
Copy Markdown
Contributor

mike-jumper commented Dec 18, 2024

This looks at least equivalent to the workaround that was already put in place, and with the understanding that the workaround does appear to address the behavior, I'm happy with the change.

More broadly, I'm not sure about the logic of the workaround. If the issue is that the terminal's GUAC_CHAR_COPY can end up pointing at unexpected data, I'd think the correction would be to flush the copy whenever the source of that copy is changed, not when the character containing GUAC_CHAR_COPY changes (which would just mean that the copy is being replaced and is no longer necessary).

@mike-jumper mike-jumper merged commit af7ed38 into apache:staging/1.6.0 Dec 18, 2024
@corentin-soriano corentin-soriano deleted the GUACAMOLE-1256_scroll_display_issue branch May 30, 2025 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants