Bug 204796

Summary: Kate does not use default icon size in toolbar
Product: [Applications] kate Reporter: Martin van Es <bugs>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: annma, kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Kate toolbar icons with 48 size set from System Settings

Description Martin van Es 2009-08-22 20:03:40 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Ubuntu Packages

Kate still suffers from Bug 168480.
When the icon size is set to default (16px in my case) the icons are reset to 22 after restarting Kate.
Comment 1 Martin van Es 2009-09-18 09:28:20 UTC
This bug is still present in 4.3.1.
Comment 2 Martin van Es 2009-10-08 10:16:33 UTC
And still present in 4.3.2 as well.
Comment 3 Martin van Es 2010-02-01 15:32:24 UTC
Still present in 4.3.5.
Comment 4 Martin van Es 2010-02-17 09:40:46 UTC
This bug is still present in 4.4.0
Comment 5 Martin van Es 2010-05-26 21:37:15 UTC
*sigh* still present in KDE 4.4.3...
Comment 6 Martin van Es 2010-08-14 16:19:43 UTC
Still present in 4.5.0
Comment 7 Martin van Es 2010-12-12 20:08:21 UTC
Still here in 4.5.4, is anybody paying attention to this list? I know it's not a showstopper, but it's been fixed in all programs but kate...
Comment 8 Anne-Marie Mahfouf 2010-12-12 20:25:16 UTC
Not present here. I set the Icon Size to 48 to Main Toolbar from System Settings, after applying the icons themselves in System Settings get the new size and the one in Kate as well.

My kdeglobals file has a line Size=48 in [MainToolbarIcons] category. Screenshot will be attached for Kate
Comment 9 Anne-Marie Mahfouf 2010-12-12 20:27:03 UTC
Created attachment 54471 [details]
Kate toolbar icons with 48 size set from System Settings
Comment 10 Anne-Marie Mahfouf 2010-12-12 20:34:42 UTC
And if I quit Kate and restart it, the icon size stays as specified in System Settings.
Comment 11 Martin van Es 2010-12-12 20:46:27 UTC
So, could you try 16x16 for Maintoolbar? That's what I have in kdeglobals under MainToolbarIcons.
Comment 12 Martin van Es 2010-12-12 20:50:50 UTC
Ok, problem solved. There was a stale default.katesession in my .kde/share/apps/kate dir, that I didn't know existed. I configure kate to start a new session every time I start it, and somehow this defaultsession got saved one time and was never removed. My problem has been fixed and I'll (shamefully) close this bug.
Comment 13 Anne-Marie Mahfouf 2010-12-12 20:57:02 UTC
Yes it works the same with 16.

Another thing I can do is leave global settings to 22 (default) from System Settings (Application Appearance -> Icons -> Advanced tab) and set only Kate toolbar icons size to 16 (right click on Kate toolbar and choose small 16. If I quit and restart Kate the toolbar icons size is still 16.
The katerc file has the following lines:
[MainWindow][Toolbar mainToolBar]
IconSize=16

Check your katerc file please.
Comment 14 Anne-Marie Mahfouf 2010-12-12 20:57:43 UTC
OK! :-)
Comment 15 Martin van Es 2010-12-12 21:05:06 UTC
One last remark and I'll repent in my little corner for the rest of the year:
It's a bit confusing to say the least, that (Kate?) sessions restore
iconsettings in my very humble opinion. So I'd be inclined to call this a 'bug'
and not a 'feature'.