Version: (using KDE Devel)
Installed from: Compiled sources
When a file is displayed as an Icon plasmoid on the desktop, the filenames under the icons on the desktop are displayed on the transparent area of the Icon plasmoid. This makes it very hard to read depending on the colour of the background. Maybe there could be some less-transparent area behind the filename? Or some border around the text?
Created attachment 22562 [details]
Plasma::icon text shadows
i would make a drop shadow to the icon text, this patch does it in a very basic
way, maybe would be prettier if the shadow is blurred?
i think the text color should be configurable in the same way it is in kde3, and yes, shadow should be possible too :-)
yes, at the moment since there is no desktop icon color in the standard palette in this patch i used the text highlight color, but it would be nice if it could be configured (unfortunately not in the color config dialog but somewhere else)
but it would not be enough since a wallpaper could have very different colors in different areas and if a slideshow it's used (i love that feature:P) the text color should change for every wallpaper in the slideshow :)
My opinion is that you should be able to configure the color of the text, and the shadow option, in the same dialog (but in a different tab) where you configure the desktop wallpaper. that would be the first place where i would search that option
I agree. I'll try putting in a drop-shadow and see how that works.
On 15 Dec 2007 14:03:43 -0000, Hans Bakker <email@example.com> wrote:
[bugs.kde.org quoted mail]
<div>I agree. I'll try putting in a drop-shadow and see how that works.</div>
<div class="gmail_quote">On 15 Dec 2007 14:03:43 -0000, Hans Bakker <<a href="mailto:firstname.lastname@example.org">email@example.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">------- You are receiving this mail because: -------<br>You are the assignee for the bug, or are watching the assignee.
<br><br><a href="http://bugs.kde.org/show_bug.cgi?id=154108" target="_blank">http://bugs.kde.org/show_bug.cgi?id=154108</a><br> Summary: Filenames under icons not easily readable<br> Product: plasma<br> Version: unspecified
<br> Platform: Compiled Sources<br> OS/Version: Linux<br> Status: UNCONFIRMED<br> Severity: wishlist<br> Priority: NOR<br> Component: general<br> AssignedTo: panel-devel kde org
<br> ReportedBy: hansmbakker gmail com<br><br><br>Version: (using KDE Devel)<br>Installed from: Compiled sources<br>OS: Linux<br><br>When a file is displayed as an Icon plasmoid on the desktop, the filenames under the icons on the desktop are displayed on the transparent area of the Icon plasmoid. This makes it very hard to read depending on the colour of the background. Maybe there could be some less-transparent area behind the filename? Or some border around the text?
<br>_______________________________________________<br>Panel-devel mailing list<br><a href="mailto:Panelfirstname.lastname@example.org">Panelemail@example.com</a><br><a href="https://mail.kde.org/mailman/listinfo/panel-devel" target="_blank">
can i commit?
maybe the result it's still not the prettiest thing in the world but i think it's far more accessible than now
this is incorrect: option->palette.color(QPalette::HighlightedText), at least until we change it so that the palette that gets passed around with the paint options is one derived from Plasma::Theme ... this really should be gathered from the KColorScheme that comes with the Theme.
in any case, i think a simpler approach might be to simply provide a rounded "lozenge" of colour behind the text using a known-to-contrast-well colour (the palette can give us that colour). unless we get a performant, good looking text halo algo in, i'd rather go for that. we had something that was OK looking in kde3 but was horrifically slow.
btw, the odds are high that a feature request will end up being using different colours for the background for different icons (making it easier to visually tell them apart).
Created attachment 22582 [details]
text shadow, second attempt
What about this? it uses foreground and background color of the theme
Created attachment 22583 [details]
text background attempt
tried with a very quick and dirty hack to put a background behind the text
icon, this is how it appears, not totally convinced...
how is the last patch? less wrong and committable? or should i try to go with the background rectangle? i don't like the latter very much because the icon looks always selected...
SVN commit 752098 by mart:
White icon text on a semitransparent black background
M +2 -2 libs/plasma/widgets/icon.cpp
M +25 -52 plasma/desktoptheme/widgets/iconbutton.svg
WebSVN link: http://websvn.kde.org/?view=rev&revision=752098