Bug 269704 - Colorize tabs background by project (easy project recognition)
Summary: Colorize tabs background by project (easy project recognition)
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: tabbed pages (show other bugs)
Version: 4.2.60
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 311400 312083 326995 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-29 16:28 UTC by Maxi Schimmel
Modified: 2015-08-25 12:00 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxi Schimmel 2011-03-29 16:28:07 UTC
Version:           4.2.60 (using KDE 4.6.1) 
OS:                Linux

I actually use KDevelop 4.2.0 to my every day web development tasks.
On my work basis I have opened at least 2 projects, had opened several tabs for one and anothers for the second one.
I think that have different background color for the tab title for every project helps me to differentiate for which project is this tab.

Reproducible: Didn't try
Comment 1 Milian Wolff 2011-03-29 22:21:48 UTC
I like the idea, who's up for implementing it?
Comment 2 Aleix Pol 2013-04-11 14:27:59 UTC
*** Bug 311400 has been marked as a duplicate of this bug. ***
Comment 3 Aleix Pol 2013-04-11 14:28:11 UTC
*** Bug 312083 has been marked as a duplicate of this bug. ***
Comment 4 Christian Reiner 2014-01-25 12:42:45 UTC
There is an old feature request on the KDE Forum: (yeah, that place where you post ideas so that they can be forgotten...)
http://forum.kde.org/viewtopic.php?f=83&t=106686
Comment 5 Kevin Funk 2015-08-24 18:13:34 UTC
*** Bug 326995 has been marked as a duplicate of this bug. ***
Comment 6 Kevin Funk 2015-08-24 21:30:37 UTC
Git commit 179a03ea8f6bc171f747eb2eb7210d17533f3e4c by Kevin Funk.
Committed on 24/08/2015 at 21:29.
Pushed by kfunk into branch 'master'.

Color widgets based on their project affiliation

Heavily tweaked the initial patch

This patch adds a checkbox in the KDevelop setting that allows KDevelop
to color the tabs (of the open files) and the project tree view depending
on their project affiliation

Initial patch by Sebastien Speierer, thanks a lot!

REVIEW: 123279
FIXED-IN: 5.0.0

M  +14   -0    plugins/projectmanagerview/projecttreeview.cpp
M  +1    -0    plugins/projectmanagerview/projecttreeview.h
M  +74   -5    shell/mainwindow.cpp
M  +4    -1    shell/mainwindow.h
M  +3    -0    shell/settings/uiconfig.kcfg
M  +36   -14   shell/settings/uiconfig.ui
M  +22   -2    sublime/container.cpp
M  +6    -1    sublime/container.h
M  +5    -0    sublime/mainwindow.cpp
M  +2    -0    sublime/mainwindow.h
M  +2    -0    util/CMakeLists.txt
A  +63   -0    util/widgetcolorizer.cpp     [License: GPL (v2/3)]
A  +46   -0    util/widgetcolorizer.h     [License: GPL (v2/3)]

http://commits.kde.org/kdevplatform/179a03ea8f6bc171f747eb2eb7210d17533f3e4c
Comment 7 Maxi Schimmel 2015-08-25 11:25:03 UTC
Thanks man!
Comment 8 Kevin Funk 2015-08-25 12:00:29 UTC
Current look, FWIW: http://i.imgur.com/zxlL8bR.png