Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Swipe down from Header of CircleListView towards list area causes OnBackButtonPressed event trigger #257

Closed
axa88 opened this issue Mar 14, 2020 · 5 comments

Comments

@axa88
Copy link

axa88 commented Mar 14, 2020

Describe the bug

When swiping down at various points from the Header area, on a CircleListView of a CirclePage, the OnBackButtonPressed event is triggered.

The CircleList:

ListView = new CircleListView
 {
	 Header = new Label
	 {
		 FontSize = 20,
		 FontAttributes = FontAttributes.Bold,
		 VerticalOptions = LayoutOptions.Center,
		 HorizontalOptions = LayoutOptions.Center,
		 HorizontalTextAlignment = TextAlignment.Center,
		 TextColor = Color.Default,
		 Text = "Homes 🏘️",
	 },
	 BarColor = Color.Default,
	 ItemTemplate = new DataTemplate(typeof(TViewCell)),
	 ItemsSource = new ProfileViewModel(profiles).ItemCollection,
 };

 Content = ListView;

There are no other swipe or gesture recognizer in use.

To Reproduce
Steps to reproduce the behavior:

  1. Create CircleListView similar to the above
  2. Click on top of Header area near or close to an outside edge
  3. Swipe down towards the list area
  4. See OnBackButtonPressed event gets triggered

Expected behavior
It is expected that swiping on the viewable area does not unexpectedly trigger such a method

Screenshots
SwipeTriggersOnBackButtonPressed

Environment :
Target Product Emulator 4.0 Release on 3.6 SDK (2.8.0.24)
Tizen Platform Version [Tizen 4.0.0]
Tizen.CircularUI Version [1.4.0]

Additional context
No available hardware to test, this is odd behavior is noticed in emulator.
May not be Circular UI problem, perhaps only emulator.

@axa88 axa88 added the bug Something isn't working label Mar 14, 2020
@myroot myroot removed the bug Something isn't working label Mar 15, 2020
@myroot
Copy link
Collaborator

myroot commented Mar 15, 2020

Hi, Thanks for reporting error,
It is platform default behaivor (Bezel Swipe Down (Back))
https://developer.tizen.org/design/wearable/ux-overview/gestures?langredirect=1

But, Product device is not following this behavior

@axa88
Copy link
Author

axa88 commented Mar 16, 2020

Interesting.

I wonder how this will work with SwipeRefresh

With so little real estate on wearable device display perhaps this behavior should have a way to be disabled.

@myroot myroot closed this as completed Mar 25, 2020
@axa88
Copy link
Author

axa88 commented Apr 29, 2020

@myroot

I would think this is valid bug becuase as you say wearable Product does not follow Platform behavior, therefore wearable emulator should follow Product behavior not platform behavior.

Is there a public repo for the emulator bugs i could report this?

Unfortunatly when i demonstrate this application online for client they see it as instability rather than acceptible behavior :(

@myroot
Copy link
Collaborator

myroot commented Apr 29, 2020

@axa88
I think, The key factor to determining a bug is that is intended or not.
Swipe gesture and BackButton pressed event is intended behavior on platform

@myroot
Copy link
Collaborator

myroot commented Apr 29, 2020

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants