Got task switcher color icons back

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have been trying off and on for some time to fix the alt-tab "layout based switcher" in compact view to show color on the icons listed. At some point (kde 4.8?) they became all gray making it hard to tell one from the other. I could find no configuation option that affected this.

Then I found this article with a simple 2 line patch to 2 files that fixes the problem. It is here:

http://askubuntu.com/questions/134183/any-way-to-get-colored-icons-in-alt-tab-task-switcher-in-kde

In case the link goes away, the patch is attached.

Just edit the two files in /usr/share/kde4 (as root), log out and back in to kde and you have the nice color icons again when you do alt-tab in compact or informative mode.

I am running f16 with kde 4.8.5.

-gene



--- /var/lib/editconf/originals//usr/share/kde4/apps/kwin/tabbox/compact.qml    2012-06-01 06:20:45.000000000 -0700
+++ /usr/share/kde4/apps/kwin/tabbox/compact.qml    2012-08-09 10:52:08.070420127 -0700
@@ -89,11 +89,11 @@
             id: delegateItem
             width: compactListView.width
             height: compactListView.rowHeight
             Image {
                 id: iconItem
-                source: "image://client/" + index + "/" + compactTabBox.imagePathPrefix + "-" + compactListView.imageId + (index == compactListView.currentIndex ? "/selected" : "/disabled")
+                source: "image://client/" + index + "/" + compactTabBox.imagePathPrefix + "-" + compactListView.imageId + (index == compactListView.currentIndex ? "/selected" : "/selected")
                 width: 16
                 height: 16
                 sourceSize {
                     width: 16
                     height: 16
@@ -107,11 +107,11 @@
             Text {
                 id: captionItem
                 horizontalAlignment: Text.AlignLeft
                 verticalAlignment: Text.AlignBottom
                 text: itemCaption(caption, minimized)
-                font.bold: true
+                font.bold: index == compactListView.currentIndex
                 font.italic: minimized
                 color: theme.textColor
                 elide: Text.ElideMiddle
                 anchors {
                     left: iconItem.right
--- /var/lib/editconf/originals//usr/share/kde4/apps/kwin/tabbox/informative.qml    2012-06-01 06:20:45.000000000 -0700
+++ /usr/share/kde4/apps/kwin/tabbox/informative.qml    2012-08-09 10:52:48.414420651 -0700
@@ -90,11 +90,11 @@
             id: delegateItem
             width: listView.width
             height: listView.rowHeight
             Image {
                 id: iconItem
-                source: "image://client/" + index + "/" + informativeTabBox.imagePathPrefix + "-" + listView.imageId + (index == listView.currentIndex ? "/selected" : "/disabled")
+                source: "image://client/" + index + "/" + informativeTabBox.imagePathPrefix + "-" + listView.imageId + (index == listView.currentIndex ? "/selected" : "/selected")
                 width: 32
                 height: 32
                 sourceSize {
                     width: 32
                     height: 32
@@ -107,11 +107,11 @@
             }
             Text {
                 id: captionItem
                 horizontalAlignment: Text.AlignHCenter
                 text: itemCaption(caption, minimized)
-                font.bold: true
+                font.bold: index == compactListView.currentIndex
                 font.italic: minimized
                 color: theme.textColor
                 elide: Text.ElideMiddle
                 anchors {
                     left: iconItem.right
_______________________________________________
kde mailing list
kde@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kde
New to KDE4? - get help from http://userbase.kde.org

[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux