Bug 85957 - "K" panel appears in wrong place when put in a child panel
Summary: "K" panel appears in wrong place when put in a child panel
Status: RESOLVED FIXED
Alias: None
Product: kicker
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: John Firebaugh
URL:
Keywords:
: 87635 99015 101013 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-25 20:14 UTC by kde
Modified: 2005-03-07 04:28 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (55.09 KB, image/jpeg)
2004-11-30 08:42 UTC, Thomas Reitelbach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kde 2004-07-25 20:14:55 UTC
Version:            (using KDE KDE 3.2.92)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.1 
OS:                Linux

I have my "K" menu put in a child panel at the right of the screen.

When I click it the first time, the menu appears as if the "K" was placed in the lower left corner. After this first click, it always shows itself in the right position (touching the right of the screen).

I assume the panel position initialization code is called in the wrong place, after the initial drawing.

Thanks for the great software

Ricardo Ferreira
Comment 1 Matt Rogers 2004-09-17 04:23:17 UTC
*** Bug 87635 has been marked as a duplicate of this bug. ***
Comment 2 Jerzy Bartuszek 2004-09-19 01:55:57 UTC
I confirm! Same here.
Comment 3 Aaron J. Seigo 2004-11-18 21:56:45 UTC
tested with CVS HEAD. works.
Comment 4 kde 2004-11-18 22:01:21 UTC
I hope you restarted KDE when testing because as I said it only happens the first time (in a session) the menu is clicked. I haven't compiled CVS HEAD so I'll have to wait until next KDE version comes out to verify it.

Thanks for your interest and great work :)

Ricardo
Comment 5 Thomas Reitelbach 2004-11-30 08:42:44 UTC
Created attachment 8492 [details]
screenshot
Comment 6 Thomas Reitelbach 2004-11-30 08:43:31 UTC
This bug is _not_ fixed in current head (or it has re-appeared, don't know).

Please find a screenshot attached which shows the bug. As the original reporter says, it does only happen after your first click on the K-Menu after login.

please re-open this bug. thanks, thomas :)
Comment 7 kde 2004-11-30 14:18:17 UTC
I thought it had been closed rather hastefully :)

Ricardo
Comment 8 Stefan Nikolaus 2005-01-23 10:42:57 UTC
CVS (23.01.2005)

Works for me. There was a problem with the removal of special buttons. Maybe its solving fixed this problem, too.

Just for the case you don't know:
For excessive testing you can restart kicker with
dcop kicker kicker restart
Comment 9 Stefan Nikolaus 2005-02-05 09:39:49 UTC
Specify the Qt version you use, please.
This bug seems to be caused by not applying the 0047-fix-kmenu-width.diff of qt-copy.
Comment 10 Ricardo Ferreira 2005-02-09 10:56:04 UTC
I have since changed distros (I previously had an LFS with qt-3.3.2 (the 
latest version at the time)).  But after managing the LFS for 2 years, I 
finally got fed up with it (partially due to a libc upgrade that went 
slightly wrong :-) and changed to debian. After knowing the pains of package 
management, I'm loving apt-get and dpkg :-)

Anyway, Debian is carrying qt-3.3.3 with kde 3.3.2 nowadays and the bug does 
not manifest itself with these versions (tried it today). Debian does some 
patching on it's own so this is not a pristine copy of qt. Maybe Thomas can 
confirm that the bug has indeed disappeared?

Once again thank you all.

Ricardo Ferreira
Comment 11 Stefan Nikolaus 2005-02-10 12:33:52 UTC
*** Bug 99015 has been marked as a duplicate of this bug. ***
Comment 12 Peter Volkov 2005-02-10 14:08:10 UTC
*** This bug has been confirmed by popular vote. ***
Comment 13 Peter Volkov 2005-02-10 14:12:01 UTC
I'm using qt-3.3.4-r2. And have the same problem... If this helps...
Comment 14 Thomas Reitelbach 2005-02-10 16:52:21 UTC
Comment #9 applies for me, i'm using QT from the trolls without any patches and i experience this bug.
i'm currently unable to patch my QT, but if someone else please can confirm that applying the patch helps... this would be greatly appreciated :)

thanks,
thomas
Comment 15 Aaron J. Seigo 2005-02-22 08:51:01 UTC
i've made the positioning code slightly more robust as well. can one of you having problems please test against either the upcoming 3.4rc1 or 3.4 final when it comes out? thank you.
Comment 16 Peter Volkov 2005-02-22 09:06:39 UTC
Is it very hard to backport this code into 2.3.2? I'd like to taste it, but my only computer is one I'm working with. And I'm not brave enough to have beta versions installed...

And of course, Thank you, Aaron.
Comment 17 Aaron J. Seigo 2005-02-27 08:04:06 UTC
it's been confirmed that it's a Qt bug, the one that 0047-fix-kmenu-width.diff fixes. hooray!
Comment 18 Peter Volkov 2005-02-27 09:17:38 UTC
Where can I get this diff? What versions of qt are affected? Should I recompile kde with the new version of qt. As I already told you I have qt-3.3.4 that is the latest stable verson of qt and experience this bug.
Comment 19 Stephan Binner 2005-02-27 13:54:19 UTC
> Where can I get this diff?

http://webcvs.kde.org/qt-copy/patches/0047-fix-kmenu-width.diff?rev=1.6&view=auto

> What versions of qt are affected?

All greater Qt 3.2.3.

> Should I recompile kde with the new version of qt.

No.
Comment 20 Peter Volkov 2005-02-27 14:06:57 UTC
Thank you very much!!!

I'll check this fix tonight.
Comment 21 Maksim Orlovich 2005-03-07 04:28:49 UTC
*** Bug 101013 has been marked as a duplicate of this bug. ***