[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: get active view
From:       Thorsten Zachmann <t.zachmann () zagge ! de>
Date:       2004-09-22 12:01:18
Message-ID: 200409221401.18396.t.zachmann () zagge ! de
[Download RAW message or body]

On Tuesday 21 September 2004 17:38, zander@kde.org wrote:
> On Tue, Sep 21, 2004 at 12:42:26PM +0200, Thorsten Zachmann wrote:
> > Here is what I like to do:
> >
> > You insert a new slide into kpresenter. At the moment all views go to the
> > new slide. I would like to go to the new slide only on the view with the
> > focus. The other view should stay on the slide which is currently
> > selected.
>
> Advocate of the devil:  "Why would you want that different behavior?".
>
> I'm guessing that your answer would be that you don't want to jump from
> page 1 to page 15 if a page is inserted in another view.

You are right. That is the behaviour we have at the moment which I really 
dislike.

> But then the definition you are trying to implement is not entirely
> correct; and much to hard to do anyway.
> What I feel you should do is:
> execute:
>     insert slide after page 14
>     loop over views:
>         if viewing page 14, go to next slide
>
> unexecute:
>     loop over views
>         if viewing page 15, go to previous slide
>     remove slide 15

I really like your solution as it is quite eays. It has however the drawback 
that if you insert a page and than go to another one and undo and redo the 
command that you are not on the newly readded page. If everyone can live with 
that I go and start implement it that way.

What do you think?

Thorsten
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic