Add hover transition CSS support for title bar buttons

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
c
领域
desktop

调研方向

Start with src/ui/theme.c, where the issue says Muffin draws title bar button states, and compare that behavior with GTK header bar CSS transitions. Determine how hover and press states are currently drawn and what transition behavior would match the reported Mint-Y example. Done means normal title bar buttons fade on hover and press like header-bar buttons.

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

描述

Description: With Mint-Y on Cinnamon, the minimize, maximize and close buttons fade in and out on hover in apps that use a GTK header bar (e.g. Superlight, Software Manager, Warpinator). In apps with a normal title bar (e.g. Xed, Update Manager), the same buttons change instantly. Next to each other, the two kinds of window behave differently.

Cause: Header-bar buttons are drawn by GTK and use the theme’s CSS transitions. Normal title bars are drawn by Muffin, which draws each button state once (src/ui/theme.c), so the transitions don’t apply.

Suggestion: Add transition support to Muffin’s title bar buttons, so hover and press changes fade the same way header-bar buttons do. Title bars would then match header-bar apps.

System: Linux Mint [22.3], Cinnamon [6.6.9], theme Mint-Y

主要语言
C
星标
249
派生
131
平均合并
13 天 16 小时
30 天内合并 PR
7

环境准备

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

从这里开始

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

linuxmint/muffin 的其他 Issue

查看 linuxmint/muffin 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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