Bug 154304

Summary: Toolbars with name other than "mainToolBar" ignore global style settings
Product: [Frameworks and Libraries] kdelibs Reporter: Martin Müller <orvio>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: cfeck, kieran.hogg, thomas.friedrichsmeier
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin Müller 2007-12-19 09:13:45 UTC
Version:            (using KDE KDE 3.97.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Any toolbar with a name differing from "mainToolBar" does not respect the global toolbar style-settings. They will just use the default setting (TextUnderIcon) when they are created for the first time and ignore the system style-setting. Their style will then be saved in the application config file.
This setting can then be alterd with the popup menu and the new setting will be stored in application file, even if it is equal to the global style.
This means, that all toolbars with any other name than "mainToolBar" need to be changed manually to match the global style. (unless the global style happens to be TextUnderIcon, of course).
Comment 1 Peter Paulsen 2008-07-30 13:10:49 UTC
And they don't remeber the icon size settings.... Has it something to do with Bug 152266 and 167280?
Comment 2 Thomas Friedrichsmeier 2009-05-01 23:05:10 UTC
*** Bug 171815 has been marked as a duplicate of this bug. ***
Comment 3 Thomas Friedrichsmeier 2009-05-01 23:10:43 UTC
Apparently this is done on purpose. The code in KXMLGuiBuilder, and KMainWindow (and possibly elsewhere) specifically applies the global setting only the toolbars called "mainToolBar". This mail: http://lists.kde.org/?l=kde-core-devel&m=103307809508725&w=2 is the best I could find to explain the reasoning behind this.

That said, I agree this behavior is confusing and undesirable.

Some bug reports that are likely to refer to this same issue (result of a very quick search):
bug #140281
bug #189284
bug #164978
bug #167112
Comment 4 Christoph Feck 2013-07-23 13:45:42 UTC
The default icon size as well as the default text position can be configured separately for main tool bars and other tool bars.