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

            Bug ID: 377944
           Summary: [PATCH] Mixed up color variable and wrong indexing in
                    apply-stylesheet.sh
           Product: plasmashell
           Version: master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: andi.ber...@yandex.com
                CC: bhus...@gmail.com, plasma-b...@kde.org
  Target Milestone: 1.0

Created attachment 104690
  --> https://bugs.kde.org/attachment.cgi?id=104690&action=edit
patch, fixes the issue

I found this in /plasma-framework/src/tools/apply-stylesheet.sh (a helper
script for creating plasma themes)

Steps to reproduce:
1) use the script to make a plasma theme color-scheme-aware

Result:
1) the button hover color is not assigned as expected
2) all but the first 5 color variables are not assigned at all

Problem:
1) under --ButtonHoverFrom) it assigns buttonBackgroundFrom (again) instead of
buttonHoverFrom

2) the loop should obviously go over the entire array of color variables, but
is hardcoded to 5 iterations, i changed it to the array lenght

see patch, attached

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

Reply via email to