aerostitch / testnavit

0 stars 0 forks source link

missing 32x32 flags to select/show country in WVGA #53

Open aerostitch opened 13 years ago

aerostitch commented 13 years ago

Issue migrated from trac ticket # 708

component: port/wince | priority: major | keywords: country, WVGA, display, ui, icon

2010-12-26 06:46:29: dirk205@freenet.de created the issue


When selecting a town, the country selection icon is missing in WVGA (800x480). In QVGA, the same navit.exe works fine.

aerostitch commented 13 years ago

2010-12-26 06:47:09: dirk205@freenet.de uploaded file keine Landauswahl.png (33.9 KiB)

HTC HD2, 800x480, landscape keine Landauswahl.png

aerostitch commented 13 years ago

2010-12-28 05:53:16: korrosa commented


Please provide details of:

 - Navit version and download source
 - Platform and OS
 - In this case, full Navit.xml might be useful: use navit.pastebin.com
aerostitch commented 13 years ago

2010-12-29 02:22:38: dirk205@freenet.de commented


  • Download source: svn co https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit
  • Current navit version: 0.5.0.3810 from Dec 21st
  • Compiler: arm-mingw32ce-gcc (GCC) 4.4.0 with recent cygwin on WinXP
  • Device 1 is an HTC HD2 running Windows Mobile 6.5 with 800x480 display
  • Device 2 is an FSC N520 running Windows Mobile 5.0 with 320x240 display

This problem can be observed on device 1 with preinstalled navit.xml, too, for both portrait and landscape mode. Device 2 runs fine.

aerostitch commented 13 years ago

2011-01-02 13:50:42: dirk205@freenet.de commented


I found the problem: Navit wants to load icons "country??.png" and then "country??_32_32.png" which are all not contained in the wince installation package. I created that bitmaps from the delivered "_16_16" ones myself and then it works.

--> Please add the _32_32 icons to the wince installation package.

aerostitch commented 13 years ago

2011-01-02 14:13:42: dirk205@freenet.de uploaded file line pitch2.png (32.4 KiB)

not showing default country now line pitch2.png

aerostitch commented 13 years ago

2011-01-02 14:17:22: dirk205@freenet.de commented


See new attachment, country is now selectable. Unfortunately the default country icon is not displayed, any icon occurs only after explicit country selection.

aerostitch commented 13 years ago

2011-01-02 14:25:27: @geoghegan changed component from core to port/wince

aerostitch commented 13 years ago

2011-01-02 14:25:27: @geoghegan commented


The problem is that .cab's can only have 999 files, so including all the images will push us over the 999 file limit.

As for the flags, can you please try downloading them from http://maps4.navit-project.org/flags/

I've tried this before on WinCE - putting in a 32x32 flag image crashes navit. Can you please let me know if it does the same for you.

aerostitch commented 13 years ago

2011-01-07 10:37:05: dirk205@freenet.de commented


Hi, I enlarged all 16x16 flags to 32x32 by Irfanview on PC and copied them into the installation's xpm folder. This works fine.

The problem is that .cab's can only have 999 files Pitty! I suggest to create different cab's for different screen sizes. Alternatively, is it possible to create the PNG files from the svg during installation? Or, offering patch cab's for VGA and WVGA?

Question: How can I create a .cab file for installation of Navit?

aerostitch commented 13 years ago

2011-01-07 11:03:10: dirk205@freenet.de changed title from impossible to select country in WVGA to missing 32x32 flags to select/show country in WVGA

aerostitch commented 13 years ago

2011-01-07 11:03:10: dirk205@freenet.de commented


Summary adapted.

aerostitch commented 11 years ago

2013-07-05 14:51:54: usul

aerostitch commented 11 years ago

2013-07-05 14:51:54: usul commented


Will try to check this for current SVN cab.

aerostitch commented 11 years ago

2013-10-12 07:22:20: usul changed status from new to assigned

aerostitch commented 11 years ago

2013-10-12 07:22:20: usul changed owner from KaZeR to usul

aerostitch commented 11 years ago

2013-10-12 07:22:20: usul commented


Reading this ticket again makes me thinking, that there is a bug on getting the 32_ .png filenames as they seem to be influenced by the screens dimensions.