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

            Bug ID: 512478
           Summary: Task Manager volume scrolling introduces hard
                    dependency on PulseAudio
    Classification: Plasma
           Product: plasmashell
      Version First master
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: Task Manager and Icons-Only Task Manager widgets
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

SUMMARY

Commit https://invent.kde.org/plasma/plasma-desktop/-/commit/79d010f4
introduces a mouse wheel option to adjust the volume of the selected task. 
This is a good idea, but it means that the task manager will not load at all
unless plasma-pa is available (required by "import
org.kde.plasma.private.volume as PlasmaPa" in MouseHandler.qml).  plasma-pa in
turn cannot be built or used at runtime unless PulseAudio is available and in
use.

STEPS TO REPRODUCE

1.  Build latest plasma-desktop on a system without PulseAudio.
2.  Log in.

OBSERVED RESULT

The task manager is displayed only as an icon with the message

/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/main.qml:369:9:
Type MouseHandler unavailable
/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/MouseHandler.qml:11:1:
module "org.kde.plasma.private.volume" is not installed

EXPECTED RESULT

The task manager works as intended

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Gentoo 2.18
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.21.0
Qt Version: 6.9.3

ADDITIONAL INFORMATION

Editing
/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/MouseHandler.qml
and commenting out the code referring to "import
org.kde.plasma.private.volume", "PlasmaPa.GlobalConfig", and the entire "if
(Plasmoid.configuration.wheelEnabled === 3) {" block allows the task manager to
function normally.

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

Reply via email to