Bug 168119 - Session Tab Appears Only After Title Change
Summary: Session Tab Appears Only After Title Change
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-02 17:05 UTC by William Swartzendruber
Modified: 2008-08-13 12:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Swartzendruber 2008-08-02 17:05:59 UTC
Version:           2.1 (using 4.1.00 (KDE 4.1.0), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.26.1

When starting a new Konsole window, the clickable tab itself becomes visible only when a program within that session has changed the title.  The tab bar is still visible, but empty.
Comment 1 Robert Knight 2008-08-02 20:41:18 UTC
Hi,

This was a bug in Qt 4.4 which I submitted a fix for to KDE's copy of Qt.  Please ask Gentoo to update their version of Qt to the just-released 4.4.1 and let me know if the problem is still present.
Comment 2 Michał Małek 2008-08-10 22:02:04 UTC
I confirm the issue on KDE 4.1, Qt 4.4.1, Archlinux
Comment 3 Robert Knight 2008-08-11 01:01:48 UTC
Can you ask ArchLinux KDE packagers whether they are using qt-copy from KDE or stock Qt from Trolltech?

If they are using stock Qt, please ask them to apply the patches from qt-copy in KDE's SVN, in particular patch 0225:

Index: src/gui/widgets/qtabbar.cpp
===================================================================
--- src/gui/widgets/qtabbar.cpp (revision 796858)
+++ src/gui/widgets/qtabbar.cpp (working copy)
@@ -533,8 +533,8 @@
         layoutTabs();
         makeVisible(currentIndex);
         q->update();
-        q->updateGeometry();
     }
+    q->updateGeometry();
 }
Comment 4 Michał Małek 2008-08-11 22:09:29 UTC
Unfortunatey, Archlinux qt package already includes qt-copy patches. Your patch is also applied. Here is a build script for the package: http://repos.archlinux.org/viewvc.cgi/qt/trunk/PKGBUILD?revision=7381&view=markup where you can see that these patches are applied: ftp://ftp.archlinux.org/other/qt/qt-copy-patches-840171.tar.bz2
Comment 5 Michał Małek 2008-08-11 22:19:40 UTC
OK, I have just found out that the patch 0225 in the Archlinux package is not applied due to bug in build script.
Comment 6 Michał Małek 2008-08-13 07:02:55 UTC
qt with applied patch 0225 works fine. Tab appears correctly. Thanks!
Comment 7 Robert Knight 2008-08-13 12:45:23 UTC
Closing as invalid per comment #6