Bug 281029 - Panel on the Top of My Screen Drops at Login
Summary: Panel on the Top of My Screen Drops at Login
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: panel (show other bugs)
Version: 4.8.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 281062 283063 288388 293371 295624 296182 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-30 05:37 UTC by eli
Modified: 2013-12-15 16:42 UTC (History)
17 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.1
Sentry Crash Report:


Attachments
Horizontal panel in the middle of the screen. (937.96 KB, image/png)
2011-11-25 17:35 UTC, Travis
Details
The floating panel should be attached to the top of the screen. (220.53 KB, image/jpeg)
2011-12-02 09:58 UTC, Paul Gideon Dann
Details
original plasma-desktoprc triggering the problem (1.49 KB, text/plain)
2012-05-22 11:34 UTC, ancow
Details
new plasma-desktoprc not triggering the problem (519 bytes, text/plain)
2012-05-22 11:37 UTC, ancow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eli 2011-08-30 05:37:37 UTC
Version:           unspecified (using KDE 4.6.5) 
OS:                Linux

Whenever I login to kde the panel on the top of my screen the panel drops down a bit from the top and I have to drag it back up. I do not know what if anything I did to make this happen. All's that I can tell you is that it happened on three computers. It happens whether I lock widgets or don't

Reproducible: Always

Steps to Reproduce:
Just login to the computer

Actual Results:  
Top panel drops position

Expected Results:  
The top panel should stay at the top of the screen.
Comment 1 Christian González 2011-08-31 11:50:42 UTC
Not sure if it is the same bug, but I'm using a vertical panel and *sometimes* it appears near the middle of the screen, specially after a "restart" of plasma (kquitapp plasma-desktop && sleep 3 && plasma-desktop) and when I'm using extended desktop.

This is Fedora 15 i386 + KDE 4.7.0 from kde-unstable + nVidia blobs.
Comment 2 eli 2011-09-01 04:51:12 UTC
Sounds like it is.... Also using nVidia
Comment 3 eli 2011-09-02 06:14:24 UTC
OK... I've had some time to dig a little deeper. I found that:

kquitapp plasma-desktop produces. The output below. Obviously there is something wrong with powerdevil.

kquitapp plasma-desktop
Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection
Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)
Object::disconnect: (sender name: 'Battery0')
Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)
Object::disconnect: (sender name: 'AC Adapter')
Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)
Object::disconnect: (sender name: 'PowerDevil')
Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)
Object::disconnect: (sender name: 'Battery')
Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data)
Object::disconnect: (sender name: 'events:2011-08-28:2011-10-08')
Comment 4 Travis 2011-11-25 17:35:01 UTC
Created attachment 66071 [details]
Horizontal panel in the middle of the screen.

Shows the horizontal panel in the middle of the screen after log in. Similar result of the top vertical panel being in the middle of the screen.
Comment 5 Travis 2011-11-25 17:38:39 UTC
Please note: 

The screenshot I attached is of my desktop, running KDE 4.7.3, showing my horizontal panel in the middle of the screen, after log in. I am running Arch Linux 64 bit. I have an nvidia card, and experience this issue with both the nvidia driver and the nouveau driver.

My wife also experiences this problem with her laptop. She is running KDE 4.7.3 on Arch Linux 32 bit. She has an intel card using intel drivers. Her top panel is in the middle of the screen after log in. 

Since she also has a left horizontal panel, I'd say that this issue only affects the "main panel". Since she has an intel card, I'd say that this is not a nvidia issue. 

This issue has remained present in the many KDE versions to date.
Comment 6 Christoph Lange 2011-12-02 09:39:55 UTC
I have a similar issue, also with an Intel card.  Whenever, really whenever I log in, my panel, which is configured to be on top of the screen, appears somewhere else.  In most cases it appears at the bottom of the screen, but sometimes it also appears in the middle of the screen, and in that case it is impossible to focus it using the mouse; it would always flash up and then collapse again.

My workaround is the following:
1. Press Alt+F1, to make sure the panel is highlighted
2. Right-click on the panel, "unlock widgets" (I have them locked by default; _this_ setting is preserved across logins)
3. click the "cashew nut" widget to expand the "panel settings" sub-panel
4. click "screen edge" and drag the panel to the top of the screen
5. right-click the cashew nut and say "lock panel"

Further background: Sometimes I have external screens connected.  The bug occurs regardless of whether they are connected or not.
Comment 7 Paul Gideon Dann 2011-12-02 09:58:21 UTC
Created attachment 66297 [details]
The floating panel should be attached to the top of the screen.

Here's what happens on my machine (Latitude E5520) using Intel HD3000.  The panel should be attached to the top of the screen, but whenever plasma is started (or restarted), it appears vertically displaced, but still across the full width of the screen.

My workaround is to unlock the desktop, drop the panel to either the right or left edge of the screen, and then to the top.  If I drag it directly to the top, my widgets don't adjust themselves to make room for the panel, and they are partially hidden behind it.  Dragging it to another edge first solves this.
Comment 8 Thijs 2012-01-19 12:05:11 UTC
*** Bug 288388 has been marked as a duplicate of this bug. ***
Comment 9 Thijs 2012-01-19 12:05:42 UTC
*** Bug 283063 has been marked as a duplicate of this bug. ***
Comment 10 Thijs 2012-01-19 12:06:20 UTC
*** Bug 281062 has been marked as a duplicate of this bug. ***
Comment 11 andrew 2012-01-21 20:29:08 UTC
I am also seeing this - I have a vertical, auto-hide panel on the left of the screen which appears mid-screen on login.  Same fix as others here - I need to click the cashew and then drag it back to the screen side.  As far as I can remember I have never used a second screen on this system (which is fairly new).

OpenSuse 12.1; KDE 4.7.2; Intel i915 chipset (intel_drv.so).

It's been happening ever since I installed 12.1 (Nov 2011?).  Why is this stil marked at "UNCONFIRMED"?
Comment 12 Michał D. (Emdek) 2012-01-22 09:28:28 UTC
Yeah, duplicate was already marked as NEW (see in Bug Activity):
https://bugs.kde.org/show_bug.cgi?id=288388

Also there is solution "permanent" (working until triggering some actions...) that worked for me.
Comment 13 andrew 2012-01-22 10:25:36 UTC
Just to confirm another observation made on that thread - the new/incorrect position of the panel is aligned with another windows on the screen (i always have a kterm on the left of the screen; the panel appear to the right of that).
Comment 14 andrew 2012-01-22 10:27:10 UTC
Crap; sorry no - it's no aligned, but offset.  Please ignore above (can't see how to delete).
Comment 15 Michał D. (Emdek) 2012-01-27 10:09:21 UTC
Still happens in 4.8.0.
Comment 16 Thijs 2012-02-06 08:34:33 UTC
RE: #11: The bug is unconfirmed, because nobody cared to set it to NEW. The developers know about this bug, but reproducing reliably it is somewhat hard.
Comment 17 Thijs 2012-02-06 08:35:57 UTC
*** Bug 293371 has been marked as a duplicate of this bug. ***
Comment 18 Paul Gideon Dann 2012-02-06 10:59:41 UTC
Would some plasma rc files help, or maybe even a VM?
Comment 19 Michał D. (Emdek) 2012-02-06 11:03:33 UTC
Aaron Seigo said that debug output of running plasma-desktop from terminal would help, but only if it is compiled in way that it show panel debug output.
Comment 20 fri.K 2012-02-25 09:48:41 UTC
I "solved" it yesterday by removing KDE4 config and making new one. It's not user friendly solution but it solves problem for me.
FEDORA:
mv .kde kde_bak; mv .kde4 .kde4_bak; mv .kdeduchain .kdeduchain_bak
UBUNTU:
mv .kde kde_bak; mv .kderc .kderc_bak
and olso I removed /tmp/$USER/kde* /var/tmp/kde*

So in my opinion there was bug in updating(or creating) config in KDE ~4.5/6 and this bug persists to 4.8. Same situation was on Ubuntu(KDE4.{6,7,8}*) and Fedora(KDE4.{5,6,7}*}.
Comment 21 Michał D. (Emdek) 2012-02-25 09:59:46 UTC
(In reply to comment #20)
> I "solved" it yesterday by removing KDE4 config and making new one. It's not
> user friendly solution but it solves problem for me.

This is only temporary solution.
https://bugs.kde.org/show_bug.cgi?id=288388#c3
Comment 22 Michał D. (Emdek) 2012-02-27 05:57:46 UTC
Another temporary solution is to add and remove another panel after fixing position of top one (I've not tried all variants yet, as I've found this solution accidentally).
Comment 23 Dennis Schridde 2012-04-10 10:56:45 UTC
The issue still happens with KDE 4.8.2 and is perfectly reproducible in an existing account: Whenever I login, the panel at the top is positioned below the "Desktop" bean at the top. I have to unlock the panel, and move it back up. It will then be displayed (in a 3D z-axis sense) *above* the "Desktop" bean, overlapping it - i.e. I cannot see the bean anymore.

When creating a new account, it is not immediately reproducible: When I move the bottom panel (std config?) to the top of the screen, so that it would be above the "Desktop" bean and overlap it, the bean instead moves below the panel and to the right of the screen.

However, when I move the panel to the bottom and the "Desktop" bean back to the top and lock the widgets (using the bean icon on the panel), logout, login again, then unlock and move the panel to the top, it will be displayed above the "Desktop" bean, overlapping it. When I then logout and login again, the panel will stay at this position, always overlapping the "Desktop" bean.

Assumption: There is something wrong with automatically moving locked plasmoids around - sometimes it works, and other times it does not.
Comment 24 fri.K 2012-04-10 18:51:48 UTC
@Dennis Schridde Maybe try solution described in Comment22. It's working, but after logout/login you must re-enable top's panel autohiding (another bug? :) )
Comment 25 Dennis Schridde 2012-04-14 17:42:00 UTC
Another bit of information: Moving the "Desktop" bean to the side, so that the top panel does not overlap it anymore, does *not* fix the issue.
Comment 26 Dennis Schridde 2012-04-15 09:18:25 UTC
(In reply to comment #22)
> Another temporary solution is to add and remove another panel after fixing
> position of top one (I've not tried all variants yet, as I've found this
> solution accidentally).
Muahaha, I confirm this workaround. Adding another panel and removing it made the top panel stick to its position - finally.

But I also confirm the other effect it has:
(In reply to comment #24)
> @Dennis Schridde Maybe try solution described in Comment22. It's working,
> but after logout/login you must re-enable top's panel autohiding (another
> bug? :) )
Now my bottom panel moved from centered to right aligned and lost autohide. TBH, this is not funny at all anymore - this is just sad.
Comment 27 Kai Dombrowe 2012-04-18 22:47:15 UTC
Seems to be the same bug as 283974, see comment 6
Comment 28 Kai Dombrowe 2012-04-18 22:49:14 UTC
sorry i mean this comment: https://bugs.kde.org/show_bug.cgi?id=283974#c6
Comment 29 ancow 2012-05-22 11:34:57 UTC
Created attachment 71288 [details]
original plasma-desktoprc triggering the problem
Comment 30 ancow 2012-05-22 11:37:18 UTC
Created attachment 71289 [details]
new plasma-desktoprc not triggering the problem

After a little experimentation, editing ~/.kde/share/config/plasma-desktoprc seems to have fixed this issue. I haven't done many restarts yet, so I can't be sure how long this will last, but my top panel seems to stick to its position now.

For the record, this bug first appeared here after an update to KDE 4.6.2, +- one minor version.
Comment 31 Christoph Lange 2012-05-22 16:45:01 UTC
(In reply to comment #13)
> Just to confirm another observation made on that thread - the new/incorrect
> position of the panel is aligned with another windows on the screen (i
> always have a kterm on the left of the screen; the panel appear to the right
> of that).
Let me explain this a bit more explicitly: The same is the case for me, and my panel always appears exactly below the lowest border of any window that the session manager opens before the panel is loaded.
Comment 32 Thijs 2012-05-30 16:39:59 UTC
*** Bug 295624 has been marked as a duplicate of this bug. ***
Comment 33 jamese 2012-07-05 23:41:13 UTC
Something like this issue happens for me and appeared in at least 4.8.3 and is definitely in 4.8.4

System : Kubuntu 12.04, packages from ubuntu repo, with KDE 4.8.4
Displays : one HDMI panel plugged into a laptop. Multi screens running via krandr. Nouveau driver. Geforce 8400M

The issue happens when the second display is not plugged in as well.

It's easy for me to reproduce:

1. Create a panel, configure it as below
2. Attach it to the top of the screen ( i'm tall ;) ) using 'screen edge', left aligned.
3. Make it 'always visible' in 'more settings' cashew.
4. Shut down KDE, restart
5. Upon login the panel appears  exactly vertically aligned in the middle of the primary display with 100% width.
6. Hitting the panel settings and then *only clicking* screen edge causes the panel to animate up to the top of the screen. Note I didn't drag the panel to the top of the screen, it's as if plasma knows where I want it to be.

This happens 100% of the time on Reboots and 0% of the time in Suspends. The original bug reports suggest 4.6+ but I've only ever seen this behaviour since 4.8.3. We're using different package sources.. may be the issue.


It's more an annoyance regression than anything else. If there are any configs required then please ask which ones required and will gladly attach.

Thanks!
Comment 34 fri.K 2012-07-06 03:49:44 UTC
(In reply to comment #33)
> Something like this issue happens for me and appeared (...) definitely in 4.8.4
> 
> System : Kubuntu 12.04, packages from ubuntu repo, with KDE 4.8.4
Same here. And solution posted in Comment22 doesn't work any more. To bypass it I created new very slim left panel with hiding disabled.
Strange is that this happens on Ubuntu with KDE 4.8.4 but not on Fedora with KDE 4.8.4, and not on Ubuntu with KDE 4.8.3
Comment 35 Lastique 2012-07-10 17:42:35 UTC
I too have the problem on Kubuntu 12.04, KDE  4.8.4, AMD Catalyst 12.6 on my laptop. My workaround is to make the panel _not_ maximized horisontally (i.e. a little narrower than the screen width).
Comment 36 illumilore 2012-08-04 08:26:18 UTC
This is still happening to me in 4.9
Comment 37 Rolf Eike Beer 2012-08-14 18:15:49 UTC
Git commit 59b1e4e4387a9194125bfac35a23ad885c9c24e6 by Rolf Eike Beer.
Committed on 16/07/2012 at 18:27.
Pushed by dakon into branch 'KDE/4.9'.

fix wrong panel positioning, especially when more than one monitor is present

This workaround was found by Kai Dombrowe. This is likely just papering over a
deeper issue, but for the time being this just makes the panel work.
Related: bug 283974, bug 272663
REVIEW:105596
FIXED-IN:4.9.1

M  +2    -0    plasma/desktop/shell/panelview.cpp

http://commits.kde.org/kde-workspace/59b1e4e4387a9194125bfac35a23ad885c9c24e6
Comment 38 Gregor Tätzner 2012-08-21 18:33:57 UTC
*** Bug 296182 has been marked as a duplicate of this bug. ***
Comment 39 Dennis Schridde 2012-09-05 21:07:22 UTC
Appears to be fixed in KDE 4.9.1.
Comment 40 illumilore 2012-09-17 01:59:06 UTC
This no longer happens to me in 4.9.1
Comment 41 Myriam Schweingruber 2012-09-17 23:46:55 UTC
http://commits.kde.org/kde-workspace/59b1e4e4387a9194125bfac35a23ad885c9c24e6 fixes this.
Comment 42 JoseLuisT 2013-03-02 20:29:02 UTC
Do I need to upgrade the whole KDE just for the wonderful panel dropping down?.
Comment 43 nkent 2013-12-15 16:42:42 UTC
NOT FIXED!
OS: Linux 3.11.6-4-desktop 
System: openSUSE 13.1 (Bottle) (x86_64) 
KDE: 4.11.3