Bug 158628 - only a certain amount of tabs are displayed before you have to start scrolling...
Summary: only a certain amount of tabs are displayed before you have to start scrollin...
Status: CONFIRMED
Alias: None
Product: kopete
Classification: Applications
Component: Chat Window (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-01 15:21 UTC by Theresa
Modified: 2018-04-21 17:12 UTC (History)
6 users (show)

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 Theresa 2008-03-01 15:21:27 UTC
Version:           Kopete 0.50.1 (using KDE 4.0.1)
Installed from:    Ubuntu Packages

When grouping many conversations/chats in a window, only a certain amount of tabs are displayed before you have to start scrolling...

You can see this on a screenshot here:

http://img.photobucket.com/albums/v725/humanstrobe/Kopete.png

there's a tab on the very left side, that is not fully displayed, i would have to scroll and press the arrow left button in order to see this conversation. 

I don't remember seeing this feature in KDE3+ , I think you could display an endless amount of tabs. They were minimized       when you opened new tabs/chats.

I'd like to see this part of the configuration in Kopete. Bring it back!
Comment 1 Philip Rodrigues 2008-07-06 15:12:53 UTC
I see the same behaviour in trunk r828586 (pre-4.1). But, when I resize the window, the tabs are shrunk to fit in the width, the way you want.
Comment 2 Theresa 2008-07-06 15:49:27 UTC
thanks for your comment Philip!

will this be worked on then?! ;)
Comment 3 Dario Andres 2008-12-21 14:24:32 UTC
Can anyone still reproduce this bug with a recent KDE version? (4.1.3 / 4.2beta2 / 4.2svn) ?  Thanks :) 
Comment 4 kopancek 2009-01-07 10:13:13 UTC
(In reply to comment #3)
> Can anyone still reproduce this bug with a recent KDE version? (4.1.3 /
> 4.2beta2 / 4.2svn) ?  Thanks :) 
> 

Reproducible always here on my Gentoo Box (KDE 4.1.3 Kopete 0.60.3). After resizing the chat window, tabs resize to fit the width of window. Screens included here..

http://147.175.159.186/foto/screen1.png

after resizing the chat window:
http://147.175.159.186/foto/screen2.png
Comment 5 Shlomi Fish 2009-02-06 17:52:13 UTC
Can confirm here - KDE 4.2.0's Kopete on Mandriva Linux Cooker. I also found the workaround of resizing the pane, but it's still annoying.
Comment 6 kopancek 2009-09-14 12:39:30 UTC
Gentoo, KDE 4.3.1, Kopete 0.70.90, bug still there... I've also found another workaround, just click twice on Participants button in chat window and tabs resize to fit in the window. Still it's very annoying, anybody to look at it?...
Comment 7 mail 2011-01-16 15:41:04 UTC
Bug still exists in KDE 4.6 RC2, Kopete  1.0.80
Comment 8 Christos Lazaridis 2011-05-10 12:50:43 UTC
Same here, Kopete  1.0.80, KDE 4.6.3 on F14. 

Just some notes from browsing through the code:

Even though in KopeteChatWindow::createTabBar(), the setAutomaticResizeTabs() is set to true, that is what is not working as expected.

The KTabWidget::addTab is inherited from QTabWidget which knows nothing about automatic resize (the setAutomaticResizeTabs is a KTabWidget property).

So, maybe adding an addTab() to KTabWidget which would handle the automatic resizing after adding a new tab would work? Unfortunately, a KTabWidget::resizeTabs() method does not seem to be directly available, so it cannot be explicitly called from  KopeteChatWindow::addTab(). 

As I do not have the time to learn how to set up an area and try it out -- maybe someone else could give it a shot?