| Summary: | No transition when changing color schemes through "Use" button in "Get New Color Schemes" | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-knewstuff | Reporter: | Kareem <karemjaleel34> |
| Component: | general | Assignee: | Dan Leinir Turthra Jensen <admin> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | alexander.lohnau, haiwilliam0, kdelibs-bugs-null, me, nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.96.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/08d37c535ea1438e124347a4988bff0eb98f375d | Version Fixed/Implemented In: | 5.27 |
| Sentry Crash Report: | |||
| Attachments: | "Use" button after installing color schemes | ||
|
Description
Kareem
2022-07-14 17:56:20 UTC
Can confirm. We need to manually trigger the Blend effect when this button is clicked. (In reply to Nate Graham from comment #1) > Can confirm. We need to manually trigger the Blend effect when this button > is clicked. The button internally calls plasma-apply-colorscheme https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/colors/plasma-apply-colorscheme.cpp#L59 Not sure why it doesn't trigger the effect, since the same function is called from the KCM https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/colors/colors.cpp#L71 (In reply to Kareem from comment #2) > (In reply to Nate Graham from comment #1) > > Can confirm. We need to manually trigger the Blend effect when this button > > is clicked. > > The button internally calls plasma-apply-colorscheme > https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/colors/ > plasma-apply-colorscheme.cpp#L59 > > Not sure why it doesn't trigger the effect, since the same function is > called from the KCM > https://invent.kde.org/plasma/plasma-workspace/-/blob/master/kcms/colors/ > colors.cpp#L71 It gets done in void KCMColors::save(), in the KCM code. So we will need to add similar code to do that in either plasma-apply-colorscheme, or in the knewstuff code that calls it. I think it would probably make sense to do it in plasma-apply-colorscheme. Fixed as of https://invent.kde.org/plasma/plasma-workspace/-/commit/08d37c535ea1438e124347a4988bff0eb98f375d in plasma-workspace. |