| Summary: | Colorize entry background based on icon color | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Mircea Kitsune <sonichedgehog_hyperblast00> |
| Component: | Icons-only Task Manager | Assignee: | Eike Hein <hein> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | wishlist | CC: | cyanmystery, nate, sonichedgehog_hyperblast00 |
| Priority: | NOR | Flags: | hein:
VisualDesign+
|
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| URL: | http://opendesktop.org/CONTENT/content-pre3/168760-3.jpg | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Mircea Kitsune
2015-02-13 15:45:50 UTC
This is something for the VDG to ponder. > I'd suggest a common function or library for extracting the average color in an image.
image.scaled(QSize(1, 1), Qt::IgnoreAspectRatio, Qt::SmoothTransformation).pixel(0, 0);
Hopefully Qt's scaling algorithm does not skip too many pixels :)
(In reply to Christoph Feck from comment #2) Nice, a function for the color should already be there in that case. Someone probably just needs to add the feature to the new task managers and use it, which is hopefully easy in QML. Perhaps a developer can try it with the line you mentioned? There is a problem here. The current background colors indicates the window status (focused, not focused, minimized, not running). There aren't any other indicators anymore, so like these small triangles before. In which case should the background have the the icon-specific-color? Yeah, since now the background color indicated status, I don't think we can implement an average background color purely for aesthetics. |