Coder Social home page Coder Social logo

nui-demo's People

Contributors

adeelkazmi avatar agnelovaz avatar davidiansteele avatar dongsug-song avatar hrdisaac avatar huiyueun avatar jaehyun0cho avatar joogabyun avatar mumars avatar neostom432 avatar p-czaja avatar rabbitfor avatar seoyeon2kim avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nui-demo's Issues

[HomeApplication] Clicked event raised after reordering item.

  1. When reordering in edit mode is made, clicked event is also raised. But this should not happen.

  2. Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200403.1;
Release=20200403.1;
[Build]
Type=eng;
Date=20200403_014748;
Time=01:47:48;
Variant=NONE;
ID=tizen-unified;

[HomeApplication] Raise events when main text is clicked.

Clicking to main text should be treated as clicking by currently active item. It concerns both clicked and selected events and enter edit mode (long tap gesture).

Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200403.1;
Release=20200403.1;
[Build]
Type=eng;
Date=20200403_014748;
Time=01:47:48;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] For Items added in edit mode 'minus' icon is not clickable.

  1. Modified sample that shows the issue can be found here.
  2. Steps to reproduce:
    • enable edit mode
    • delete one of the items
    • new item based on removed one will be added by AppendItem().
    • try click minus icon once again.
  3. Tested on:
cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200605.2;
Release=20200605.2;
[Build]
Type=eng;
Date=20200605_215033;
Time=21:50:33;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] Deleted event is not raised.

  1. Deleted event is not raised when rotary selector items are deleted.
  2. Tested on:
cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200605.2;
Release=20200605.2;
[Build]
Type=eng;
Date=20200605_215033;
Time=21:50:33;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] Item can be moved to improper place

  1. When rotary selector item is moved in edit mode, it may be dropped in the wrong place:

  1. Tested on:
cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200605.2;
Release=20200605.2;
[Build]
Type=eng;
Date=20200605_215033;
Time=21:50:33;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] IsDeleteAble property of RotarySelectorItem doesn't work

  1. When IsDeleteAble property is set to false and edit mode is activated:
  • 'minus icon' is still visible next to the item icon (it shouldn't be visible)
  • item icons still can be deleted
  1. Tested on:
cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200605.2;
Release=20200605.2;
[Build]
Type=eng;
Date=20200605_215033;
Time=21:50:33;
Variant=NONE;
ID=tizen-unified;

[HomeApplication] Deleting item error.

  1. When trying to remove one of the rotary selector item error occurs:


In the first picture the last element has been clicked. This should remove the last item.

  1. Source code: here.

  2. Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200403.1;
Release=20200403.1;
[Build]
Type=eng;
Date=20200403_014748;
Time=01:47:48;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] Manage focus of RotarySelector elements.

  1. In Rotary selector control focus moves between elements (views) - rotary selector items, main label etc. This behavior prevents registration the KeyEvent on RotarySelector control as a whole - the event is raised on currently active (focused) view. Please set focus on RotarySelector control regardless of the state it is in.
    Note:
  • When edit mode is enabled, focus also moves between elements.
  • The focus can be managed using FocusManager class (the focus can be set on specified view using: FocusManager.Instance.SetCurrentFocusView())
  1. Tested on:
cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200605.2;
Release=20200605.2;
[Build]
Type=eng;
Date=20200605_215033;
Time=21:50:33;
Variant=NONE;
ID=tizen-unified;

[HomeApplication] Swipe between pages issues.

  1. When swiping between pages there is a problem with setting current item.
  • 4 pages:

    Swipe from 1st to 2nd page: Wrong MainText.

  • 2 pages:

    Swipe from 1st to 2nd page -> swipe from 2nd to 1st page:
    Wrong main text and click event raised on item associated to main text's item.

  1. Tested on:
cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200403.1;
Release=20200403.1;
[Build]
Type=eng;
Date=20200403_014748;
Time=01:47:48;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] Page indicators in rotary selector control not curved

  1. The page inticator (the dots at the top of the screen) are placed on "straight line". The guides show that it is slighty curved.

  2. Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200605.2;
Release=20200605.2;
[Build]
Type=eng;
Date=20200605_215033;
Time=21:50:33;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] The application crashes

  1. Steps to reproduce:
  • run app
  • switch to edit mode (long tap)
  • try to remove first element
  1. Tested on:
cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200605.2;
Release=20200605.2;
[Build]
Type=eng;
Date=20200605_215033;
Time=21:50:33;
Variant=NONE;
ID=tizen-unified;

[HomeApplication] Can't back to first page.

When the number of items in RotarySelector control is smaller (tested for 13 items - they take up two pages), there is no possibility to back to first page - by swipe gesture.

1. The change made in sample code: (applied here)

diff --git a/wearable-samples/HomeApplication/NUIWHome.cs b/wearable-samples/HomeApplication/NUIWHome.cs
index e451ae5..152a8db 100755
--- a/wearable-samples/HomeApplication/NUIWHome.cs
+++ b/wearable-samples/HomeApplication/NUIWHome.cs
@@ -99,6 +99,10 @@ namespace NUIWHome
                     String FullFileName = File.FullName;

                     imageFileList.Add(new CommonResource.ResourceData(FileNameOnly, FullFileName));
+                    if(imageFileList.Count >= 13)
+                    {
+                        break;
+                    }
                 }
             }
             imageFileList.Sort(delegate (CommonResource.ResourceData A, CommonResource.ResourceData B)

2. Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200403.1;
Release=20200403.1;
[Build]
Type=eng;
Date=20200403_014748;
Time=01:47:48;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] RemovableItems added in edit mode don't have a 'minus' icon

  1. Modified sample that shows the issue can be found here.
  2. Steps to reproduce:
    • enable edit mode
    • delete one of the items
    • new item based on removed one will be added by AppendItem(). It doesn't have a 'minus' icon.
  3. Tested on:
cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200605.2;
Release=20200605.2;
[Build]
Type=eng;
Date=20200605_215033;
Time=21:50:33;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] Raise 'Reordered' event only for moved item

  1. When Rotary Selector item is moved in Edit mode, the Reordered event is raised for all items that changed its positions. Please change this behavior so that only for the item who made the changes the event is raised.

  2. Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200605.2;
Release=20200605.2;
[Build]
Type=eng;
Date=20200605_215033;
Time=21:50:33;
Variant=NONE;
ID=tizen-unified;

[HomeApplication] Allow click items in edit mode.

When edit mode is activated, item's Clicked events are not raised.

Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200403.1;
Release=20200403.1;
[Build]
Type=eng;
Date=20200403_014748;
Time=01:47:48;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] Modifying item in inactive page causes improper behavior

  1. When rotary selector in inactive page is modified it causes improper bahavior.
    2 Steps to reproduce:
  • Run modified WApps.
  • swipe to second page
  • back to first page
  • click any item
  1. Result:

  1. Tested on:
 cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200703.2;
Release=20200703.2;
[Build]
Type=eng;
Date=20200703_194937;
Time=19:49:37;
Variant=NONE;
ID=tizen-unified;```

[HomeApplication] Appending item error.

  1. When trying to add an new rotary selector item error occurs:

In the picture the last element has been clicked. This should add the new element at the end.
  1. Source code: here.

  2. Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200403.1;
Release=20200403.1;
[Build]
Type=eng;
Date=20200403_014748;
Time=01:47:48;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] Can't enable edit mode for inserted items

  1. When items are inserted to rotary selector instead od added:
                //rotarySelector.AppendItem(item);
                rotarySelector.InsertItem(0, item);

edit mode can't be enabled by long tap the item.
2. Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200605.2;
Release=20200605.2;
[Build]
Type=eng;
Date=20200605_215033;
Time=21:50:33;
Variant=NONE;
ID=tizen-unified;

unable to run demos on ubuntu

with build example with latest dalihub libs I get following error:

Unhandled Exception: System.TypeInitializationException: The type initializer for 'SWIGStringHelper' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'libdali-csharp-binder.so': The specified module or one of its dependencies could not be found.
 (Exception from HRESULT: 0x8007007E)
   at Tizen.NUI.NDalicPINVOKE.SWIGStringHelper.SWIGRegisterStringCallback_NDalic(SWIGStringDelegate stringDelegate)
   at Tizen.NUI.NDalicPINVOKE.SWIGStringHelper..cctor() in /home/ali/TizenFX/src/Tizen.NUI/src/internal/Interop/NDalicPINVOKE.cs:line 213
   --- End of inner exception stack trace ---
   at Tizen.NUI.NDalicPINVOKE.SWIGStringHelper.RegistCallback() in /home/ali/TizenFX/src/Tizen.NUI/src/internal/Interop/NDalicPINVOKE.cs:line 216
   at Tizen.NUI.NUICoreBackend.Run(String[] args) in /home/ali/TizenFX/src/Tizen.NUI/src/internal/NUICoreBackend.cs:line 138
   at Tizen.Applications.CoreApplication.Run(String[] args) in /home/ali/TizenFX/src/Tizen.Applications.Common/Tizen.Applications/CoreApplication.cs:line 125
   at Tizen.NUI.NUIApplication.Run(String[] args) in /home/ali/TizenFX/src/Tizen.NUI/src/public/NUIApplication.cs:line 242
   at HelloWorldExample.Main(String[] args) in /home/ali/nui-demo/hello-world/HelloWorld.cs:line 84

Note 'libdali-csharp-binder.so' is not founded in my system, it is called 'libdali2-csharp-binder.so':

Reordered item disappears when the page changes.

  1. Reordered item disappears when the page changes. It is caused by this line added recently.

  2. Steps to reproduce:

  • Run WApps sample app
  • enable edit mode
  • start moving one of the items
  • change page during moving item.
  1. Result: item disappears:

  1. Tested on:
 cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200703.2;
Release=20200703.2;
[Build]
Type=eng;
Date=20200703_194937;
Time=19:49:37;
Variant=NONE;
ID=tizen-unified;```

[HomeApplication] Swipe between pages in edit mode

There is no possibility to swipe between pages in edit mode.
Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200403.1;
Release=20200403.1;
[Build]
Type=eng;
Date=20200403_014748;
Time=01:47:48;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] Add badge icon

  1. Add property:
    int Badge
    to the RotarySelectorItem class that is responsible for viewing the set number next to item icon. If the number is 0 (default) no number is displayed.

[HomeApplication] Reordered event is not raised.

  1. Reordered event is not raised when rotary selector items are reordered.

  2. Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200403.1;
Release=20200403.1;
[Build]
Type=eng;
Date=20200403_014748;
Time=01:47:48;
Variant=NONE;
ID=tizen-unified;

[HomeApplication] Long Holding main text throws an exception.

  1. When long holding the main text the NullReferenceException is thrown. This should also enable the edit mode.

  2. Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200403.1;
Release=20200403.1;
[Build]
Type=eng;
Date=20200403_014748;
Time=01:47:48;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] Item deleted during reordering other item.

  1. Steps to reproduce:
    • Run WApps sample app
    • Enable edit mode
    • start reordering one of the items
    • move an item over another - over its minus icon
    • drop item
    • the item at the bottom will be removed
  2. Tested on:
cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200623.1;
Release=20200623.1;
[Build]
Type=eng;
Date=20200623_092042;
Time=09:20:42;
Variant=NONE;
ID=tizen-unified;

[HomeApplication] Distinction between enter edit mode and click item.

When edit mode is entered if long press gesture on one of the items occurs, the selected and clicked events shouldn't be raised. Only touch gestures shorter than long press should raise the Clicked event.

Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200403.1;
Release=20200403.1;
[Build]
Type=eng;
Date=20200403_014748;
Time=01:47:48;
Variant=NONE;
ID=tizen-unified;

[HomeApplication] Wrong indicator position after exit edit mode

After exit edit mode the indicator is set at first item even if before enter edit mode its position was different.

Images:

Tested on:

cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200403.1;
Release=20200403.1;
[Build]
Type=eng;
Date=20200403_014748;
Time=01:47:48;
Variant=NONE;
ID=tizen-unified;

[HomeApplication][WApps] Reorder icon issues

  1. When moving item to next page, back to previous page and leave item, empty place for item appears and reorder event arguments are improper.
  2. Steps to reproduce
  • run modified sample from here (changed number of items to 11 and added reordered event handler)

  • enable edit mode

  • move 'Contacts' icon to left page (without dropping it)

  • back to previous - right page

  • drop the icon for example on the 'Apps' icon.

  1. Result:
  • empty place for item appeared at the old 'Contacts' icon
  • Reordered event sent improper arguments: "Reordered item: Contacts from: 17 to: 2" (should be: from 7 to 2)
  1. Tested on:
cat /etc/info.ini
[Version]
Model=Tizen6/Unified;
Build=tizen-unified_20200605.2;
Release=20200605.2;
[Build]
Type=eng;
Date=20200605_215033;
Time=21:50:33;
Variant=NONE;
ID=tizen-unified;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.