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

List:       koffice
Subject:    Re: parts focus misbehavior
From:       Vojtech Bubnik <bubnikv () suse ! cz>
Date:       2000-08-25 8:12:55
[Download RAW message or body]

On Fri, Aug 25, 2000 at 09:30:28AM +0200, Werner Trobin wrote:
> Vojtech Bubnik wrote:
> > 
> > On Thu, Aug 24, 2000 at 06:56:03PM +0200, Werner Trobin wrote:
> > > BTW: I'm currently testing your KSpread patch (which
> > > seems to be correct), but I experience a strange
> > > problem (I can't imagine that it's related to your
> > > patches, though). Please try to embed a KPresenter
> > > document, activate it and without clicking into the
> > > KPresenter canvas access some menu items (just open
> > > the one menu and move the mouse that different menus
> > > pop up).
> > > Form time to time this triggers a change of the active
> > > part and the menus are changed back. The widget seems
> > > to stay active, though.
> > >
> > > I'm currently looking into this, please tell me if you
> > > can reproduce it.
> > 
> > Hi Werner,
> > 
> > I could reporoduce it very well.
> > 
> > I would suspect  bool PartManager::eventFilter( QObject *obj, QEvent *ev )
> > for this. Here is handling of focus events mixed misteriously with
> > handling of mouse button events. It seems that the problem is somewhere here,
> > when d->m_policy=TriState.
> 
> Hmm... the thing that puzzles me is that it happens
> only with KPresenter. However, I already committed a
> small workaround which works for me. (I simply added
> a setFocus() call in kpresenter/page.cc).
> Please test it and tell me if this works for you too.
> If it doesn't we surely have to check that eventFilter,
> yes.
> 

It seems to work well. I will check if there is more systematic solution.

-- 

Regards, 

Vojtech Bubnik
developer
---------------------------------------------------------------------
SuSE CR, s.r.o.                               e-mail: bubnikv@suse.cz
Pod Pekarnami 338/12                          tel:+420 2 6603 2619
190 00 Praha 9 - Vysocany                     fax:+420 2 6603 2620
Czech Republic                                http://www.suse.cz

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

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