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

            Bug ID: 518200
           Summary: Wallpaper plugin config page goes blank when
                    QQC2.Slider has snapMode set
    Classification: Plasma
           Product: plasmashell
      Version First 6.6.1
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Image & Slideshow wallpaper plugins
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: 1.0

When a third-party wallpaper plugin's config.qml contains a QQC2.Slider 
with snapMode set (either numeric value 2 or Slider.SnapAlwaysToSteps), 
the entire config page renders blank in System Settings.

Steps to reproduce:
1. Create a wallpaper plugin with config.qml using:
   import QtQuick.Controls as QQC2
   QQC2.Slider { from: 0; to: 2; stepSize: 1; snapMode: 2 }
2. Open System Settings → Appearance → Wallpaper → select the plugin

Actual: Settings page is completely blank
Expected: Settings page renders normally

Journal shows: kcm_wallpaper/main.qml:210: TypeError: Type error

Workaround: Remove snapMode entirely. stepSize still constrains 
values to integer positions.

Qt version: 6.10.2

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

Reply via email to