[pedevel] Re: HDialog positioning

  • From: Oliver Tappe <pedevel@xxxxxxxxxxxxxxx>
  • To: pedevel@xxxxxxxxxxxxx
  • Date: Tue, 24 May 2005 15:14:31 +0200

Hi there,

On 2005-05-23 at 17:02:40 [+0200], Axel Dörfler wrote:
> Oliver Tappe <pedevel@xxxxxxxxxxxxxxx> wrote:
> > The find dialog is currently the only one that is using the out-of- 
> > the-way 
> > placement strategy (all others use the last position) since I thought 
> > only 
> > the find dialog actually gets in the way a lot. But of course the 
> > details 
> > of which dialog requires what kind of placement aren't fixed yet. 
> > Please tell whether or not you'd prefer any changes!
> 
> Maybe we could make it depending on wether or not the user changed the 
> window position manually? If he did, we could fall back to remember- 
> last-position mode. As a simplification, we could also just do it once 
> the first time its used.

As the out-of-the-way placement doesn't seem to be very popular, I have 
just implemented it the simple way, i.e. if there is no last position 
available (upon first open) the window is moved out of the way, after that 
the last position is used.

I wonder if we shouldn't drop the out-of-the-way strategy altogether, since 
it uses rather a lot of code with only being called upon once. Any opinions 
on this?

cheers,
        Oliver

Other related posts: