https://bugs.kde.org/show_bug.cgi?id=517509

            Bug ID: 517509
           Summary: Missing visual indication of the volume (volume meter)
                    in the KCM like in applet widget
    Classification: Applications
           Product: systemsettings
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: kcm_pulseaudio
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Currently, there is no visual indication of the volume of speakers and
microphones in the KCM sound settings. While the applet widget has it.

I think, there are at least two ways to implement this:

1) Move the VolumeSlider from the applet to a common QML plugin and reuse it in
KCM.

Advantages:

+ Volume indication as in applet

+ Control as in applet (control with keyboard arrows, by pressing the mouse
wheel, and so on)

+ General code improvements for applet, can be included in KCM automatically

Disadvantages:

KCM is based on QQC2 (so it is controlled by KStyle), and applet is based on
PlasmaComponents3 (so it is controlled by plasma desktoptheme).

Accordingly, if we make a common component based on PlasmaComponents3, then the
appearance of VolumeSlider in KCM will be controlled by plasma desktoptheme,
and I do not know how acceptable this is.

2) Make a separate progressbar to display the volume indication above the
VolumeSlider in KCM, similar to how it is done in `pavucontrol-qt`.

The advantage is that the QQC2 style can be preserved. The cons are code
duplication and everything that follows from it.

P.S

I made a prototype based on the first variant. But the second variant is also
not so hard to implement.

Personally, I prefer the first option, so that both KCM and Applet have the
same volume control and indication.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to