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

List:       kde-devel
Subject:    Re: KPager
From:       Antonio Larrosa <antlarr () arrakis ! es>
Date:       1998-09-28 6:52:23
[Download RAW message or body]

Kalle Dalheimer wrote:
> 
> Antonio Larrosa:
> >Hello,
> >
> >After asking for permissions, I've committed kpager to the
> >kdebase module of the cvs, in the kwmmodules section,
> >feel free to test it and report bugs, sugerences, etc.
> >
> >There's a small problem with the about dialog of kpager,
> >when you open it (and if there is any portion of kpager's window
> >visible), the module receives lots of messages about window
> >changes and raises. The fast way to fix it is by replacing
> >in kapp.h the parent of about dialogs from 0L to mainWidget()
> >(although the problem may be deeper).
> >
> >Anyway, this fixes the problem, could it be possible to do
> >these changes to the kdelibs ? the only differences would be that
> >the dialog appears centered respect to the app instead of to the
> >screen and that you can put another application over the dialog).
> >The changed functions would only be KApplication::aboutKDE()
> >and KApplication::aboutApp()
> 
> I'd prefer not to do this since the about dialog is semantically tightly
> associated with teh application it describes and thus should be centered over
> the application itself.

Well, then you are agreeing with me that this changes should be made.
I think I've not explained right, let's try again:
Now when a dialog box appears it appears centered in the screen, if we
change 0L to mainWidget(), its parent becomes the application, so it
would be centered respect to the application.

> 
> Can't you simply ignore those messages while the dialog is shown?
> 

Yes, but ... How can I know when the dialog is shown if the help menu is
handled by the KApplication ?

Greetings,

-- 
Antonio Larrosa Jimenez
antlarr@arrakis.es        larrosa@kde.org
http://www.arrakis.es/~rlarrosa
Klein bottles for rent -- inquire within.

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

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