florisboard icon indicating copy to clipboard operation
florisboard copied to clipboard

Snygg v2 background image not applied for URIs with spaces

Open patrickgold opened this issue 7 months ago • 0 comments

Short description

resolveAbsolutePath-IoAF18A() - FlorisAssetResolver failed to resolve URI 'flex:/images/London das grune London entdecken.jpg'
error: Illegal character in path at index 19: flex:/images/London das grune London entdecken.jpg
with:  ThemeInfo(name=local.themes.preview:1747179156180, config=ThemeExtensionComponentImpl(id=base, label=Base, authors=[], isNightTheme=true, stylesheetPath=null), loadedDir=/data/user/0/dev.patrickgold.florisboard.debug/cache/editor/1165cde4-ead0-46d2-ae03-434853b46db4/ext)

This potentially also affects other non URI-safe characters.

Steps to reproduce

  1. Edit a theme extension
  2. Add a file with a space in it
  3. Use that file in a background image URI
  4. See that background image is not applied (with above error)

FlorisBoard Version

0.5.0-alpha02

Install Source

GitHub

Device

Emulator

Android

15

patrickgold avatar May 13 '25 23:05 patrickgold