blackberry / webworks-gui

GUI Tool for WebWorks 2.0
https://developer.blackberry.com/html5/
Apache License 2.0
3 stars 5 forks source link

Configuration page does not show preview of selected icons properly + textual difference from splashscreen icons #100

Open bryanhiggins opened 10 years ago

bryanhiggins commented 10 years ago

Steps to reproduce -Create a project -Go to configuration page -Add a valid image path to the icon textbox [i.e ./img/logo.png] -Click Add Icon -Add a valid image path to the splashscreen textbox [i.e ./img/logo.png] -Click Add Splash Screen

Actual -GUI doesn't show a preview of the icon, instead shows an image that looks like the default image when an image can't be rendered? -After the image preview the following text is shown. Source:(teal font) img/logo.png Which is different from the output shown for Splash screen with the exact same image added. Source:(black font) /img/logo.png Minor, but these really should output the same (color, format etc)

Expected -GUI shows a preview of the icon added? -Text shown for icons and splashscreen render the same (color, format etc)

The preview issue seems to only happen when i provide a path like so "./img/logo.png". Perhaps a normalize is in order before previewing.