Bug 124895 - [regression] two times "Configure Toolbars..."
Summary: [regression] two times "Configure Toolbars..."
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 125453 135567 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-04 11:55 UTC by Stefan Monov
Modified: 2007-10-09 09:09 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch against 3.5 branch , fixing the issue. (779 bytes, patch)
2006-11-12 14:07 UTC, Ismail Donmez
Details
the previous appearance of the bug (3.66 KB, image/png)
2007-03-17 05:52 UTC, Shriramana Sharma
Details
the current appearance of the bug (3.49 KB, image/png)
2007-03-17 05:53 UTC, Shriramana Sharma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Monov 2006-04-04 11:55:38 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    SuSE RPMs
OS:                Linux

(first reported at https://bugzilla.novell.com/show_bug.cgi?id=162540 )
I think that this happened after the last update I performed.
There are now duplicate menu items in many KDE applications. For example:
-KWrite has a double "Configure Toolbars..."
-KDevelop has a double "Configure Editor..."
Comment 1 Philip Rodrigues 2006-04-04 23:58:42 UTC
Does a newly-created user also have the same problem?
Comment 2 Stefan Monov 2006-04-05 07:34:32 UTC
Yes.

The exact sequence of my actions was:
1. see bug, report bug;
2. create new user (and start using it *only*);
3. update KDE from 3.5.1 to 3.5.2;
4. check for the bug again.
Comment 3 Stefan Monov 2006-04-05 07:42:57 UTC
Wait, no.
In KWrite the problem is present even with a new user.
In KDevelop the problem is *not* present with a new user.
Comment 4 Thiago Macieira 2006-04-06 23:42:07 UTC
Confirmed: KDE 3.5.2 r552440 (the KWrite one at least).
Comment 5 Youssef Chahibi 2006-07-03 02:06:54 UTC
Confirmed: KDE 3.5.3 (KWrite)
Comment 6 Andreas Kling 2006-07-15 23:32:38 UTC
*** Bug 125453 has been marked as a duplicate of this bug. ***
Comment 7 Dominik Haumann 2006-07-19 22:41:41 UTC
Does it happen with kwrite/kate only? or also other kde apps?
Comment 8 Stefan Monov 2006-07-19 22:52:14 UTC
KWrite only; Kate is okay. KDevelop used to have this, too. However, for some reason I can't reproduce it in KDevelop anymore. So it's just KWrite.
Comment 9 Stefan Monov 2006-09-12 09:31:09 UTC
The bug is still present in KDE 3.5.4, SUSE Linux 10.1.
Comment 10 Shriramana Sharma 2006-09-24 06:59:36 UTC
Confirmed with KDE 3.5.4 on Kubuntu Dapper. 

I should note that the first entry has "b" as the accelerator, and the second has "o". In Kate, the only entry has "b" as the accelerator, so I presume the second one is the extra one. 

Added my votes.
Comment 11 Stefan Monov 2006-09-24 11:04:46 UTC
Re: Comment 10
Both entries have the 'b' accel here.
Comment 12 Shriramana Sharma 2006-09-24 11:50:43 UTC
Stefan, what version of KDE on what version of what distro are you using?
Comment 13 Stefan Monov 2006-09-24 11:52:55 UTC
Re: Comment 12
As I already wrote, KDE 3.5.4 on SUSE Linux 10.1.
Comment 14 Dominik Haumann 2006-10-14 09:51:32 UTC
*** Bug 135567 has been marked as a duplicate of this bug. ***
Comment 15 Ismail Donmez 2006-11-12 14:07:16 UTC
Created attachment 18508 [details]
Patch against 3.5 branch , fixing the issue.
Comment 16 Laurent Montel 2006-12-21 17:13:00 UTC
Fixed into svn now.
Regards
Comment 17 Wolfram R. Sieber 2007-01-18 10:52:19 UTC
Laurent, has that svn branch a version number, yet? -- I am using KDE 3.5.5, Debian/Etch. In Kwrite, the bug's still present, and the accelerators are B and O.
Comment 18 Shriramana Sharma 2007-03-17 05:52:18 UTC
I have upgraded to 3.5.6 (Kubuntu packages) for this purpose alone and the only difference I see is that previously there were two items at the bottom of the menu and now there is one at the top and one at the bottom. Adding screenshots.
Comment 19 Shriramana Sharma 2007-03-17 05:52:52 UTC
Created attachment 20007 [details]
the previous appearance of the bug
Comment 20 Shriramana Sharma 2007-03-17 05:53:25 UTC
Created attachment 20008 [details]
the current appearance of the bug
Comment 21 Shriramana Sharma 2007-10-09 08:04:21 UTC
Please reopen this. Persists in KDE 3.5.7 as on 2007-Oct and KDE 4 is so near. This needs to be fixed at least in KDE 4.0.
Comment 22 Stefan Monov 2007-10-09 08:08:47 UTC
I confirm the bug persists in 3.5.7, at least.
Comment 23 Dominik Haumann 2007-10-09 09:05:55 UTC
Can you reproduce in KDE4?
Comment 24 Stefan Monov 2007-10-09 09:09:45 UTC
The problem is that Laurent committed something different from Ismail's patch [1], which he did before seeing this bug, and which, somehow, fixed the problem for him. Here's a patch that should fix it for everybody. But KDE 3.5.8 was tagged 2 days ago and no further 3.x releases are planned, so I won't be committing it.

As for KDE 4, the bug is fixed there -- I don't know how or when -- thus I'm closing this as fixed.

[1] http://websvn.kde.org/branches/KDE/3.5/kdebase/kate/data/kwriteui.rc?r1=493144&r2=615416

Index: kate/data/kwriteui.rc
===================================================================
--- kate/data/kwriteui.rc	(revision 723257)
+++ kate/data/kwriteui.rc	(working copy)
@@ -1,5 +1,5 @@
 <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui name="kwrite" version="16">
+<kpartgui name="kwrite" version="17">
 
 <MenuBar>
   <Menu name="file" noMerge="1"><text>&amp;File</text>
@@ -55,7 +55,6 @@
     <Action name="set_showPath" append="show_merge"/>
     <DefineGroup name="show_merge" />
     <DefineGroup name="configure_merge" append="save_merge"/>
-    <Action name="options_configure_toolbars"/>
     <Action name="settings_configure" append="configure_merge"/>
     <Action name="settings_choose_editor" append="save_merge"/>
   </Menu>