You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Christophe A. Guilmart (JIRA)" <ji...@apache.org> on 2012/08/09 17:58:19 UTC
[jira] [Created] (CB-1218) WP7 : BackButton event don't work
anymore (since 2.0)
Christophe A. Guilmart created CB-1218:
------------------------------------------
Summary: WP7 : BackButton event don't work anymore (since 2.0)
Key: CB-1218
URL: https://issues.apache.org/jira/browse/CB-1218
Project: Apache Cordova
Issue Type: Bug
Components: WP7
Affects Versions: 2.0.0
Environment: WindowPhone 7.10.8773.98 (7.5) on Nokia Lumia 800.
Reporter: Christophe A. Guilmart
Assignee: Jesse MacFadyen
Priority: Critical
using the code from the doc (http://docs.phonegap.com/en/2.0.0/cordova_events_events.md.html#backbutton) or a modifing the template from 2.0.0 (see annexed files), my callback for backbutton is never called and the location of the page is changed when I press the back button.
This was working on 1.8.
h3. Expected behavior:
* custom callback called
* prevent default behavior. ie: document.location.href does not change when user press the physical back button on the terminal
h3. see also
* http://stackoverflow.com/q/11866952/154272
h3. My Config:
* cordova : 2.0.0
* Nokia Lumia 800
* Version OS : 7.10.8773.98 (commercial : 7.5)
* Microsoft Visual Studio 2010
Version WPDTRTMRel - 40219.209
Microsoft .NET Framework
Version 4.0.30319 SP1Rel
Installed Version: PD Express
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CB-1218) WP7 : BackButton event don't work
anymore (since 2.0)
Posted by "Flavio Spezi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437346#comment-13437346 ]
Flavio Spezi commented on CB-1218:
----------------------------------
I confirm, I have the same error.
> WP7 : BackButton event don't work anymore (since 2.0)
> -----------------------------------------------------
>
> Key: CB-1218
> URL: https://issues.apache.org/jira/browse/CB-1218
> Project: Apache Cordova
> Issue Type: Bug
> Components: WP7
> Affects Versions: 2.0.0
> Environment: WindowPhone 7.10.8773.98 (7.5) on Nokia Lumia 800.
> Reporter: Christophe A. Guilmart
> Assignee: Jesse MacFadyen
> Priority: Critical
> Attachments: index.html, index.js, log.txt
>
>
> using the code from the doc (http://docs.phonegap.com/en/2.0.0/cordova_events_events.md.html#backbutton) or a modifing the template from 2.0.0 (see annexed files), my callback for backbutton is never called and the location of the page is changed when I press the back button.
> This was working on 1.8.
> h3. Expected behavior:
> * custom callback called
> * prevent default behavior. ie: document.location.href does not change when user press the physical back button on the terminal
> h3. see also
> * http://stackoverflow.com/q/11866952/154272
> h3. My Config:
> * cordova : 2.0.0
> * Nokia Lumia 800
> * Version OS : 7.10.8773.98 (commercial : 7.5)
> * Microsoft Visual Studio 2010
> Version WPDTRTMRel - 40219.209
> Microsoft .NET Framework
> Version 4.0.30319 SP1Rel
> Installed Version: PD Express
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-1218) WP7 : BackButton event don't work
anymore (since 2.0)
Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse MacFadyen resolved CB-1218.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
Commit addressing this issue:
https://github.com/purplecabbage/incubator-cordova-wp7/commit/d04b87abb3c3822ef25438e1353a1d7d2e0d6628
> WP7 : BackButton event don't work anymore (since 2.0)
> -----------------------------------------------------
>
> Key: CB-1218
> URL: https://issues.apache.org/jira/browse/CB-1218
> Project: Apache Cordova
> Issue Type: Bug
> Components: WP7
> Affects Versions: 2.0.0
> Environment: WindowPhone 7.10.8773.98 (7.5) on Nokia Lumia 800.
> Reporter: Christophe A. Guilmart
> Assignee: Jesse MacFadyen
> Priority: Critical
> Fix For: 2.1.0
>
> Attachments: index.html, index.js, log.txt
>
>
> using the code from the doc (http://docs.phonegap.com/en/2.0.0/cordova_events_events.md.html#backbutton) or a modifing the template from 2.0.0 (see annexed files), my callback for backbutton is never called and the location of the page is changed when I press the back button.
> This was working on 1.8.
> h3. Expected behavior:
> * custom callback called
> * prevent default behavior. ie: document.location.href does not change when user press the physical back button on the terminal
> h3. see also
> * http://stackoverflow.com/q/11866952/154272
> h3. My Config:
> * cordova : 2.0.0
> * Nokia Lumia 800
> * Version OS : 7.10.8773.98 (commercial : 7.5)
> * Microsoft Visual Studio 2010
> Version WPDTRTMRel - 40219.209
> Microsoft .NET Framework
> Version 4.0.30319 SP1Rel
> Installed Version: PD Express
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-1218) WP7 : BackButton event don't work
anymore (since 2.0)
Posted by "Christophe A. Guilmart (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christophe A. Guilmart updated CB-1218:
---------------------------------------
Attachment: log.txt
index.js
index.html
joint TEST CASE
> WP7 : BackButton event don't work anymore (since 2.0)
> -----------------------------------------------------
>
> Key: CB-1218
> URL: https://issues.apache.org/jira/browse/CB-1218
> Project: Apache Cordova
> Issue Type: Bug
> Components: WP7
> Affects Versions: 2.0.0
> Environment: WindowPhone 7.10.8773.98 (7.5) on Nokia Lumia 800.
> Reporter: Christophe A. Guilmart
> Assignee: Jesse MacFadyen
> Priority: Critical
> Attachments: index.html, index.js, log.txt
>
>
> using the code from the doc (http://docs.phonegap.com/en/2.0.0/cordova_events_events.md.html#backbutton) or a modifing the template from 2.0.0 (see annexed files), my callback for backbutton is never called and the location of the page is changed when I press the back button.
> This was working on 1.8.
> h3. Expected behavior:
> * custom callback called
> * prevent default behavior. ie: document.location.href does not change when user press the physical back button on the terminal
> h3. see also
> * http://stackoverflow.com/q/11866952/154272
> h3. My Config:
> * cordova : 2.0.0
> * Nokia Lumia 800
> * Version OS : 7.10.8773.98 (commercial : 7.5)
> * Microsoft Visual Studio 2010
> Version WPDTRTMRel - 40219.209
> Microsoft .NET Framework
> Version 4.0.30319 SP1Rel
> Installed Version: PD Express
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira