Bug 440262 - Opacity support
Summary: Opacity support
Status: RESOLVED FIXED
Alias: None
Product: kcolorchooser
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-25 14:19 UTC by andreiradoidev
Modified: 2025-09-10 07:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 25.12.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andreiradoidev 2021-07-25 14:19:10 UTC
Add the ability to choose the opacity of the color, also an option like `--print-alpha` to append the opacity to the stdout when you use `--print`.

So, when you use `kcolorchooser --print --print-alpha` it will return a color like `#ffffffff`.
Comment 1 witchhunter 2021-09-26 07:04:37 UTC
Hopefully, this will implement alpha option in every other KDE application. QColorDialog has it since ages. It is very annoying to open Inkscape every time just for this.
Comment 2 Nate Graham 2025-09-10 07:02:22 UTC
Git commit f068d1c171749dff3135e7937c284899317f1f18 by Nate Graham.
Committed on 10/09/2025 at 07:00.
Pushed by ngraham into branch 'master'.

Allow setting the transparency/alpha channel of the color

The way it's exposed in QColorDialog dialog is pretty technical and
could use improvement, but it's probably better to show this feature
anyway.
FIXED-IN: 25.12.0

M  +1    -0    kcolorchooser.cpp

https://invent.kde.org/graphics/kcolorchooser/-/commit/f068d1c171749dff3135e7937c284899317f1f18