Skip to content

[Bug]: Optional dependencies are ignored when installing packages #1707

Description

@hashfoeW

Pre-flight Checklist

  • I have searched existing issues and this is not a duplicate.
  • I have verified the issue is reproducible with the latest available Shelly version.
  • I have/will fill this template with the required information to the best of my ability.
  • I have checked whether the issue occurs across different network conditions or devices.

Shelly version

3.0.5

Shelly Application

  • Shelly UI (GTK4)
  • Shelly Tray Notification Service
  • Shelly CLI

Device Information

CachyOS latest (7.1.8)
LXQT latest (2.4.0)

Bug Description

Shelly UI/CLI only recognizes the first optional dependency checked, the rest get ignored (Even if the first checked dependency is already installed)

Steps to Reproduce

  1. Install any package with optional dependencies (Shelly UI / CLI)
  2. Check multiple optional dependencies

Expected Behavior

All optional dependencies to be installed when checked.

Actual Behavior

Only one optional dependency gets installed unless the first one is already installed. I'm pretty sure this doesn't happen with KDE, so it could be LXQT.

Logs / Additional Output

Additional Information

Both screenshots have the same optional dependencies checked:
Image
Image

Here all dependencies are checked:
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions