Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23813] Windows: Relative images paths are not relative to Resources dir, not current JS file

GitHub Issuen/a
TypeBug
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 6.1.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterChris Barber
AssigneeKota Iguchi
Created2016-08-24T02:03:45.000+0000
Updated2017-09-21T01:39:36.000+0000

Description

TIMOB-7004 states there there is a bug in Android where relative images are not loading correctly, however it's the opposite. The images are loading in Windows (and iOS) when they should not be. In TIMOB-7004 test case, app.js will require('ui/homeView.js') which creates an ImageView with a relative path. On Android, an image path of commonimages/home-home.png will try to load ui/commonimages/home-home.png. On Windows (and iOS), it appears to treat relative image paths as absolute paths, which is not correct.

Comments

No comments

JSON Source