Add hover transition CSS support for title bar buttons

オープン
#880 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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時間
マージ済み PR(30日)
7

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxmint/muffin のほかの issue

linuxmint/muffin の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。