Skip to content
Snippets Groups Projects

dd_ligbtar_menu.js: Fix for behavior with the item color when printing the last portion of an item. Also, UTF8 detection improvement.

Merged Eric Oulashin requested to merge dd_lightbar_menu_list_utf8_detection_and_bkg_color into master

dd_ligbtar_menu.js: Fix for behavior with the item color when printing the last portion of an item. Also, UTF8 detection improvement. The menu items have an isUTF8 property, which must be set to true by the developer if it is known that the item text has UTF-8 characters. Sometimes (as discovered when listing personal emails), an item might have UTF-8 characters but the isUTF8 properrty wouldn't have been set to true. In that case, try to detect whether the text has UTF-8 using str_is_utf8() (which maybe should always be used instead of the isUTF8 proprety). Also, this includes an improvement for item formatting with the background color if it still gets into the 'else' case where it thinks the item text doesn't have UTF-8 characters when it actually does.

Merge request reports

Pipeline #6482 passed

Pipeline passed for 8ca75066 on dd_lightbar_menu_list_utf8_detection_and_bkg_color

Merged by Rob SwindellRob Swindell 10 months ago (Jun 23, 2024 4:21am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading