This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE Panel Changes Location

Tags: None
(comma "," separated)
grenadeguy187
Registered Member
Posts
1
Karma
0

KDE Panel Changes Location

Sun Dec 11, 2011 8:12 pm
Every time I login/reboot, the panel on the left ends up somewhere in the middle of the screen (the exact position changes slightly each time). I have no clue what to do. Help?

Image
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE Panel Changes Location

Tue Dec 13, 2011 8:47 am
Do you have more than one monitor connected to your system? Alternately, does the resolution of your screen change during login?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS

Re: KDE Panel Changes Location

Tue Dec 13, 2011 9:10 am
Also, what version of KDE are you using? I remember issues like this a few releases ago, but I haven't seen anything like it in a while.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
Götz
Registered Member
Posts
22
Karma
0
OS

Re: KDE Panel Changes Location

Mon Jan 02, 2012 5:25 am
I have exactly the same problem, but with the vertical panel in the center. I have only one screen/monitor, and the resolution doesn't change.

If I move it back to the left side of the screen, in the next login, or plasma-desktop start, it is again in the center.
If I remove these files:

~/.kde/share/config/plasma-appletsrc
~/.kde/share/config/plasma-desktop-appletsrc
~/.kde/share/config/plasma-desktoprc
~/.kde/share/config/plasmarc

start plasma-desktop, arrange all the widgets again, and logout or do "kquitapp plasma-desktop", at the next start the panel is again in the center of the screen.

I had this problem in KDE 4.5 or 4.6, now I installed KDE 4.7.95 and the problem is back. What can I do?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KDE Panel Changes Location

Mon Jan 02, 2012 10:30 am
Can you pastebin your plasma-desktop-appletsrc before the issue and after the issue?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
Götz
Registered Member
Posts
22
Karma
0
OS

Re: KDE Panel Changes Location

Thu Jan 05, 2012 4:28 pm
Hi, sorry for the delay.

plasma-desktop-appletsrc before (autogenerated file):
Code: Select all
[ActionPlugins]
MidButton;NoModifier=paste
RightButton;NoModifier=contextmenu
wheel:Vertical;NoModifier=switchdesktop

[Containments][1]
ActionPluginsSource=Global
activity=Desktop
activityId=30aefec4-6bce-4d5a-ba25-3555385ee1bb
desktop=-1
formfactor=0
geometry=0,0,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=0
wallpaperplugin=image
wallpaperpluginmode=SingleImage
zvalue=0

[Containments][1][Applets][2]
geometry=20,20,600,400
immutability=1
plugin=folderview
zvalue=0

[Containments][1][Applets][2][Configuration]
geometry=20,20,600,400
immutability=1
plugin=folderview
sortDirsFirst=true
url=desktop:/
zvalue=0

[Containments][1][Wallpaper][image]
slideTimer=10
slidepaths=/usr/share/wallpapers/
userswallpapers=
wallpaper=/usr/share/wallpapers/Ariya
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][3]
activity=
activityId=
desktop=-1
formfactor=2
geometry=0,-41,1280,35
immutability=1
lastDesktop=-1
lastScreen=0
location=4
plugin=panel
screen=0
zvalue=0

[Containments][3][ActionPlugins]
RightButton;NoModifier=contextmenu

[Containments][3][Applets][4]
geometry=0,3,32,32
immutability=1
plugin=launcher
zvalue=0

[Containments][3][Applets][4][LayoutInformation]
Order=0

[Containments][3][Applets][4][Shortcuts]
global=Alt+F1

[Containments][3][Applets][5]
geometry=36,3,60,32
immutability=1
plugin=pager
zvalue=0

[Containments][3][Applets][5][LayoutInformation]
Order=1

[Containments][3][Applets][6]
geometry=100,3,911,32
immutability=1
plugin=tasks
zvalue=0

[Containments][3][Applets][6][LayoutInformation]
Order=2

[Containments][3][Applets][7]
geometry=1015,3,32,32
immutability=1
plugin=showdesktop
zvalue=0

[Containments][3][Applets][7][LayoutInformation]
Order=3

[Containments][3][Applets][8]
geometry=1051,3,137,32
immutability=1
plugin=systemtray
zvalue=0

[Containments][3][Applets][8][Configuration]
DefaultAppletsAdded=true

[Containments][3][Applets][8][Configuration][Applets][1]
geometry=6,36,24,24
immutability=1
plugin=message-indicator
zvalue=0

[Containments][3][Applets][8][Configuration][Applets][1][PopupApplet]
DialogHeight=199
DialogWidth=372

[Containments][3][Applets][8][Configuration][Applets][10]
geometry=6,66,24,24
immutability=1
plugin=notifications
zvalue=0

[Containments][3][Applets][8][Configuration][Applets][10][Configuration][ExtenderItems][1]
extenderIconName=dialog-information
extenderItemName=jobGroup
extenderTitle=Jobs
isCollapsed=true
isGroup=true
sourceAppletId=10
sourceAppletPluginName=notifications

[Containments][3][Applets][8][Configuration][Applets][2]
geometry=79,0,24,24
immutability=1
plugin=org.kde.networkmanagement
zvalue=0

[Containments][3][Applets][8][Configuration][Applets][2][PopupApplet]
DialogHeight=350
DialogWidth=724

[Containments][3][Applets][8][Configuration][Applets][3]
geometry=6,6,24,24
immutability=1
plugin=notifier
zvalue=0

[Containments][3][Applets][8][Configuration][Applets][3][PopupApplet]
DialogHeight=362
DialogWidth=312

[Containments][3][Applets][8][Configuration][Shortcuts]
Systemtray-Klipper-8=Ctrl+Alt+V

[Containments][3][Applets][8][LayoutInformation]
Order=4

[Containments][3][Applets][8][PopupApplet]
DialogHeight=118
DialogWidth=181

[Containments][3][Applets][9]
geometry=1192,3,64,32
immutability=1
plugin=digital-clock
zvalue=0

[Containments][3][Applets][9][LayoutInformation]
Order=5

[Containments][3][Applets][9][PopupApplet]
DialogHeight=242
DialogWidth=252

[Containments][3][Configuration]
maximumSize=1280,35
minimumSize=1280,35


plasma-desktop-appletsrc after, the only change is that the panel is vertically at the left side:

Code: Select all
[ActionPlugins]
MidButton;NoModifier=paste
RightButton;NoModifier=contextmenu
wheel:Vertical;NoModifier=switchdesktop

[Containments][1]
ActionPluginsSource=Global
activity=Desktop
activityId=30aefec4-6bce-4d5a-ba25-3555385ee1bb
desktop=-1
formfactor=0
geometry=0,0,1280,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=0
plugin=desktop
screen=0
wallpaperplugin=image
wallpaperpluginmode=SingleImage
zvalue=0

[Containments][1][Applets][2]
geometry=52,20,600,400
immutability=1
plugin=folderview
zvalue=0

[Containments][1][Applets][2][Configuration]
geometry=52,20,600,400
immutability=1
plugin=folderview
sortDirsFirst=true
url=desktop:/
zvalue=0

[Containments][1][Wallpaper][image]
slideTimer=10
slidepaths=/usr/share/wallpapers/
userswallpapers=
wallpaper=/usr/share/wallpapers/Ariya
wallpapercolor=0,0,0
wallpaperposition=0

[Containments][3]
activity=
activityId=
desktop=-1
formfactor=3
geometry=10058,-1030,52,1024
immutability=1
lastDesktop=-1
lastScreen=0
location=5
plugin=panel
screen=0
zvalue=0

[Containments][3][ActionPlugins]
RightButton;NoModifier=contextmenu

[Containments][3][Applets][4]
geometry=0,0,48,48
immutability=1
plugin=launcher
zvalue=0

[Containments][3][Applets][4][LayoutInformation]
Order=0

[Containments][3][Applets][4][Shortcuts]
global=Alt+F1

[Containments][3][Applets][5]
geometry=0,52,48,84
immutability=1
plugin=pager
zvalue=0

[Containments][3][Applets][5][LayoutInformation]
Order=1

[Containments][3][Applets][6]
geometry=0,140,48,629
immutability=1
plugin=tasks
zvalue=0

[Containments][3][Applets][6][LayoutInformation]
Order=2

[Containments][3][Applets][7]
geometry=0,773,48,48
immutability=1
plugin=showdesktop
zvalue=0

[Containments][3][Applets][7][LayoutInformation]
Order=3

[Containments][3][Applets][8]
geometry=0,825,48,137
immutability=1
plugin=systemtray
zvalue=0

[Containments][3][Applets][8][Configuration]
DefaultAppletsAdded=true

[Containments][3][Applets][8][Configuration][Applets][1]
geometry=6,36,24,24
immutability=1
plugin=message-indicator
zvalue=0

[Containments][3][Applets][8][Configuration][Applets][1][PopupApplet]
DialogHeight=199
DialogWidth=372

[Containments][3][Applets][8][Configuration][Applets][10]
geometry=6,66,24,24
immutability=1
plugin=notifications
zvalue=0

[Containments][3][Applets][8][Configuration][Applets][10][Configuration][ExtenderItems][1]
extenderIconName=dialog-information
extenderItemName=jobGroup
extenderItemPosition=0
extenderTitle=Jobs
isCollapsed=true
isGroup=true
sourceAppletId=10
sourceAppletPluginName=notifications

[Containments][3][Applets][8][Configuration][Applets][10][PopupApplet]
DialogHeight=99
DialogWidth=203

[Containments][3][Applets][8][Configuration][Applets][2]
geometry=8,79,24,24
immutability=1
plugin=org.kde.networkmanagement
zvalue=0

[Containments][3][Applets][8][Configuration][Applets][2][PopupApplet]
DialogHeight=350
DialogWidth=724

[Containments][3][Applets][8][Configuration][Applets][3]
geometry=6,6,24,24
immutability=1
plugin=notifier
zvalue=0

[Containments][3][Applets][8][Configuration][Applets][3][PopupApplet]
DialogHeight=362
DialogWidth=312

[Containments][3][Applets][8][Configuration][Shortcuts]
Systemtray-Klipper-8=Ctrl+Alt+V

[Containments][3][Applets][8][LayoutInformation]
Order=4

[Containments][3][Applets][8][PopupApplet]
DialogHeight=118
DialogWidth=181

[Containments][3][Applets][9]
geometry=0,966,48,34
immutability=1
plugin=digital-clock
zvalue=0

[Containments][3][Applets][9][LayoutInformation]
Order=5

[Containments][3][Applets][9][PopupApplet]
DialogHeight=242
DialogWidth=252

[Containments][3][Configuration]
maximumSize=52,1024
minimumSize=52,1024


With the first config file, the panel is not in the middle, it is horizontally at the button, as expected. But with the second config file, when plasma-desktop starts, the panel is (vertically) at the middle of the screen.
It is odd for me, because I can not put manually the panel at the middle of the screen, only next to a side of the screen.


What I hear, I forget. What I say, I remember. What I do, I understand. –Tao Te Ching/Laozi
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KDE Panel Changes Location

Fri Jan 06, 2012 10:06 am
I see that indeed the geometry has changed. Can you check whether the issue appears with a different user account?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
Götz
Registered Member
Posts
22
Karma
0
OS

Re: KDE Panel Changes Location

Sun Jan 08, 2012 6:06 pm
I've tested with a new user, and didn't found any problem with the same widgets added.

So I removed all the config files & folders with the "plasma" name on them, and the problem is gone. ;D
But before that, I put the panel at the right side of the screen, stoped/started plasma-desktop and the panel didn't change position. :confused: I realized that an old plasma theme was removed with the cleanup. Could that old theme have been the cause of the problem?

Thanks for your help, einar.


What I hear, I forget. What I say, I remember. What I do, I understand. –Tao Te Ching/Laozi
nowardev
Registered Member
Posts
244
Karma
0
OS

Re: KDE Panel Changes Location

Sun Jan 08, 2012 6:31 pm
make sure you have used some 3d games\apps with lower resolutions
Götz
Registered Member
Posts
22
Karma
0
OS

Re: KDE Panel Changes Location

Sun Jan 08, 2012 9:13 pm
nowardev wrote:make sure you have used some 3d games\apps with lower resolutions


Do you mean that an app that has different resolution can make plasma change those config files?
I don't think that could be the problem, because the panel started at the middle of the screen, but only when it was at the left side, at the right it didn't change the position.


What I hear, I forget. What I say, I remember. What I do, I understand. –Tao Te Ching/Laozi
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: KDE Panel Changes Location

Mon Jan 09, 2012 5:41 am
The changing of your computers resolution shouldn't have caused this.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Götz
Registered Member
Posts
22
Karma
0
OS

Re: KDE Panel Changes Location

Thu Mar 22, 2012 7:33 pm
nowardev was right, I played "World of Goo", which started fullscreen and with some other resolution than the one that I use. After closing the game, all the open windows where resized, but the next day, when I login, the panel was again in the middle of the screen.

After deleting some files in /tmp/, /var/tmp/, plasma-desktop-appletsrc and plasma-desktoprc, the problem seems to be gone (after logout).


What I hear, I forget. What I say, I remember. What I do, I understand. –Tao Te Ching/Laozi


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]