← Back to team overview

gtg team mailing list archive

Re: [Bug 354831] Re: remember the window sizes

 

On Wed, Nov 4, 2009 at 5:32 PM, Dennis Craven <dcraven@xxxxxxxxx> wrote:

> On Tue, Nov 3, 2009 at 3:28 AM, Lionel Dricot <ploum@xxxxxxxxx> wrote:
>
> > >From a spatial pov, remembering size and position makes sense and I want
> > to try that solution. It's already implemented in the code but, for some
> > reason, the setting of the position doesn't work. (but this position is
> > well saved ). If someone is interested, just have a look at line 572 of
> > taskbrowser/browser.py
> >
> >
> That code does work. The problem is that it only gets run when gtg is
> initially started. To see it work, uncomment that line, start gtg, open a
> few task editor windows and move them around the screen. When you're ready,
> close gtg while still having task editor windows open. Next time you start
> gtg those windows will open in the correct position.
>
> The problem is that, with a spatial implementation of window position, you
> should be able to open a task editor window, move it, close it, then have
> it
> reopen in that position all within the same run of the application (does
> that make sense?).
>
> To solve this, each separate task would need it's own size attributes in
> the
> database (whatever db that may be). Then it could move itself when it is
> opened.
>
> Is this what you want to happen? Or is Jean-Francois's idea what you guys
> were thinking?
>

Yes, in my view, this is the behaviour we should adopt: each task has its
own spatial information. So that you can build some kind of spatial
organization of your task while you read or edit them. I guess we should
store size and position somewhere. Probably in the configuration directory
since this is machine-related.


> --
> remember the window sizes
> https://bugs.launchpad.net/bugs/354831
> You received this bug notification because you are a member of Gtg
> developers, which is subscribed to Getting Things GNOME!.
>
> Status in Getting Things GNOME!: Confirmed
>
> Bug description:
> The taskeditor window does not remember its size.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~gtg <https://launchpad.net/%7Egtg>
> Post to     : gtg@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~gtg <https://launchpad.net/%7Egtg>
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Bertrand Rousseau
Rue Victor Horta, 31/202 1348 Louvain-la-Neuve, Belgium
e-mail : bertrand.rousseau@xxxxxxxxx
tel : +32 485 96 69 86

Follow ups

References