| Summary: | Tab color reset back to black upon tab move | ||
|---|---|---|---|
| Product: | [Applications] konsole | Reporter: | Tomer Shalev <shalev.tomer> |
| Component: | general | Assignee: | Konsole Bugs <konsole-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.6 | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Tomer Shalev
2006-04-11 16:29:32 UTC
SVN commit 535863 by troeder:
remember the color of the tab while moving the tab.
CCBUG: 125373
M +8 -2 konsole.cpp
--- trunk/KDE/kdebase/apps/konsole/konsole/konsole.cpp #535862:535863
@@ -3072,12 +3072,15 @@
ra->unplug(m_view);
ra->plug(m_view,(m_view->count()-sessions.count()+1)+position-1);
+ QColor oldcolor = tabwidget->tabTextColor(tabwidget->indexOf(se->widget()));
+
tabwidget->blockSignals(true);
tabwidget->removePage(se->widget());
tabwidget->blockSignals(false);
createSessionTab(se->widget(), iconSetForSession(se), se->Title(), position-1);
tabwidget->showPage(se->widget());
-
+ tabwidget->setTabTextColor(tabwidget->indexOf(se->widget()),oldcolor);
+
if (!m_menuCreated)
makeGUI();
m_moveSessionLeft->setEnabled(position-1>0);
@@ -3100,12 +3103,15 @@
ra->unplug(m_view);
ra->plug(m_view,(m_view->count()-sessions.count()+1)+position+1);
+ QColor oldcolor = tabwidget->tabTextColor(tabwidget->indexOf(se->widget()));
+
tabwidget->blockSignals(true);
tabwidget->removePage(se->widget());
tabwidget->blockSignals(false);
createSessionTab(se->widget(), iconSetForSession(se), se->Title(), position+1);
tabwidget->showPage(se->widget());
-
+ tabwidget->setTabTextColor(tabwidget->indexOf(se->widget()),oldcolor);
+
if (!m_menuCreated)
makeGUI();
m_moveSessionLeft->setEnabled(true);
This bug is fixed in the next release. Thank you for reporting. Hi, I'm afraid to tell you, but there's the same problem in version 1.6.2 (using KDE 3.5.2 (unstable)) :-( [or with next version you mean 1.7?] Fix in KDE 3.5.3 which will be released this month. |