when searching with last word autocompleted trailing space is not trimmed
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
issue 中没有指定源文件或测试。请从 Android 应用的搜索界面开始,跟踪提交的查询如何到达文件夹搜索,并使用“files ”复现该故障;完成标准是自动补全产生的尾随空格不再阻止找到“files”文件夹,并且在存在相关搜索测试时将其更新或添加。
由索引模型根据 Issue 内容生成。
描述
⚠️ Before posting ⚠️
- This is a bug, not a question or an enhancement.
- I've searched for similar issues and didn't find a duplicate.
- I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- I agree to follow Nextcloud's Code of Conduct.
Steps to reproduce
- search for a folder (e.g "files"
- select some completion from the keyboard or (adding a space at the end after a word) (eg. "files ")
- search won't find it
Expected behaviour
The search trims trailing spaces (if not specified somehow explicitly) and the finds the something (in eg. the folder "files")
Actual behaviour
The folder "files" is not found, as it is searched for "files "
Android version
16
Device brand and model
Pixel 7a
Stock or custom OS?
Stock
Nextcloud android app version
34.0.0
Nextcloud server version
33.0.5
Using a reverse proxy?
I don't know
Android logs
No response
Server error logs
Additional information
This behaviour frustrates me as searching often returns nothing where it shouldn't.
I haven't considered files/folders actually ending on a space, they don't make sense to me that much and should be found none the less.
- 主要语言
- Kotlin
- 星标
- 5.6k
- 派生
- 2k
- 平均合并
- 2 天 9 小时
- 30 天内合并 PR
- 96
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/android 的其他 Issue
-
Modification time is not preserved when uploading MediaStore content via Android share可能已有人在做 @alperozturk96 于 24 天前认领。 未关闭3. to review bug feature: transfers
难度 2/5 1-3 小时 新手友好度 84/100
nextcloud/android#17675 · 4 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
0. Needs triage
难度 2/5 1-3 小时 新手友好度 84/100
nextcloud/android#17533 · 1 条评论 ·
维护者通常 1 天内回复
-
RC 34.1.0-01: Duplicated wording in creation menu — "New" prefix + creator name produces "New New document" ("Neu Neues Dokument")可能已有人在做 @ChristianTannheimer 于 89 天前认领。 未关闭0. Needs triage bug
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
0. Needs triage enhancement
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
0. Needs triage bug feature: dashboard and widgets performance: ISE/IAE :confused:
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
查看 nextcloud/android 的全部 Issue
相似的 Issue
-
cr:missing-repro cr:platform:android missing-repro platform:android
难度 2/5 1-3 小时 新手友好度 90/100
software-mansion/react-native-screens#4950 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 80/100
software-mansion/enriched-markdown#1033 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复