I think it's probably due to commit f01eebd4992e8e28a74b9943b7a3597e4e3a95eb:

"Fix: Improve internal redrawing method.

Should now have no race conditions / lock outs to be more reliable when 
handling (e.g. downloading) multiple sources and redrawing the screen at any 
time by using the appropriate gtk idle drawing methods for all updates."

So I think it exposes something in GTK's 'idle redrawing' that doesn't redraw 
fast enough on Windows, so it's not a simple bug to fix.

As this text gets removed via the 'GDK_INVERT' method before being rewritten to 
show new values. This is how the *potential next point line* of the new track 
is (re)drawn, so I don't know why the text doesn't get undrawn but the line 
does.

I note the ruler text display still works OK on Windows. I tried making the 
extend track info display in the exact same manner as the Ruler Text Info 
overlay way, however I ran into some difficulties (tried using PangoLayouts - 
however as this Graphics Context (GC) is not cleared - the text boxes 
continually piled up), so had to fallback to the currently implemented version 
(which seemed to work...)

I may look into again if I have time, but I won't be able to test out if my 
changes make a Windows build any better.

I suspect the answer is not to try and remove the old stuff by the GDK_INVERT 
method, but simply wipe everything and redraw it all (as per Ruler Info 
overlay). However since a new track is drawn as a special colour it uses it's 
own GC, may need to have another GC just for the *potential next point line* - 
whilst the known track points are drawn by the existing main track drawing 
function as done currently.

HTH.

Be Seeing You - Rob.
If at first you don't succeed,
then skydiving isn't for you.


----------------------------------------
> Date: Tue, 28 Aug 2012 17:46:36 +0200
> Subject: Re: [Viking-devel] 1.3.1 Windows problems/bugs
> From: guilhem.bonnefi...@gmail.com
> To: mathie...@gmail.com
> CC: rw_nor...@hotmail.com; etwe...@talktalk.net; 
> viking-devel@lists.sourceforge.net
>
> Hi,
>
> 2012/8/28 Mathieu <mathie...@gmail.com>:
> >> It ships with many supporting dlls, however I don't think there are any 
> >> changes (in version but the file dates have changed). Which points to the 
> >> Viking change.
> >>
> >> I personally don't use Windows for my personal projects, so from my 
> >> limited usage under Windows - it seemed to work - basically open a gpx, 
> >> view a map.
> >>
> >> At least 1.2.1 is working for you.
> >
> > dll haven't changed between 1.2.1 and 1.3.1. They come from
> > gtk+-bundle_2.22.1-20101227_win32.zip at GTK website (2.24 bundle is
> > quite unstable yet)
> >
> > I can confirm the drawing bug when you try to expand a track and this
> > bug appeared between 1.2.2 and 1.3.0 (never published on Sourceforge)
> > A lot of changes were committed between 1.2.2 and 1.3.0 that apply to
> > viewport redrawing. Any Idea Robert where I have to look for the bug?
>
> Depending how difficult it is for you to run the compile-deploy-test.
> A useful solution for this is "git bisect".
>
> --
> Guilhem BONNEFILLE
> -=- JID: gu...@im.apinc.org MSN: guilhem_bonnefi...@hotmail.com
> -=- mailto:guilhem.bonnefi...@gmail.com
> -=- http://nathguil.free.fr/
                                          
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to