[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-11-17 Thread Diego Lima
Hi! Of course, I'll work on that on the weekend. I'll attach it to this bug report once its done and you can then place it on screenlets.org. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868311 Title

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-11-16 Thread tabbernuk
Diego, is there any chance that you write a short tutorial about how to use this feature? I think a short list of steps needed would be enough. We could link it from screenlets.org or even just this bug report. -- You received this bug notification because you are a member of Ubuntu Bugs, which i

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-11-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: screenlets (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868311 Title:

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-15 Thread tabbernuk
** Changed in: screenlets Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868311 Title: Screenlets doesn't remember the correct workspace on restart To ma

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-15 Thread Diego Lima
** Changed in: screenlets Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868311 Title: Screenlets doesn't remember the correct workspace on restart To man

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-11 Thread Diego Lima
** Changed in: screenlets Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868311 Title: Screenlets doesn't remember the correct workspace on restart To manage no

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-09 Thread Diego Lima
Last patch was setting the window role too late and thus the window manager wouldn't correctly place the window. Fixed this by setting the window role as soon as it is created (and less changes are necessary as well). ** Patch removed: "__init__.py.patch" https://bugs.launchpad.net/screenlets/

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-09 Thread Ubuntu QA's Bug Bot
The attachment "__init__.py.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' f

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-09 Thread Diego Lima
I've also commited the changes to baazar (revs 724 and 725). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868311 Title: Screenlets doesn't remember the correct workspace on restart To manage notif

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-09 Thread Diego Lima
Attaching the patch for session.py ** Patch added: "session.py.patch" https://bugs.launchpad.net/screenlets/+bug/868311/+attachment/2531146/+files/session.py.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launc

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-09 Thread Diego Lima
Ok, I managed to come up with a much simpler solution. Instead of making copies, I'm just setting the window role, which was previously unused and can be used to uniquely identify windows. I'm currently using the configuration's file name to name the window role, so for each different configuratio

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-08 Thread tabbernuk
Maybe you can make a generic DummyScreenletNN.py (or whatever name you need) calling to WhateverScreenlet.py, because it's good NOT to have many of the same actual screenlets in system. I think, it would cause trouble when updating a screenlet version and/or render modifying the screenlet code very

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-08 Thread Diego Lima
Hi! I wasn't familiar with Baazar itself although I'm familiar with other versioning systems so it should be ok. I've already checked out the sources and I'll submit once I have something working. As for the symlink, I'll probably link everything but the screenlet's .py script itself since I'll ne

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-06 Thread tabbernuk
It seems acceptable, it's not more hackish than screenlets itself, but I suggest that instead of just a copy, you should create a symbolic link. Are you familiar with Bazaar version control? I made you member of Screenlets Developers team, and you can submit code directly. Just try to write clean

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-06 Thread Diego Lima
** Also affects: screenlets Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868311 Title: Screenlets doesn't remember the correct workspace on restart To m

[Bug 868311] Re: Screenlets doesn't remember the correct workspace on restart

2011-10-06 Thread Diego Lima
I've decided to take a look around Screenlet's code and while I'm not a python expert I figured out the way it loads its Screenlets and I've (manually) done this as a workaround: Instead of loading the Screenlet directly, creat a numbered copy on ~/.screenlets and instead load it. That way we can h