wf-panel & wf-locker: Handle empty states in Volume/Mixer widgets (missing inputs, empty streams)

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
cpp

調査の方向性

wf-panel Volume Mixer popup と wf-locker Volume widget から始め、空のデバイスとオーディオストリームがどのように表示されるかを追跡してください。ミキサーが空のカテゴリに対するフィードバックを表示し、マイクが利用できない場合にロックスクリーンが入力セクションを省略し、要求された英語とロシア語のラベルを維持できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement good first issue
Summary

Currently, when certain audio categories are empty (e.g., no input devices connected or no active media streams playing), both wf-panel (Volume Mixer popup) and wf-locker (Volume widget) render empty, blank UI containers without feedback or adaptivity.


Proposal & Desired Behavior
1. wf-panel Volume Mixer Popup

In the Volume Mixer popup (which consists of three columns: Output Devices, Input Devices, and Audio Streams):

  • Empty Input/Output Devices: If no input (or output) devices are available, display a clear label in the respective column:
    • "No available output devices" / "Нет доступных устройств вывода"
    • "No available input devices" / "Нет доступных устройств ввода"
  • Empty Audio Streams: If no audio streams/apps are playing:
    • Display a label like "No active playback" / "Ничего не воспроизводится".

Currently, the "Input Devices" heading is shown with a completely empty box underneath, which looks broken.

2. wf-locker Volume Widget

On the lockscreen, the Volume widget renders two side-by-side rectangular sections (Left: Input / Microphone, Right: Output / Speaker).

  • Adaptive visibility: If no input device (microphone) is detected/present in the system, do not render the empty left box.
  • The widget should dynamically adjust to display only the available section (single box for Output), rather than leaving an empty, confusing placeholder box on the screen.

System Context
  • OS: Void Linux
  • Component: wf-panel & wf-locker (wf-shell)
  • Audio Server: PipeWire / PulseAudio (via GVC)
主要言語
C++
スター
182
フォーク
57
平均マージ
1日 8時間
マージ済み PR(30日)
8

環境構築

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

はじめの一歩

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

WayfireWM/wf-shell のほかの issue

WayfireWM/wf-shell の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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