<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GPS locks application when moving or resizing windows in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/gps-locks-application-when-moving-or-resizing/m-p/46816#M534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI, I wrapped the port read and UI update statements into a Dispatcher.Invoke and that cleared up the problem.&amp;nbsp; Using a Task to read the serial port also works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 19:45:57 GMT</pubDate>
    <dc:creator>MarkCederholm</dc:creator>
    <dc:date>2015-02-13T19:45:57Z</dc:date>
    <item>
      <title>GPS locks application when moving or resizing windows</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/gps-locks-application-when-moving-or-resizing/m-p/46813#M531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an application with a class that implements ILocationProvider to read a serial port GPS.&amp;nbsp; Reporting location updates too quickly almost guarantees that the application will lock up [control-alt-del followed by cancel will free it up again].&amp;nbsp; Sleeping the BackgroundWorker thread for 4000 ms between reads reduces the chance of this happening, but if I continually resize a child window for long enough (say several seconds), the app will inevitably lock up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else seen this behavior?&amp;nbsp; Is there any way I can eliminate it altogether?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: If I use the class in a simple example, the problem doesn't crop up.&amp;nbsp; I'll update again if I can figure out how to duplicate the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 15:34:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/gps-locks-application-when-moving-or-resizing/m-p/46813#M531</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2015-02-12T15:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: GPS locks application when moving or resizing windows</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/gps-locks-application-when-moving-or-resizing/m-p/46814#M532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to try and reproduce this. How often are your location updates happening?&lt;/P&gt;&lt;P&gt;Do you have other code executing when your extent is changing that you don't have in your simple example?&lt;/P&gt;&lt;P&gt;Lastly, what are you using to parse the GPS Serial Port data? (I have a library on GitHub and nuget you can use: &lt;A href="https://github.com/dotMorten/NmeaParser/" title="https://github.com/dotMorten/NmeaParser/"&gt;dotMorten/NmeaParser · GitHub&lt;/A&gt; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 16:53:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/gps-locks-application-when-moving-or-resizing/m-p/46814#M532</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2015-02-13T16:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: GPS locks application when moving or resizing windows</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/gps-locks-application-when-moving-or-resizing/m-p/46815#M533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, as it turns out, not only was I able to create a simple example to duplicate the problem (see attached), it's not even a Runtime issue at all!&amp;nbsp; All that's required is 1) Reading a serial port, and 2) Having a child window that contains a user control defined elsewhere.&amp;nbsp; This appears to be a core WPF issue, so if I can't figure out a solution I should probably take this to a Microsoft forum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 17:25:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/gps-locks-application-when-moving-or-resizing/m-p/46815#M533</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2015-02-13T17:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: GPS locks application when moving or resizing windows</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/gps-locks-application-when-moving-or-resizing/m-p/46816#M534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI, I wrapped the port read and UI update statements into a Dispatcher.Invoke and that cleared up the problem.&amp;nbsp; Using a Task to read the serial port also works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 19:45:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/gps-locks-application-when-moving-or-resizing/m-p/46816#M534</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2015-02-13T19:45:57Z</dc:date>
    </item>
  </channel>
</rss>

