dalihub / nui-demo Goto Github PK
View Code? Open in Web Editor NEWContains demos that use the TizenFX NUI library
Contains demos that use the TizenFX NUI library
When reordering in edit mode is made, clicked event is also raised. But this should not happen.
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;
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;
AppendItem()
.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;
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;
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;
In the first picture the last element has been clicked. This should remove the last item.
Source code: here.
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;
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;
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.
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;
The page inticator (the dots at the top of the screen) are placed on "straight line". The guides show that it is slighty curved.
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;
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;
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;
AppendItem()
. It doesn't have a 'minus' icon.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;
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.
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;
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;
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;```
Source code: here.
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;
//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;
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. It is caused by this line added recently.
Steps to reproduce:
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;```
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;
int Badge
Reordered event is not raised when rotary selector items are reordered.
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;
When swipe from the first page to the right the NullReferenceException is thrown.
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;
When long holding the main text the NullReferenceException is thrown. This should also enable the 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;
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;
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;
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;
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;
After exit edit mode the indicator is set at first item even if before enter edit mode its position was different.
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;
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.
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;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.