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

            Bug ID: 520379
           Summary: **Allow plasmoids to opt out of auto-injected config
                    dialog tabs**
    Classification: Plasma
           Product: plasmashell
      Version First 6.6.4
       Reported In:
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

Feature request: per-tab opt-out for auto-injected plasmoid config dialog tabs
Component: desktoppackage/contents/configuration/AppletConfiguration.qml

Problem
The About tab (and others) are hardcoded into AppletConfiguration.qml with no
way for a plasmoid to opt out or replace them.
This causes two issues, both of which share the same heavy-handed workaround of
bypassing the config dialog entirely and redirecting to a KCM (as seen in
Notifications, Network, Bluetooth):
    1. When a plasmoid has no config pages of its own, the dialog exists solely
to show the About tab, which can look broken or misplaced. 
    2. A plasmoid that wants to provide a custom About page has no way to
suppress the injected one, resulting in two About tabs appearing
simultaneously. 
Proposed solution
Add a hiddenConfigTabs property (on Plasmoid or in metadata.json) that lists
which injected tabs to suppress:
Plasmoid.hiddenConfigTabs: ["about"]
Per-tab rather than an About-only flag so the mechanism generalises if further
tabs are injected in future. Fully backwards-compatible — the default behaviour
is all tabs injected as today, so existing applets and KDE's own plasmoids are
unaffected. Only plasmoids that explicitly opt out see any change.
Reference
    • AppletConfiguration.qml

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

Reply via email to