Bug 170470 - Wrong caption of tabs occurs sometimes in konqueror
Summary: Wrong caption of tabs occurs sometimes in konqueror
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: tabbing (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 172064 172356 172465 173168 174470 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-05 19:09 UTC by gmud
Modified: 2008-11-15 10:06 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of wrong tab naming (16.27 KB, image/jpeg)
2008-09-05 19:10 UTC, gmud
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gmud 2008-09-05 19:09:55 UTC
Version:           4.1.1 (KDE 4.1.1) (using 4.1.1 (KDE 4.1.1), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-19-rt

I noticed that sometimes konqueror names some tabs wehen having multiple tabs open with a wrong caption. See screenshot.
Comment 1 gmud 2008-09-05 19:10:45 UTC
Created attachment 27259 [details]
screenshot of wrong tab naming
Comment 2 Manuel Massing 2008-09-06 14:31:59 UTC
Can confirm this, steps to reproduce the problem:

1) Open any webpage in konqueror

2) Open a few links in new tabs

3) Before you switch to any of the other tabs, close the first tab:
   the remaining tabs should be flagged as "unread" (i.e. the tab 
   captions appear in blue) in order to trigger this bug

4) Captions are now off by one
Comment 3 Manuel Massing 2008-09-10 13:17:55 UTC
Correction:

-The bug is not dependent on the "unread" state of tabs
-I can only trigger the bug with an even number of open tabs
-and I can only trigger it when at least 6 tabs are open
 (in case this number is resolution dependent - my screen is 
 1280x1024, font size 9, 96dpi). 
Comment 4 Bram Schoenmakers 2008-09-11 19:51:13 UTC
I'm pretty sure I've seen this somewhere else. But I can't remember if it were a bug report (if so, find the duplicate!) or a commit message (which possibly fixed it?)
Comment 5 Brendon Higgins 2008-09-17 03:00:54 UTC
I'm seeing this frequently when I work with several tabs, myself. I'm pretty sure it was fine back in 4.1.0, FWIW.
Comment 6 Tommi Tervo 2008-10-09 17:00:39 UTC
*** Bug 172465 has been marked as a duplicate of this bug. ***
Comment 7 Tommi Tervo 2008-10-09 17:01:00 UTC
*** Bug 172356 has been marked as a duplicate of this bug. ***
Comment 8 Maksim Orlovich 2008-10-16 19:05:30 UTC
*** Bug 172064 has been marked as a duplicate of this bug. ***
Comment 9 David Faure 2008-10-18 02:41:38 UTC
SVN commit 872737 by dfaure:

Remove the setTabText call that triggered #170470 (tab title showing up on the wrong tab)
in some circumstances (m_currentMaxLength == newMaxLength in ktabwidget after the tab removal, but not before)
This is again due to QTabBar emitting signals before calling the virtuals tabRemoved/tabInserted :(
BUG: 170470


 M  +5 -1      konqmainwindow.cpp  
 M  +63 -9     tests/konqviewmgrtest.cpp  
 M  +2 -1      tests/konqviewmgrtest.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=872737
Comment 10 Tommi Tervo 2008-10-19 23:40:00 UTC
*** Bug 173168 has been marked as a duplicate of this bug. ***
Comment 11 David Faure 2008-11-06 20:35:30 UTC
*** Bug 174470 has been marked as a duplicate of this bug. ***
Comment 12 Tommi Tervo 2008-11-15 10:06:58 UTC
*** Bug 171254 has been marked as a duplicate of this bug. ***