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

Xapp Status Icon Menu Items - very inconsistent paddings.

未关闭
#102 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
c
领域
desktop

调研方向

使用列出的图标和 GTK Inspector 重现 XApp status-icon 菜单中不一致的水平内边距,然后定位 xapp status-icon 菜单的实现。比较不同主题下带复选框和不带复选框的菜单;完成标准是:不再为不存在的复选框预留空间,同时包含复选框的菜单仍保持正确的内边距。

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

描述

Cinnamon 4.6.6
xapp-common 1.8.8

Icons in use

Cjs-Message: 07:52:26.839: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: blueberry (org.x.StatusIcon.PID-2033-5)
Cjs-Message: 07:52:26.842: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: redshift-gtk (org.x.StatusIcon.PID-1766-5)
Cjs-Message: 07:52:26.844: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: keepassxc (org.x.StatusIcon.PID-3808-12)
Cjs-Message: 07:52:26.846: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: hp-systray (org.x.StatusIcon.PID-3808-13)
Cjs-Message: 07:52:26.847: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: flameshot (org.x.StatusIcon.PID-3808-14)
Cjs-Message: 07:52:26.849: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: mintUpdate.py (org.x.StatusIcon.PID-2380-5)
Cjs-Message: 07:52:26.851: JS LOG: [LookingGlass/info] Adding XAppStatusIcon: nm-applet (org.x.StatusIcon.PID-1794-5)
Cinnamon warning: Log level 128: posix_spawn avoided (automatic reaping requested) (fd close requested) 
Cjs-Message: 07:52:26.884: JS LOG: [LookingGlass/info] Hiding XAppStatusIcon (we have an applet): nm-applet (org.x.StatusIcon.PID-1794-5)

Some of the menus displayed for these various icons have anomalous horizontal padding consistently across a variety of different GTK themes. Examining the menus with GTK inspector I think there's space being left for an absent checkbox. The only one that looks correct is redshift which has checkboxes. The mintupdate menu doesn't appear to have the absent checkbox issue.

E.g.

2020-07-20_08-08
2020-07-20_08-08_1
2020-07-20_08-09
2020-07-20_08-10
2020-07-20_08-10_1

主要语言
C
星标
169
派生
50
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

linuxmint/xapp 的其他 Issue

查看 linuxmint/xapp 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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