[konsole] [Bug 415242] BlackOnRandomLight colorscheme always gives black background

Kurt Hindenburg bugzilla_noreply at kde.org
Sun Jan 5 18:25:09 GMT 2020


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

--- Comment #4 from Kurt Hindenburg <kurt.hindenburg at gmail.com> ---
Git commit 771c1733fd5ee9cfb854212b83df6de148608a65 by Kurt Hindenburg, on
behalf of Wolfgang Bauer.
Committed on 05/01/2020 at 18:24.
Pushed by hindenburg into branch 'release/19.12'.

Copy _colorRandomization when copying a new ColorScheme

Summary:
The `_colorRandomization` property is new in 19.12, and should be
copied by the copy constructor as well.

This fixes the problem that it was not possible to disable the
"Randomly adjust colors for each session" option again once it was
enabled.
FIXED-IN: 19.12.1

Test Plan:
In the color scheme editor:
Choose "Black on Random Light" and click on Edit, disable
"Randomly adjust colors for each session", and click OK.
It's saved correctly now, previously it stayed on.

Alternatively, select some other color scheme, enable the option and
click OK. Then try to disable it again. This works now, previously it
also stayed on.

Select an existing colorscheme and click on New, the new color scheme
still properly inherits the "Randomly adjust colors for each session"
setting.

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: hindenburg, konsole-devel

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D26439

M  +1    -0    src/ColorScheme.cpp

https://invent.kde.org/kde/konsole/commit/771c1733fd5ee9cfb854212b83df6de148608a65

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list