Select to view content in your preferred language

pplx::task_canceled on zoom action

614
6
Jump to solution
10-30-2024 12:58 AM
Labels (3)
Tsub4sa80
Emerging Contributor

Hi to all, I'm developing a QT SDK C++ application using VS2022.

Sometime, after zoom action, on the output window appear the Microsoft C++ exception message "pplx::task_canceled".

Should I investigate or can I not worry?

Thanks in advance.

 

 

0 Kudos
1 Solution

Accepted Solutions
JamesBallard1
Esri Regular Contributor

Hi @Tsub4sa80. This is an internal exception that we swallow internally. I'd treat it as an internal implementation detail that you can ignore. I am curious... Are you seeing this in the Visual Studio output window, or somewhere else?

View solution in original post

6 Replies
JamesBallard1
Esri Regular Contributor

Hi @Tsub4sa80. This is an internal exception that we swallow internally. I'd treat it as an internal implementation detail that you can ignore. I am curious... Are you seeing this in the Visual Studio output window, or somewhere else?

Tsub4sa80
Emerging Contributor

Hi @JamesBallard1 , thanks for  your reply. I see the message in the Visual studio output window.

0 Kudos
JamesBallard1
Esri Regular Contributor

Thanks, @Tsub4sa80. We will look into why this message is coming through, but it's nothing to be concerned with.

Tsub4sa80
Emerging Contributor

@JamesBallard1  I've a last question. Sometime, after zoom or pan operation, chart is not updated (that's why I asked about the warning message )

We are using a WMS Server and on the mapView we also draw some symbols at certain frequency on other graphic layers. 

What can I investigate?

0 Kudos
JamesBallard1
Esri Regular Contributor

@Tsub4sa80 would you be able to share the WMS service you're using along with some steps so we can try this out? A short recording/video of the problem happening would help us understand the nature of the problem better as well if that's a possibility.

Another option is to see if the problem reproduces with our WMS sample: https://github.com/Esri/arcgis-maps-sdk-samples-qt/tree/main/CppSamples/Layers/WmsLayerUrl 

The latest version of our samples viewer app for Windows is here if you want to download and try it out: https://www.arcgis.com/home/item.html?id=c78d9ccabc5a4dcf9b74c11f55c7a279 . It would be helpful to know if the problem you're seeing happens with the sample itself using our example service.

0 Kudos
Tsub4sa80
Emerging Contributor

@JamesBallard1  thanks you for your prompt reply. we have also introduced toolkit OverviewMap in our software. I found out that by removing it, the pan / zoom issue does not occur. I suppose that requests are sent simultaneously to the WMS server, thus creating rendering problems. I don't have much time, so for the moment the overlaymap functionality will be disabled, to avoid reducing system performance.

0 Kudos