However, after a bit of exploring, I found that I could modify mod_textEntry.py to fix the problem. After the line: Code: entry.set_text(initialText) I added the following hack: Code: entry.modify_text(gtk.STATE_NORMAL, gtk.gdk.color_parse('#ffffff')) Of course, that's just a hack; it's (almost) as bad to have the color forced to white as to have it forced to black, since it won't work on light-colored themes. The proper solution would be to choose a color based on (1) the theme or user default, if specified; (2) white, if the overall brightness of the background is dark, or (3) black, if the overall brightness is light. But I'm not a gtk honcho, so I don't know how to write that code. Hopefully, this post will give somebody who knows more about gtk what they need to fix this bug.
entry.set_text(initialText)
entry.modify_text(gtk.STATE_NORMAL, gtk.gdk.color_parse('#ffffff'))
entry.modify_text(gtk.STATE_NORMAL, gtk.gdk.color_parse('black')) entry.modify_base(gtk.STATE_NORMAL, gtk.gdk.color_parse('white'))
I've been having lots of these and it is not related to moving. But seems many processes are started and they don't die. What happens to me, I just try to prenavigate an area where I'll be going, basically just look at the map, move the cursor around. After a set period of time of doing this, let's say 10 minutes, it will always black when moving further, i.e. you move the screen more to a new area let's say south of where you are looking, and it turns completely back. If you move it back south to where you were before the move, the tiles appear. It would seem like a memory leak or something. Anyhow this happens when driving also, notably, when autocentered, the map would turn black, when clicking on the screen, which turned the autocenter off, the map would appear, and the moving cursor, too. Then as I'd be driving it'd move of the map, autocenter again - black, click the screen - the map is there, if autocenter right away - black... And so on... Very annoying... It looks to bee like too many concurrent processes, or don't know, but it's not downloading the tiles, as they are already there, but still black...
The 30 second thing would fit in place with what I saw. I also had an issue near the end of the trip where it was on/routing for 4+ hours where it complained about "Operation canceled due to lack of memory". I "fixed" that by closing and restarting the app though, as I was semi-lost at the time.
So this is not a voice nag app right?
I will... how big are the logs it generates with normal usage? If they're small I may just turn it on and let it log everything, then chop out the parts I need later for issues.
(I need an on-screen debug widget/button! )
Wow.. nice map. What profiler are you using to generate that? Is it just for python? I code mainly in C/C#/C++, so not too familiar with python and it's tool set. Nice look to it though.
Hmm... Odd. It's been much better about warning 3 to 4 miles out since the update to 19. Maybe it works better on trips with longer distances between points? Is the length of the segment used at all to compute how early to trigger?
Overall, sounds like you've got plenty on the plate to work with. I'll happily test things out with new releases as they come out! I'm also hopeful to getting things setup (build env, etc) this weekend to start porting the tile server. I probably won't have a release before Monday, but if things go smoothly... we'll see.