Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

removing the last folder item leaves an icon-less empty folder on the home screen

未关闭 适合新手
#453 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
android, kotlin
领域
mobile-dev

调研方向

此错误影响 Fossify Android launcher 主屏幕文件夹的行为,该功能使用 Kotlin 实现。首先,找到处理从主屏幕文件夹中移除应用并更新文件夹 UI 状态的代码,然后创建一个包含两个应用的文件夹,将两者都移除,并确认无图标的残留文件夹出现,以复现问题。修复应删除主屏幕上的空文件夹,或者确保文件夹没有剩余项目时仍显示有效的文件夹图标。

由索引模型根据 Issue 内容生成。

描述

bug needs triage
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.10.0 / code 16

Affected Android/Custom ROM version

Android 14 (API 34)

Affected device model

Android emulator, Pixel 6 profile (1080 x 2400)

How did you install the app?

None

Steps to reproduce the bug
  1. Install the APK cleanly and create a folder containing two child items (drag one app onto another).
  2. Open the folder and run Remove on the first child item.
  3. Run Remove on the second (last) child item.
  4. Wait for the home screen to settle and check the parent folder object: the home screen still shows the visible text Folder, but there is no folder icon, leaving an icon-less leftover object in place.
Expected behavior

Removing the last item of a folder should remove the folder container, or keep it shown with a recognisable drawable and usable interaction; it should not leave an icon-less, zero-size leftover entry on the home screen.

Actual behavior

After removing both items of a folder (the second one being the last), the home screen still shows the folder name text but without any folder drawable, leaving an icon-less leftover object in place.

Screenshots/Screen recordings
Additional information

Package: org.fossify.home
Latest checked release: 1.10.0, checked 2026-09-19.

Removing the first item leaves the parent folder displayed normally; the defect appears only after the last item is removed.

主要语言
Kotlin
星标
703
派生
85
平均合并
1 天 20 小时
30 天内合并 PR
10

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FossifyOrg/Launcher 的其他 Issue

查看 FossifyOrg/Launcher 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。