Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[NUI] Add Gesture related APIs by TCSACR-651#7657

Open
dongsug-song wants to merge 1 commit into
Samsung:API14 from
dongsug-song:api14-0522
Open

[NUI] Add Gesture related APIs by TCSACR-651 #7657
dongsug-song wants to merge 1 commit into
Samsung:API14 from
dongsug-song:api14-0522

Conversation

@dongsug-song

@dongsug-song dongsug-song commented May 22, 2026

Copy link
Copy Markdown
Contributor

Description of Change

[NUI] Add Gesture related APIs by TCSACR-651

API Changes

https://jira.sec.samsung.net/browse/TCSACR-651

gemini-code-assist[bot] reacted with eyes emoji
@github-actions github-actions Bot added the API14 Platform : Tizen 11.0 / TFM: net8.0-tizen11.0 label May 22, 2026

Copy link
Copy Markdown
Collaborator

Public API Changed

Please follow the ACR process for the changed API below.
Added: 109, Removed: 0, Changed: 0

Internal API Changed

Added: 0, Removed: 109, Changed: 0

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request promotes several gesture-related APIs to public status by replacing internal attributes with the <since_tizen> 10.1 </since_tizen> tag and renaming various 'TouchesRequired' methods to 'TouchCount' for better clarity. Feedback focuses on maintaining naming consistency; while several setters were renamed, their corresponding getters (e.g., GetMinimumTouchesRequired) were not, leading to an inconsistent public API. Additionally, a high-severity issue was noted in PanGestureDetector.cs where the ScreenPosition property appears to be a stub returning a default value rather than fetching data from the native layer.

Comment thread src/Tizen.NUI/src/public/Events/PanGestureDetector.cs
Comment thread src/Tizen.NUI/src/public/Events/PanGestureDetector.cs
Comment thread src/Tizen.NUI/src/public/Events/PanGestureDetector.cs
Comment thread src/Tizen.NUI.Components/Controls/ScrollableBase.cs
Comment thread src/Tizen.NUI/src/public/Events/LongPressGestureDetector.cs
Comment thread src/Tizen.NUI/src/public/Events/LongPressGestureDetector.cs
Comment thread src/Tizen.NUI/src/public/Events/TapGestureDetector.cs
Comment thread src/Tizen.NUI/src/public/Events/TapGestureDetector.cs
Comment thread src/Tizen.NUI/src/public/Events/TapGestureDetector.cs

Copy link
Copy Markdown
Collaborator

Public API Changed

Please follow the ACR process for the changed API below.
Added: 109, Removed: 0, Changed: 0

Internal API Changed

Added: 0, Removed: 109, Changed: 0

Copy link
Copy Markdown
Collaborator

Public API Changed

Please follow the ACR process for the changed API below.
Added: 109, Removed: 0, Changed: 0

Internal API Changed

Added: 0, Removed: 109, Changed: 0

mPanGestureDetector.Attach(this);
mPanGestureDetector.AddDirection(PanGestureDetector.DirectionVertical);
if (mPanGestureDetector.GetMaximumTouchesRequired() < 2) mPanGestureDetector.SetMaximumTouchesRequired(2);
if (mPanGestureDetector.GetMaximumTouchesRequired() < 2) mPanGestureDetector.SetMaximumTouchCount(2);

@JoonghyunCho JoonghyunCho May 29, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 [AI Review]
🔴 Critical: Public-API setter/getter pair naming is asymmetric after this rename — setters became *TouchCount/*TapCount but the matching getters were kept as *TouchesRequired/*TapsRequired. The inconsistency is visible in-line here (GetMaximumTouchesRequired() next to SetMaximumTouchCount(2)). Since these APIs are being newly exposed in this PR (previously [EditorBrowsable(Never)]), renaming the getters in lock-step (GetMinimumTouchCount/GetMaximumTouchCount in PanGestureDetector/LongPressGestureDetector; GetMinimumTapCount/GetMaximumTapCount in TapGestureDetector) avoids a follow-up breaking rename after release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@JoonghyunCho JoonghyunCho JoonghyunCho left review comments

@bshsqa bshsqa Awaiting requested review from bshsqa bshsqa is a code owner

@hinohie hinohie Awaiting requested review from hinohie hinohie is a code owner

@wiertel wiertel Awaiting requested review from wiertel

+1 more reviewer

@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

ACR Required API14 Platform : Tizen 11.0 / TFM: net8.0-tizen11.0 Internal API Changed

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /