PDA

View Full Version : Dev Talk/Help the Developers


Note360
July 30th, 2006, 08:38 PM
We are having a serious problem with the menu the gnome panel seems to want to swallow the panel whole and we cant figure out how to stop this. HELP!!!

(The problem whent like this)
Tis' just a rabbit
*chanders walks up to it*
AHHH
*rest come in
AHH
*every one runs and hides behind a rock

_profox
July 30th, 2006, 08:45 PM
And here's an explanation that humans can understand ;)

When you open the menu (clicking on the System button) the menu is BEHIND the gnome-panel, but we want to have it completely in FRONT of it.

But we haven't figured out a way to do this yet. If we make it a Dock instead of a Menu, it will show up in front, but then we can't set the focus anywhere.

So any help is greatly appreciated :) this is something that has high priority.

Note360
July 30th, 2006, 08:54 PM
Lol sorry for my deaply cryptic message to the public

_profox
July 30th, 2006, 10:05 PM
I'm facing another problem :)

Chanders, is it possible to change something about the applet button, from inside the MainWindow instance?

If I understand the code correctly, mainwin (class MainWindow) is a child of MenuWin?

Can I access variables from MenuWin inside the code of MainWindow (which is declared as mainwin in the MenuWin code block, I think?)

I should go buy myself a book of Python very soon ;) It's interesting stuff. I'm just chewing on old programming experience right now. Python is different in alot of ways. So, sorry for the dull questions ;) and Thanks

edit: I found the problem :)

Note360
July 30th, 2006, 10:14 PM
Try looking through the free Dive into Python book.

Note360
July 31st, 2006, 11:37 AM
I have a temporary solution make the distance from the panel adjustable so that for me I can have it closer (mine is completly disjointed) and others can have it father so the gnome menu doesnt over shadow it.

bulldog
July 31st, 2006, 02:25 PM
Well this problem isn't affected to everyone I presume.
I haven't the slicest problem with the menu hiding.
The menu is located at the top-left of my panel which has 24 pixels.
Even when i set the gnome panel to 45 pixels there isn't a problem here.
It comes neatly under my panel and no hiding behind.
I have Xgl/Compiz and maybe this make a difference between the users.

But i must say,it is a very nice application and you are all doing a great job creating it so fast.
Well done,and keep it up.

Note360
July 31st, 2006, 02:42 PM
Hmm odd it happened to me when I pumped up my gnome-panel on Xubuntu the top border was cut off.

bulldog
July 31st, 2006, 03:16 PM
That's why I made my panel twice as big to see what happened.
But the menu was adapting and showed nicely under the panel and not behind.
I'm using Ubuntu and the problem doesn't exist.
Maybe take a look at howmany users have this problem and see what taste of Ubuntu they use.
The problem may not be so big as it seems.

Note360
July 31st, 2006, 03:22 PM
This is the problem

this is floating:
http://www.flickr.com/photos/31943009@N00/203107219/

this is eating:
http://www.flickr.com/photos/31943009@N00/203107216/

bulldog
July 31st, 2006, 03:30 PM
I understand the problems and I made my panel as big as 80 pixels.
Then opened the menu and it was behind my panel.
Then closed and reopened the menu and it was nice under my 80 pixel panel.
It's adepting at the size of my panel I presume.
Made my panel 24 again and it was at the right place the first time.
So maybe I'm lucky,but the menu placement is no problem here.

_profox
July 31st, 2006, 03:31 PM
Hey, can someone give me enough rights to assign bugs and to open/close bugs and change their priority? in launchpad

_simon_
July 31st, 2006, 04:13 PM
This won't really help but I've not had the problem you're talking about.

My menu is bottom left and opens just above the panel each and every time I open it.

Pic:

http://i17.photobucket.com/albums/b96/snewberry1980/Screenshots/th_latestusp.png (http://i17.photobucket.com/albums/b96/snewberry1980/Screenshots/latestusp.png)

_profox
July 31st, 2006, 06:16 PM
chanders.

Please read this bugreport through:
https://launchpad.net/products/usp/+bug/54695

I think we have to remove all "'"s in the arguments. Could this be correct? I think it is the way the terminal and the gnome menu work too. Can you let me know for sure? (the terminal seems to ignore ' but I'm not sure about the gnome menu)

edit: I solved the bug. I'll send the patch to you. I included comment code in the patch.

Note360
July 31st, 2006, 08:36 PM
profoX try editing the bugs. can we make a team up so we all can?

_profox
July 31st, 2006, 08:41 PM
I don't know :) you're the one with all control over our launchpad
edit: you changed it :) thanks! :KS

Note360
July 31st, 2006, 08:41 PM
I made team so me u and chandler and any one else in the team can do anything.

_profox
July 31st, 2006, 08:45 PM
I made team so me u and chandler and any one else in the team can do anything.

Ok, so, how do I change status of bugs and how do I close bugs? can't seem to do that yet..

Note360
July 31st, 2006, 09:06 PM
click on

usp(upstream) and a menu should pop down

vonpmg
August 2nd, 2006, 05:50 PM
I know you are going to mount a CVS but i need something to work with the changes i am doing to the code.
So i use baazar-ng at home, the same that launchpad is using, so i have a repository in launchpad for bzr (bazaar) attached to usp.
You can look at it if you click in the Branches options in the Usp project (https://launchpad.net/products/usp/+branches)
I have had a problem making the branch so 2 branch exists.
One of them is named - Don't use this - :wink: , please, use the other if you want.
Actually it contains version 0.31 with my patches to language and some modifications i am trying to the glade file.

chanders
August 2nd, 2006, 06:08 PM
I know you are going to mount a CVS but i need something to work with the changes i am doing to the code.
So i use baazar-ng at home, the same that launchpad is using, so i have a repository in launchpad for bzr (bazaar) attached to usp.
You can look at it if you click in the Branches options in the Usp project (https://launchpad.net/products/usp/+branches)
I have had a problem making the branch so 2 branch exists.
One of them is named - Don't use this - :wink: , please, use the other if you want.
Actually it contains version 0.31 with my patches to language and some modifications i am trying to the glade file.

Seeing that you are proactive in getting the translate done, I have the Translation features working well in UCC. maybe you can look at the code and re-use some of it. It is really simple to setup..

The users send you a translation file and as long as it is named correctly it is used...

Let me know if you want more information. That way you wouldnt have to make a separate glade file for every language..

I will look at your branch in launchpad.... thank again!

vonpmg
August 2nd, 2006, 06:18 PM
Hi.
Just now i was looking you Ucc code. You read me mind !!! :wink:
But i don't write a different glade file for each language.
The glade file is yours, i don't touch it to translate anything.
I simply use the gettext functions.
You could use:

xgettext usp.glade

And it generates the messages.pot, we can merge with the translatable strings appearing in usp.
So translators only need to send us the messages.po
My modifications to the glade file is to fix some "problems" a user have with the searchbar.

I am going to bed now. Tomorrow i have to wake up early. I look tomorrow to your code.
Thanks

chanders
August 2nd, 2006, 06:25 PM
Hi.
Just now i was looking you Ucc code. You read me mind !!! :wink:
But i don't write a different glade file for each language.
The glade file is yours, i don't touch it to translate anything.
I simply use the gettext functions.
You could use:

xgettext usp.glade

And it generates the messages.pot, we can merge with the translatable strings appearing in usp.
So translators only need to send us the messages.po
My modifications to the glade file is to fix some "problems" a user have with the searchbar.

I am going to bed now. Tomorrow i have to wake up early. I look tomorrow to your code.
Thanks

See ya tomorrow :)

Note360
August 2nd, 2006, 11:44 PM
actually you know what is a good version control system. Git Linus's new project.

http://git.or.cz/

Note360
August 2nd, 2006, 11:56 PM
actually you know what is a good version control system. Git Linus's new project.

http://git.or.cz/

vonpmg
August 3rd, 2006, 02:54 AM
I know Git. I have been playing with it in several mini projects.
It is distributed like Bazaar, but since Launchpad is using Bazaar i think is a best option to use it.
Thanks for the info anyway.

Note360
August 4th, 2006, 12:54 PM
You are probably right.