Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable-19.0] fix to not set clipboard text repeatedly #3919

Merged
merged 1 commit into from
May 21, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented May 17, 2024

Backport of PR #3918

initMessageInputView() is called repeatedly when capabilities are received. This is not a good solution but was done because capabilities are needed inside initMessageInputView().

As sharedText is set inside initMessageInputView(), this caused the bug that text was repeatedly inserted in to the message input field.

All in all, there is only the need to initialize initMessageInputView() once. With this fix, it is for now done when there is no filter set yet. As a long term solution, the architecture must be changed so that initMessageInputView() is not called repeatedly, but all UI elements that need capabilities etc are updated by livedata.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
@backportbot backportbot bot added the 3. to review Waiting for reviews label May 17, 2024
@backportbot backportbot bot added this to the 19.0.1 milestone May 17, 2024
Copy link

Codacy

Lint

TypemasterPR
Warnings8181
Errors11910

SpotBugs

CategoryBaseNew
Bad practice66
Correctness118
Dodgy code8488
Internationalization33
Malicious code vulnerability33
Performance66
Security11
Total114115

SpotBugs increased!

Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/3919-talk.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud Talk app.

@mahibi mahibi merged commit 556349d into stable-19.0 May 21, 2024
15 of 16 checks passed
@mahibi mahibi deleted the backport/3918/stable-19.0 branch May 21, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant