Eugene Popov
00a18a8c5a
kcms/colors: Properly apply tinting to the window titlebar
...
Tint the window titlebars only when either the option to tint all colors with
accent color or the option to apply accent color to window titlebars is enabled
or both), and in the latter case, the active window titlebars should be painted
in the accent color.
BUG: 455395
BUG: 454047
FIXED-IN: 5.25.3
4 years ago
Fushan Wen
f24b7554b8
`Qt::AA_UseHighDpiPixmaps` is enabled by default in Qt6
4 years ago
l10n daemon script
8e7c9dbe5c
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Tanbir Jishan
a8d8e8ed52
kcms/colors: Show last-used custom accent color when clicking custom color checkbox
...
Right now it opens the color picker dialog with the current first accent color.
Remembering the user's prior custom accent color (if any) is nicer.
BUG: 455894
FIXED-IN: 5.26
4 years ago
Tanbir Jishan
6127930b5d
kcms/color: Fix wrong application of opacity and cursor shape for color buttons
...
The custom color buttons don't need to be made conditionally transparent
or use a custom cursor, as they are mostly just normal radio buttons just
with a different background color. So let's remove these unnecessary
custom overrides.
4 years ago
l10n daemon script
300f491d7f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Eugene Popov
2d272745eb
kcms/colors: Fix window titlebar tinting in colorsapplicator
...
Tint the window titlebars even if the option to make them accent-colored is not
explicitly enabled; in this case you want them tinted anyway because they're a
part of the fill window which will get tinted.
BUG: 455395
FIXED-IN: 5.25.2
4 years ago
Tanbir Jishan
fb7f201f9d
Fix checkbox not switching when choosing an accent color using color picker
4 years ago
Fushan Wen
2ecb63c127
kcms/colors: Port 2 foreach loops to for loops
...
This also fixes: Critical - Uninitialized variable: button (CWE-457)
4 years ago
l10n daemon script
24b22270d7
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Jan Blackquill
75d4b69da1
kcms/colors: rephrase UI to indicate changes to colorsapplicator (previous commit)
4 years ago
Jan Blackquill
a671178a8f
colorsapplicator: make accent-coloured titlebars more robust/foolproof
...
This makes the code and user-facing configuration for accent coloured titlebars
unable to produce some bad results that it previously could.
4 years ago
l10n daemon script
189ff0c175
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
93f70563d8
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Devin Lin
9100b871b7
kcms/colors: Fix alternateBackgroundColor for Button not having accents
4 years ago
l10n daemon script
7bb5f17a92
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Devin Lin
97cfd759f2
kcms/colors: Ensure that accent color dots always fit on narrow screens
...
Part of the https://invent.kde.org/teams/plasma-mobile/issues/-/issues/158 initiative
4 years ago
l10n daemon script
f243c71f2b
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Xaver Hugl
401165921c
port to C++ smart pointers where possible
4 years ago
l10n daemon script
a8ce876a48
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Ismael Asensio
b24b049cdf
kcms/colors: Fix un-setting accent color from wallpaper
...
Fix changes in 6e7a147e3 , where the property `accentColorFromWallpaper`
would get set but not un-set from the UI.
4 years ago
Ismael Asensio
dca34e5286
kcms/colors: Small code Cosmetic changes
...
- Apply clang-format
- Rename property to not look like a verb
- Use new connection syntax
4 years ago
Ismael Asensio
6e7a147e3e
kcms/colors: Simplify bindings and interaction
...
To set the wallpaper accent color, use the property setter instead
of an invokable, so we reduce one codepath and it's easier to keep
the state in sync between UI and backend.
Also reduce unnecesary explicit bindings on the QML side
4 years ago
Ismael Asensio
2b55732fb7
kcms/colors: Fix reset from selected "color from wallpaper"
...
On the `load()` method emit the signals to notify that the properties
regarding accent colors have changed, so the UI gets updated accordingly.
They're emitted unconditionally since the minimal performance improvement
wouldn't compense the extra code complexity to check for changes here.
4 years ago
l10n daemon script
20b371fc1f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
ff817abcbb
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
f363b0fe42
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
86985a85df
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
3aa7db0959
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Laurent Montel
9756b911da
REmove duplicate header between header/file
4 years ago
l10n daemon script
6ccdd7f44c
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
e206d32916
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
2141ca711d
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
13e1ddcf98
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
a09776c06c
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Tanbir Jishan
d2a98eddaa
Remove the model from the accent color serivce
...
It was doing essentially nothing. It is not needed. We are not changing colorschemes.
4 years ago
Tanbir Jishan
b88699b7f1
Fix the warning invalid module name
4 years ago
Volker Krause
34857ed1ec
Qt6 build system fixes
...
Two recent changes and one issue initially missed.
4 years ago
l10n daemon script
ed8957ebc1
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
l10n daemon script
5292eb426e
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Fushan Wen
aa1c19bfbe
kcms/colors: Wallpaper accent color is not custom color
4 years ago
Fushan Wen
cb9f65be02
kcms/colors: Make `isCustomColor` read-only
4 years ago
Fushan Wen
acce75cd05
kcms/colors: Simplify `isCustomColor`
4 years ago
Tanbir Jishan
86c9c53fbb
kcms/colors: Add missing license headers to accentColorService
...
Missed in https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1325
4 years ago
Tanbir Jishan
6eb2b52945
kcms/colors: Add an option to apply accent color from wallpaper
...
This adds an option to set the accent color from the current wallpaper.
The way it works is that it exposes some DBus calls; if a wallpaper plugin
supports wallpaper accent colors then it should say so by this DBus call
when starting up and also should say which wallpaper is being currently
used (for the purpose of extracting an accent color from it) or set an
accent color itself. After that it should keep declaring the wallpaper or
set accent color whenever wallpaper changes or whenever the plugin author
thinks it is appropriate to say so.
There is already an implementation of the color extracting algorithm which
the plugin can either use, or else set whatever accent color it wants. The
necessary DBus calls for the official image and wallpaper plugin are
implemented, so they should work out of the box.
BUG: 444676
FIXED-IN: 5.25
4 years ago
Janet Blackquill
5328a8773d
kcms/colors: tint themes with accent colour
...
Seems to be in vogue now, and got feature requests for this.
This uses the OKLAB colour space to tint colour schemes with
the accent colour (if it has one), for a more harmonious look.
4 years ago
l10n daemon script
100aa732fa
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
4 years ago
Nate Graham
b32638496a
kcms/colors: remove dead code
...
We go through a bunch of effort to set m_applyToAlien, but then never
use it anywhere. It must not be very important here.
4 years ago
Jan Blackquill
6750353c9f
kcm/colors: don't dull accent colour on dark themes in colorsapplicator
...
User demand shows that bright accent colours are wanted over potentially
better legibility, so let's avoid changing them.
BUG: 442820
FIXED-IN: 5.25
4 years ago
Jan Blackquill
fa7b051471
clang-format the colors kcm
4 years ago