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

left panel problem

Tags: None
(comma "," separated)
nowardev
Registered Member
Posts
244
Karma
0
OS

left panel problem

Mon Apr 18, 2011 12:46 pm
Hi i am trying to modify the javascript to create some template for kde panel right now

i can create panel on bottom , ok xD , top left and rigth
but for

left and right i have some problems on javascripting

var panel = new Panel
panel.length = 27
//panel.height = 800 THIS DOESN'T WORK it has maxime size i guess 400 i guess or something like that
//panel.extent
panel.location = 'left'
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: left panel problem

Tue Apr 19, 2011 9:17 am
I suspect the length and height should still be treated as if they were on the top or bottom.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
nowardev
Registered Member
Posts
244
Karma
0
OS

Re: left panel problem

Wed Apr 20, 2011 7:05 am
mm
ALT F2 , desktop console

then try to get the new panel on the left , i can't , no way

this is what i get
http://wstaw.org/m/2011/04/20/plasma-desktopRj1656.jpg
using

var panel = new Panel
panel.length = 27
panel.height = 800 //THIS DOESN'T WORK it has maxime size i guess 400 i guess or something like that
//panel.extent
panel.location = 'left'

i have 1280 x 800 but i can't get 800 for the panel :( with the script but manually i can... :S
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: left panel problem

Wed Apr 20, 2011 7:15 am
Perhaps a misunderstanding?

I think bcooksley meant:

panel.length = 800
panel.height = 27

Or have you tried that already?


Debian testing
nowardev
Registered Member
Posts
244
Karma
0
OS

Re: left panel problem

Wed Apr 20, 2011 10:12 am
well no :)


type this :

Code: Select all
desktop console
on krunner
and copy and paste this



var panel = new Panel
panel.length = 800
panel.height = 27
panel.location = 'left'


then try to execute

and you will not get the left panel :(
even with


var panel = new Panel
panel.length = 27
panel.height = 800
panel.location = 'left'

you can't get the whole height even if you treat panels like top or bottom
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: left panel problem

Thu Apr 21, 2011 7:41 am
The following code worked for me, although I noticed on subsequent runs that changing the size of the panel had no effect, so I couldn't test your original code.
Code: Select all
var panel = new Panel
panel.length = 15
panel.height = 200
panel.location = 'left'


Running on KDE Trunk.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
nowardev
Registered Member
Posts
244
Karma
0
OS

Re: left panel problem

Thu Apr 21, 2011 12:49 pm
bcooksley wrote:The following code worked for me, although I noticed on subsequent runs that changing the size of the panel had no effect, so I couldn't test your original code.
Code: Select all
var panel = new Panel
panel.length = 15
panel.height = 200
panel.location = 'left'


Running on KDE Trunk.


ok but you would have tried 800 instead of 200 :) because for 200 i guess it works
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: left panel problem

Fri Apr 22, 2011 3:32 am
I suspect a limiation in the code to prevent too high panels on the top or bottom of the screen is causing these issues. I'm going to try and contact the developers in question to see if this can be debugged, as I can definitely reproduce.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
nowardev
Registered Member
Posts
244
Karma
0
OS

Re: left panel problem

Fri Apr 22, 2011 6:39 am
Yes, i guess before there was problems with panels so there were put limitations , i have spoken with aseigo and i guess i have understood that,but he has no time for these stuff >D , and so i even tried to rotate the panel but without success xD , i don-t know js so well , ... better... i don-t know it at all xD
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: left panel problem

Sat Apr 23, 2011 12:22 am
Have you filed a bug report with Plasma so that this does not get forgotten? Without a bug report, it is less probable this will get fixed in the future.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
nowardev
Registered Member
Posts
244
Karma
0
OS

Re: left panel problem

Sat Apr 23, 2011 7:59 am
no i didn't because , i didn't think it was a bug, could you do the report? i believe you could report better than me .


Bookmarks



Who is online

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