Summary: | Toolbar config ignored in KMail | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Michal Ziabkowski <mziab> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | thierry.chich |
Priority: | NOR | ||
Version: | 1.11.90 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Michal Ziabkowski
2009-05-15 20:06:21 UTC
Okay, I'm closer to finding the actual problem. The kmmainwin.rc packaged with kdepim-4.2.85 has kpartgui version="414". The one in ~/.kde has kpartgui version="410". So what happens is that KMail ignores the older custom toolbar config in favour of the new, default one. The exact same thing happens with other KMail toolbar files. Manually bumping the versions in the ~/.kde files helps. However, I see at least two problems with the current behaviour: 1) While the toolbars themselves fall back to pre-packaged defaults, in the "Configure toolbars" dialog my toolbar config is displayed. This left me wondering for a while. 2) Re-editing the toolbars doesn't bump the rc version, so KMail will still use the pre-packaged file. The toolbar dialog should at least bump the version when saving. Or it should be consistent with what's displayed in the toolbar. Ideally, there should be some automatic migration procedure, where the user is asked whether to restore the default toolbar config or just bump the version number. For now I'll just bump the version numbers myself. Actually, I should refile this against kdeui. It seems to be a general bug in how customized toolbars are handled. Noticed the same behaviour in Dolphin and Gwenview. *** Bug 190800 has been marked as a duplicate of this bug. *** Thank you for taking the time to file a bug report. KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2. We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback. |