Bug 91386 - Double Menue Entries in most of all KDE Programs
Summary: Double Menue Entries in most of all KDE Programs
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 13:11 UTC by Gernot Sadlo
Modified: 2004-11-19 11:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
konqueror with double entries (149.99 KB, image/jpeg)
2004-10-15 13:18 UTC, Gernot Sadlo
Details
kmail with double entries (90.46 KB, image/jpeg)
2004-10-15 13:19 UTC, Gernot Sadlo
Details
Konqueror showing the problem (95.66 KB, image/jpeg)
2004-10-16 01:00 UTC, Christian Iversen
Details
kmail2.jpg (76.57 KB, image/jpeg)
2004-10-16 10:19 UTC, Gernot Sadlo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gernot Sadlo 2004-10-15 13:11:48 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc (GCC) 3.3.5 (Debian 1:3.3.5-1) 
OS:                Linux

Hello,

hmm I dont know how to describle this, but i have in most of all KDE Programs double Menue Entries like.

Datei Datei Bookmark Bookmark Help Help  

and in this one many of the same Entries like.

Datei
-------
Save
SaveAs
-------
Save
SaveAs

and so on.

I have take a look in /usr/share/apps. But i cant found anything whats wrong.
This is since a long Time ago i have changed from KDE 2 to KDE 3. 
I have my ~.kde deleted, kde deleted with dpkg --purge but nothing helps.

Gernot Sadlo
Comment 1 Gernot Sadlo 2004-10-15 13:18:29 UTC
Created attachment 7887 [details]
konqueror with double entries
Comment 2 Gernot Sadlo 2004-10-15 13:19:49 UTC
Created attachment 7888 [details]
kmail with double entries
Comment 3 Christian Iversen 2004-10-16 00:58:57 UTC
I have the very same problem. 

dpkg-buildpackage on Debian 3.1 (sarge beta). 

I have absolutely no idea why this happens. It is interesting to note that if you rename e.g. /usr/share/apps/konqueror/konqueror.rc => konqueror.rc2 (or other bogus name), it (being the UI definition) only gets loaded once, and the UI looks normal again. (at least for the part of konqueror that is covered by that file). This looks like a general problem, and I have seen it in numerous programs. (all?)
Comment 4 Christian Iversen 2004-10-16 01:00:05 UTC
Created attachment 7894 [details]
Konqueror showing the problem
Comment 5 Gernot Sadlo 2004-10-16 10:19:19 UTC
Am Samstag, 16. Oktober 2004 00:58 schrieb Christian Iversen:

> I have absolutely no idea why this happens. It is interesting to note that
> if you rename e.g. /usr/share/apps/konqueror/konqueror.rc => konqueror.rc2
> (or other bogus name), it (being the UI definition) only gets loaded once,
> and the UI looks normal again. (at least for the part of konqueror that is
> covered by that file). This looks like a general problem, and I have seen
> it in numerous programs. (all?)

I have rename konqueror.rc (restart X), but it is exact the same Problem.

Then i renamed kmmainwin.rc from KMail. And now Kmail Menue Entries are 
correct, but the Name of the Entrie are Empty. I'm surprised.

Whats going wrong ?


Created an attachment (id=7896)
kmail2.jpg
Comment 6 Stephan Kulow 2004-10-16 12:19:28 UTC
Am Samstag 16 Oktober 2004 00:58 schrieb Christian Iversen:
> I have absolutely no idea why this happens. It is interesting to note that
> if you rename e.g. /usr/share/apps/konqueror/konqueror.rc => konqueror.rc2
> (or other bogus name), it (being the UI definition) only gets loaded once,
> and the UI looks normal again. (at least for the part of konqueror that is
> covered by that file). This looks like a general problem, and I have seen
> it in numerous programs. (all?)
So what konqueror.rc does it load then? Try strace

Greetings, Stephan

Comment 7 Gernot Sadlo 2004-10-16 13:33:58 UTC
Am Samstag, 16. Oktober 2004 12:19 schrieb Stephan Kulow:

>
> So what konqueror.rc does it load then? Try strace

That is unbelievable !

Konqueror load it from ~,kde. Ok, so far so good. I delete this File and 
restart X.
It is no rc in /usr/apps/konqueror or in my Home, but Konqueror starts und 
looks fine. No double Entries :-).

Then i renamed the /usr/share/apps/konqueror/konqueror.rc_ori (by me) in 
original and restart X.
Oh no, double Entries :-(. Ok, rename again to konqueror.rc_ori and restart X.
Konqueror look fine again.

Only what rc is loadet? strace konqueror says
konqueror.rc_ori loadet ?!?

Strace Output
######################################################################
write(2, "konqueror: WARNING: KXMLGUIClien"..., 81konqueror: 
WARNING:KXMLGUIClient::setXMLFile: cannot find .rc file konqueror.rc
stat64("/usr/share/apps/konqueror/konqueror.rc_ori", {st_mode=S_IFREG|0644, 
st_size=4569, ...}) = 0
open("/usr/share/apps/konqueror/konqueror.rc_ori", O_RDONLY|O_LARGEFILE) = 12
######################################################################

But konqueror.rc is exactly konqueror.rc_ori. 
Why in general konqueror loadet the _ori, and why doesn't work whith the 
original name ?

unbelievable !

So, konqueror is OK. Now i take a look to KMail and all the other Programs 
with double Entries.

Comment 8 Christian Iversen 2004-10-18 16:06:32 UTC
I found a solution to this problem. 

I had used dpkg-buildpackage to make debian packages of the kde sources, from the official 3.3.0 kde tarballs. The debian/ dir included in those tarballs is official, but outdated. Recompiling the packages from unstable (for testing) solved my problems 100%. It seems to be related to the outdated debian files. Can you confirm this? 

If you want, contact me at chrivers (at) iversen-net (dot) dk, then you can try my repository. 
Comment 9 Aaron J. Seigo 2004-11-19 11:26:49 UTC
this is a packaging issue.