Bug 288388

Summary: Wrong position of top panel
Product: [Plasma] plasma4 Reporter: Michał D. (Emdek) <emdeck>
Component: containment-panelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: blagozlatev, fri.k, myriam, thijs22nospam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Illustration of the bug
Clean and tainted configuration files
Weird position of panel configuration interface

Description Michał D. (Emdek) 2011-12-07 09:30:05 UTC
Created attachment 66467 [details]
Illustration of the bug

Version:           unspecified (using KDE 4.7.2) 
OS:                Linux

I experience strange bug with initial top panel positioning.
After login (or restarting plasma-desktop) top panel is positioned around 720 pixels below screen edge, which can be easily fixed (until next start) by unlocking widgets and pressing (dragging is not needed) screen edge button.
Weirdest thing is that all started to happen after playing Unreal Tournament 2004 with resolution lower than used on desktop (bug started to show up after next login).
I'm using Catalyst 11.8 driver.

Reproducible: Always

Steps to Reproduce:
Restart plasma-desktop.

Actual Results:  
Panel has incorrect position (720 pixels below top screen edge).

Expected Results:  
Panel should be located on top.
Comment 1 Blagovest Zlatev 2011-12-08 15:41:31 UTC
I don't have an AMD/ATi videocard so I could not reproduce the bug even if I wanted, but the bug is not a duplicate.
Comment 2 Blagovest Zlatev 2011-12-09 13:45:18 UTC
What resolution did you use for UT2004? Was it 1280x720? The problem comes probably from the drivers. Try with other Catalyst versions if you can.
Comment 3 Michał D. (Emdek) 2011-12-09 14:10:32 UTC
1280 x 800.

More testing.
Purging (temporary renaming ~/.kde/share/config/) fixes problem.
Confirmed by reproducing it on clean desktop (top panel with trash applet).
I'll attach configuration files for clean configuration and tainted after running game.

And I can't change driver currently (That's my "production system" and I'm busy right now...).
But in theory I'm able to temporary switch back to integrated Intel graphics, if that configuration dump is not enough (and I'll be done with my current work).

Also I've noticed weird location of panel configuration interface after it went near bottom edge of screen and I've clicked toolbox button. Screenshot will follow.
Comment 4 Michał D. (Emdek) 2011-12-09 14:11:30 UTC
Created attachment 66546 [details]
Clean and tainted configuration files
Comment 5 Michał D. (Emdek) 2011-12-09 14:12:20 UTC
Created attachment 66547 [details]
Weird position of panel configuration interface
Comment 6 Aaron J. Seigo 2011-12-09 20:10:27 UTC
"Weirdest thing is that all started to happen after playing Unreal Tournament
2004 with resolution lower than used on desktop"

did it happen to use a resolution that had a height of 720px?

i would not be surprised if plasma-desktop is getting incorrect information at start and then not updated with correct information later until a "re-calculate" is triggered.
Comment 7 Michał D. (Emdek) 2011-12-09 20:54:52 UTC
720? Most probably not.

That initial location seems to change, currently it's most often around 50 pixels below edge...
Example with kruler shows that it can go lower if it has window on it's way, on that second screenshot it could be caused by Pidgin contact list window (shown when there is no systray).

I've also checked ordinary resolution change and it causes the same effect, after restarting plasma-desktop top panel is below top edge (but there are no windows at all, just initial desktop of Kubuntu).
Comment 8 Thijs 2011-12-11 15:17:54 UTC
Confirmed for me, a couple of times - but never enough to report it seems. The only thing that may be connected to the problem is that I used a second monitor. Very well possible that I rebooted X violently to trigger this bug.
Comment 9 Aaron J. Seigo 2011-12-16 12:10:14 UTC
*** Bug 289101 has been marked as a duplicate of this bug. ***
Comment 10 Thijs 2012-01-05 11:16:59 UTC
Observation this morning. I could trigger this bug by restarting plasma-desktop from the konsole, but not when starting through KRunner.
Comment 11 Michał D. (Emdek) 2012-01-05 11:20:19 UTC
@Thijs, in my case there is no difference.
The only differences come from visible windows, if there is for example Pidgin window (contacts list) then it will end near bottom screen edge, in line with bottom edge of that window...
Comment 12 Thijs 2012-01-19 12:05:11 UTC

*** This bug has been marked as a duplicate of bug 281029 ***