Missing tooltips in PTV xServer.NET

Within this forum we want to offer discussions all around our .NET based Map control including all .Net-language specific questions concerning calls of the xServer-API. Attention: xServer-relevant concepts can be found in further forums such as xRoute or xTour.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Missing tooltips in PTV xServer.NET

Post by Bernd Welter »

Hi there,

recently I face some non deterministic issues with tooltips on polylines: Though the tooltips appear for a very short fraction of a second they vanish. This wasn't the case some versions ago.

Is this a bug in PTV xServer.NET? Or in .NET Framweork?
Is there a workaround?

Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
User avatar
Oliver Heilig
Posts: 160
Joined: Tue May 13, 2014 12:10 pm
Location: Karlsruhe, Germany
Contact:

Re: Missing tooltips in PTV xServer.NET

Post by Oliver Heilig »

Hi Bernd,

i am also experiencing this problem now on my Win11 machine. Looks like MS messed around with the WPF tooltip handling, as there are several similar reports lately. As far as i can see this affects polylines on the map, and it cannot be fixed in the control itself.

Luckily the MouseEnter/MouseLeave events still work correctly, so i built this workaround for my app.

Could you check if this also works for you?

Oli
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany

https://github.com/oliverheilig/
Post Reply