Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect UTF filename scrolling #20121

Merged
merged 6 commits into from
Nov 13, 2020

Conversation

LinFor
Copy link
Contributor

@LinFor LinFor commented Nov 12, 2020

Description

Filename scrolling relies on the one-byte-one-character assumption. Scrolling multibyte characters resulted in line flickering due to incorrectly aligned start of line. In addition, incorrect line trimming and other minor defects occurred.

Benefits

Interface improvements

Configurations

No new configuration directives. Tested on all combinations of UTF_FILENAME_SUPPORT and SCROLL_LONG_FILENAMES.

Related Issues

None yet

Marlin/src/lcd/marlinui.cpp Outdated Show resolved Hide resolved
@LinFor LinFor marked this pull request as ready for review November 12, 2020 18:21
@thinkyhead thinkyhead merged commit 99c377b into MarlinFirmware:bugfix-2.0.x Nov 13, 2020
FhlostonParadise pushed a commit to FhlostonParadise/Marlin that referenced this pull request Nov 21, 2020
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Kannix2005 pushed a commit to Kannix2005/Marlin-1 that referenced this pull request Dec 7, 2020
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
vgadreau pushed a commit to vgadreau/Marlin that referenced this pull request Dec 9, 2020
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
tharts pushed a commit to tharts/Marlin that referenced this pull request Jan 6, 2021
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
dpreed pushed a commit to dpreed/Marlin_2.0.x that referenced this pull request Feb 5, 2021
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
kpishere pushed a commit to kpishere/Marlin that referenced this pull request Feb 19, 2021
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
W4tel-BiDi pushed a commit to W4tel-BiDi/Marlin that referenced this pull request Apr 5, 2021
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
thinkyhead added a commit that referenced this pull request Apr 30, 2021
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants