Bug 40824 - Contextual Action Bar stays open on Navigation
Summary: Contextual Action Bar stays open on Navigation
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.2.0
Hardware: Macintosh Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-05-03 13:45 UTC by adamm
Modified: 2016-08-05 02:37 UTC (History)
7 users (show)

Tags: ac
Is this bug a regression?: ---
Last known good build:


Attachments
Test application to show the issue. (43.69 KB, application/zip)
2016-05-03 13:45 UTC, adamm
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description adamm 2016-05-03 13:45:29 UTC
Created attachment 15887 [details]
Test application to show the issue.

If you have a page open with a ListView, then get a ContextAction to appear in the Android Toolbar (Contextual Action Bar), that bar will stay present when you navigate away from the page (say by pressing a button, switching tabs, etc).

This happened on every version of Forms I used, using FormsAppCompatActivity and an AppCompat theme.

Included is a sample that reproduces the issue for me. It is a page with a list and a button. Push and hold for a context action, then push the button to navigate. The action bar for the context action is still visible.
Comment 1 Samantha Houts [MSFT] 2016-08-02 16:24:06 UTC
Should be fixed in 2.3.1-pre1. Thank you!
Comment 2 Samantha Houts [MSFT] 2016-08-02 16:25:29 UTC
Oops, replied to the wrong bug. This one is still in progress. Sorry about that!
Comment 3 Rui Marinho 2016-08-03 08:59:53 UTC
Should be fixed in 2.3.1-pre1. Thank you!
Comment 4 Rui Marinho 2016-08-03 09:00:53 UTC
Sorry 2.3.2-pre1 :)
Comment 5 torshid 2016-08-05 02:37:49 UTC
This problem seems to be still present in 2.3.2-pre1. This is my current hierarchy:
-NavigationPage
--MasterDetailPage
---Master
----ContentPage
-----ListView
When I click outside the bounds of the content page, the action bar is still there. I either need to press the back button or the action button to hide it.