Bug 48393 - Dynamic Tab Resizing in Konqueror
Summary: Dynamic Tab Resizing in Konqueror
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 48850 56841 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-09-28 04:34 UTC by Ivan Kozik
Modified: 2003-05-31 10:15 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Simple patch to reduce tab-title-length based on number of tabs (1.45 KB, patch)
2003-05-29 13:59 UTC, Dominik Stadler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Kozik 2002-09-28 04:34:15 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

It would be nice to have mozilla-like tab behavior where tabs are dynamically resized so that when lots of tabs are open no arrows on the right to switch between the tabs are neccessary.
Comment 1 Stephan Binner 2002-10-10 13:05:29 UTC
*** Bug 48850 has been marked as a duplicate of this bug. ***
Comment 2 Datschge 2003-03-31 02:26:53 UTC
Currently the width of tabs always depends on the title, maximal 30 letters are shown 
before the title is cut (I'm using ArkLinux alpha 7 which includes KDE pre-3.1.1). I'd 
prefer to at least be able to set my own amount of allowed letters in tabs if a dynamical 
resize is not possible in near future. 
Comment 3 Stephan Binner 2003-04-07 18:11:31 UTC
*** Bug 56841 has been marked as a duplicate of this bug. ***
Comment 4 coolian 2003-04-07 23:28:53 UTC
I completely agree. This is one feature my mother desperately wants. She gets
confused about where she is logged in.
Comment 5 Dominik Stadler 2003-05-29 13:57:52 UTC
I have produce a very rough patch that at least eases this bug somewhat for me. It just 
reduces the number of characters put into the patch from 30 down to 2 based on the 
number of tabs. It does no real calculation of the available space, I just assume that 
normally 90 characters fit into the tab-title-bar, so it will still exceed the available size if 
you have a small window and will cut off tab-titles earlier if your screen is big. 
 
I think the real solution for this bug needs to change the implementation of QTabWidget 
in the qt-library where all necessary information about the width of the tab-titles is  
available... 
Comment 6 Dominik Stadler 2003-05-29 13:59:37 UTC
Created attachment 1668 [details]
Simple patch to reduce tab-title-length based on number of tabs
Comment 7 Stephan Binner 2003-05-30 14:06:22 UTC
It's not a bug and your patch doesn't look good: It doesn't add "...", assumes 
a specific width (I have a wide-screen display, why shouldn't I allowed to use 
all of its width? :), doesn't restore the original length if more space is 
again available. Not talking about an unnecessary line and an unnecessary 
conditional. And please send your patches against HEAD. I think a real solution 
is possible without changing QTab*. 
Comment 8 Stephan Binner 2003-05-30 17:30:15 UTC
Implemented in HEAD for KDE 3.2. 
Comment 9 Alex Radu 2003-05-31 00:25:28 UTC
I hope, as it satands this patch isn't satisfactory, but tis a good start. It
should have resizing like Mozilla's 1.4 RC 1 though.
Comment 10 Stephan Binner 2003-05-31 10:15:51 UTC
I didn't commit this patch but my own implementation which behaves exactly like 
Mozilla's as far I can see.