Bug 114045

Summary: strange placement of menus in menubar when adding applets
Product: [Unmaintained] kicker Reporter: Michael Olbrich <michael.olbrich>
Component: generalAssignee: Aaron J. Seigo <aseigo>
Status: RESOLVED FIXED    
Severity: normal CC: akohlsmith-kde, janne.ojaniemi, nathan.olberding
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Misaligned Menu Screen Shot
screenshot showing the problem

Description Michael Olbrich 2005-10-07 22:32:25 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

The following situation:
MacOS style menubar.
- kill kicker.
- remove kicker configurations.
- restart kicker.
- right click on menubar -> Add Applet to Menubar...
now no menus are visible (shouldn't the desktop menu appear in that case?)
- add an applet.
- close the "Add Applet" window
the menu comes back on the right side of the applet.
from this point on the menu moves around like any other applet. As it can't be moved manually I have yet to find a way to move it to the left side of the menubar.
Imho the menu should either get a handle like all other applets or gravitate to the left (or right I guess for right to left languages).
Comment 1 Michael Olbrich 2005-10-31 16:48:24 UTC
I did a few more tests with the latest svn.
The problem is definitely the missing menu. However I have no idea how to reproduce that.
For the first new user the menu was there adding applets was no problem. The menu disappeared after switching of the desktop icons and never came back.
I tried to reproduce that but for the next user the menu never appeared in the first place.
Note that this only happens when I want the application menu. A permanent desktop menu is allways there.
Any hints on how to debug this? I don't even know whether the menu applet is removed or just empty.
Comment 2 Aaron J. Seigo 2005-11-14 21:51:05 UTC
*** Bug 116362 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Kohlsmith 2005-11-14 22:03:07 UTC
(from bug 1116362) I managed to get it working ... it looks like kicker needed to be kicked.  :-)  I looked at the kicker_menubarpanelrc, nothing looked "off" so I fired up kdcop and restarted kicker.  Everything seems fine now, so it looks like somewhere along the way kicker needs to be restarted when you play with these things.
Comment 4 Nathan Olberding 2006-02-06 08:51:16 UTC
Bug 1116362 seems to more closely mirror my issue, though I can see why these would be taken under the same bug report.

In my case, I have a menubar with a clock and some applets to the right of the menu. The applets are all movable, but the menu isn't. The menu itself seems to be centered in the space not taken up by the applets to its right.

I've tried restarting KDE as well as using kdcop to restart kicker (void restart()). Using kdcop, the menu position briefly became left-aligned, but then went back to its awkward freespace-centered position as soon as the kicker finished restarting.

KDE 3.5.1 using Ubuntu packages.
Comment 5 Nathan Olberding 2006-02-06 08:53:40 UTC
Created attachment 14570 [details]
Misaligned Menu Screen Shot

This screen shot shows my misaligned menu. Correct me if I'm wrong, but it
looks centered in the space not taken up by applets.
Comment 6 Aaron J. Seigo 2006-02-06 18:23:22 UTC
lubos "seli" lunak committed a fix for this a couple days ago. it will be in 3.5.2. =)
Comment 7 Janne Ojaniemi 2006-03-29 19:23:07 UTC
Created attachment 15355 [details]
screenshot showing the problem
Comment 8 Janne Ojaniemi 2006-03-29 19:24:28 UTC
I have similar problem on my Kubuntu-desktop. All the menus in the Mac OS menubar are on the right-hand side of the menubar. I just upgraded to 3.5.2, and the problem is still present :(
Comment 9 Michael Olbrich 2006-03-29 20:16:56 UTC
I'm not sure what the fix was, so I'm just guessing here.
It is possible that an old configuration file is messing up things for you.
Try to remove it (.kde/share/config/kicker_menubarpanelrc) and reconfigure your menubar.
Comment 10 Janne Ojaniemi 2006-03-30 18:39:01 UTC
That did the trick :). My menubar is nice and tidy now. Thanks for the help!