<?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 Mouse clicked in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/mouse-clicked/m-p/881833#M3648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed something today and wondered if this makes sense or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MapView (Runtime v100.x, or the Map in 10.2.6) both have mouseclicked signals. The docs for 100.x say the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0px; margin-bottom: 1.5rem; color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;Emitted when a mouse click or touch is detected on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-geoview.html" style="color: #0079c1; text-decoration: none;"&gt;GeoView&lt;/A&gt;.This signal will only emit if a mouse press and a mouse release happen in the same relative location. This is useful when performing tasks like an identify, where you want to know if a user clicked or tapped on a particular feature.&lt;/P&gt;&lt;P&gt;The key thing here being '...in the same relative location...' which doesn't seem to be the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A click/tap fires the mouseclicked signal.&lt;/P&gt;&lt;P&gt;A click and drag pans the map as it should.&lt;/P&gt;&lt;P&gt;A press and hold fires the 'mousepressedandheld' signal as it should, but then if I move the mouse all the way across the map (i.e. quite obviously *not* in the same relative location) and release it, then the mouseclicked signal still fires.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed the same behaviour in both runtimes, now that I'm aware of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if someone else can confirm the same behaviour? And then if they can, is this a bug or are the docs misleading?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wanting to respond differently depending on whether it was a mouse click or a pressandheld event, so currently I have to do a workaround by setting a custom bool value on pressandheld to ignore the clicked event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2018 04:22:02 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-04-19T04:22:02Z</dc:date>
    <item>
      <title>Mouse clicked</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/mouse-clicked/m-p/881833#M3648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed something today and wondered if this makes sense or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MapView (Runtime v100.x, or the Map in 10.2.6) both have mouseclicked signals. The docs for 100.x say the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0px; margin-bottom: 1.5rem; color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;Emitted when a mouse click or touch is detected on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-geoview.html" style="color: #0079c1; text-decoration: none;"&gt;GeoView&lt;/A&gt;.This signal will only emit if a mouse press and a mouse release happen in the same relative location. This is useful when performing tasks like an identify, where you want to know if a user clicked or tapped on a particular feature.&lt;/P&gt;&lt;P&gt;The key thing here being '...in the same relative location...' which doesn't seem to be the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A click/tap fires the mouseclicked signal.&lt;/P&gt;&lt;P&gt;A click and drag pans the map as it should.&lt;/P&gt;&lt;P&gt;A press and hold fires the 'mousepressedandheld' signal as it should, but then if I move the mouse all the way across the map (i.e. quite obviously *not* in the same relative location) and release it, then the mouseclicked signal still fires.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed the same behaviour in both runtimes, now that I'm aware of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if someone else can confirm the same behaviour? And then if they can, is this a bug or are the docs misleading?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wanting to respond differently depending on whether it was a mouse click or a pressandheld event, so currently I have to do a workaround by setting a custom bool value on pressandheld to ignore the clicked event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;-Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 04:22:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/mouse-clicked/m-p/881833#M3648</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-04-19T04:22:02Z</dc:date>
    </item>
  </channel>
</rss>

