Opened 8 years ago

Last modified 5 years ago

#708 assigned defect/bug

missing 32x32 flags to select/show country in WVGA

Reported by: dirk205 Owned by: usul
Priority: major Milestone: version 0.5.1
Component: port/wince Version: git master
Severity: Keywords: country, WVGA, display, ui, icon
Cc: nick@…

Description

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

Attachments (2)

keine Landauswahl.png (33.9 KB) - added by dirk205 8 years ago.
HTC HD2, 800x480, landscape
line pitch2.png (32.4 KB) - added by dirk205 8 years ago.
not showing default country now

Download all attachments as: .zip

Change History (11)

Changed 8 years ago by dirk205

HTC HD2, 800x480, landscape

comment:1 Changed 8 years ago by korrosa

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

comment:2 Changed 8 years ago by dirk205

  • 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.

comment:3 Changed 8 years ago by dirk205

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.

Changed 8 years ago by dirk205

not showing default country now

comment:4 Changed 8 years ago by dirk205

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

comment:5 Changed 8 years ago by number6

  • Cc nick@… added
  • Component changed from core to port/wince

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.

comment:6 Changed 8 years ago by dirk205

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?

comment:7 Changed 8 years ago by dirk205

  • Summary changed from impossible to select country in WVGA to missing 32x32 flags to select/show country in WVGA

Summary adapted.

comment:8 Changed 5 years ago by usul

  • Keywords display ui icon added
  • Milestone set to version 0.5.1

Will try to check this for current SVN cab.

comment:9 Changed 5 years ago by usul

  • Owner changed from KaZeR to usul
  • Status changed from new to assigned

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.

Note: See TracTickets for help on using tickets.