Bug 85454 - Konqueror view profiles don't remember toolbar icon sizes
Summary: Konqueror view profiles don't remember toolbar icon sizes
Status: REPORTED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 118885 131328 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-19 01:07 UTC by Jason W
Modified: 2007-01-07 18:41 UTC (History)
2 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 Jason W 2004-07-19 01:07:02 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    Debian testing/unstable Packages
OS:                Linux

I prefer using different icon sizes for konqueror as web browser and konqueror as file manager (large for web browser and medium for file browser)  It is possible to save the file manager view profile with medium icons and the web browser view profile with large icons, then when konq (file manager) is opened the icons are medium and when konqueror (web browser) is opened the icons are large.  

BUT after the web browser konq is opened, subsequent instances of file manager konqueror also have large icons.  The medium size is forgotten.. It would be very nice if the size of the toolbar icons was remembered more reliably.  

In earlier versions of KDE, the size was remembered correctly at all times EXCEPT when restoring a session.  Then all file manager konquerors were given large icons.  Instances of file manager konq opened after that had medium icons again.  That was close to how I would want it, but it has regressed from there in 3.2.3 so that file manager konq ALWAYS has large icons after web browser konq has been opened.
Comment 1 Jason W 2004-07-22 21:37:04 UTC
I have a better idea of why this happens now.

in ~/.kde/share/apps/konqueror/profiles/filemanagement has lines like
[Main Window Settings Toolbar mainToolBar]
IconSize=32
to record the size of the toolbar icons.  If however you set the size to 20, there is no IconSize=22 line saved.  I assume 22 is the default, so it isn't explicitly saved, and when no IconSize line is found it defaults to 22.

Unfortunately, if one opens Konqueror with another profile (like webbrowsing) where one has the size set to 32, the next time one opens with the filebrowsing profile, it too is using 32.  Konq seems to remember the last size used and uses that if it isn't specified.

I fixed it by setting a line IconSize=22 in the filemanagement profile.  Having it there ensures that the correct size is always loaded/

Basically, I would suggest that the icon size is always explicitly recorded, even when the size is the default of 22.  It seems like this would be easy, and it would fix the problem I had.
Comment 2 Jason W 2005-09-07 08:58:30 UTC
This issue still exists, and is getting worse.  

Setting IconSize=22 in the filemanagement profile still ensures that the correct size is used for that profile.  The problem (new since 3.2) arises when one also has a web browser konqueror (with toobar size 32) open, and in the filemanager konqueror one switches the view, for example from icon view to detailed list view or vice versa.  When this is done, the toolbar in the filemanager window changes its size from 22 to 32.  

To replicate: 
IconSize=22
in
~/.kde/share/apps/konqueror/profiles/filemanagement

IconSize=32
in 
~/.kde/share/apps/konqueror/profiles/webbrowsing

Open konqueror, switch to filemanagement profile.
Open another konqueror window, switch to web browsing profile.
In the filemanager window, change from detailed list view to icon view, or vice versa.
The toolbar in the filemanager window changes size to 32.  

This is a regression from 3.2 (and 3.3 IIRC).  The need to edit ~/.kde/share/apps/konqueror/profiles/filemanagement to set the size (to 22) is a regression from 3.1


It is rather galling for a toolbar to change size on its own, especially after one has explicitly set the wished for size in the config file (~/.kde/share/apps/konqueror/profiles/filemanagement)

To prevent this, I commented out line 281
//setAutoSaveSettings( "KonqMainWindow", false );
in konq_manwindow.cc

I guess it might have broken something, but it prevented my filemanager size 22 toolbar from resizing itself when I switch to icon view.  I've seen no other effect.

So I've watched this regress from KDE 3.1 where it was possible to have different size toolbars in konqueror based on the profile used, to 3.2 where it was possible through editing config files, to 3.4 where it is possible with editing config files and editing sourcecode.

My wish is still to have the possibility to have different toolbar sizes for different konqueror profiles, even when windows with different profiles are open at the same time.
Comment 3 Janet 2006-02-19 20:50:05 UTC
The size of the toolbar should be saved in the konq profiles (and for every other program seperately). Maybe it is similar to Bug 56730 with the wish to save the used toolbar icons in the profile and use them independently for filemanager and webbrowser. That's the crux with KDE - all applications are bound together too much.
Comment 4 Bram Schoenmakers 2007-01-07 18:36:38 UTC
*** Bug 118885 has been marked as a duplicate of this bug. ***
Comment 5 Bram Schoenmakers 2007-01-07 18:41:50 UTC
*** Bug 131328 has been marked as a duplicate of this bug. ***