No minimize with QDialog MainWindow

Lubos Lunak l.lunak at suse.cz
Mon Mar 10 12:41:27 GMT 2003


On Friday 07 of March 2003 23:30, Ravikiran Rajagopal wrote:
> Hello,
>
> > if you use a QDialog derived class as mainwindow of an application,
> > the minimize button in the titlebar doesn't work (checkout ksnapshot
> > and kappfinder).
> > Is this a feature or a bug?

 That's a bug (I already added it to bugs.kde.org).

>
> It works for me (TM) with both apps.
>
> I have been trying to fix bug 55477:
>    http://bugs.kde.org/show_bug.cgi?id=55477
> The NetWM standard does not seem to allow Maximize/Minimize for
> Net::ToolBar. I seem to have to add it manually. Does anyone know of a
> better way?

 They cannot be minimized/maximized, because toolbars cannot be 
minimized/maximized. The window is no toolbar. I think the window type should 
be simply NET::Normal. Why should it have any special window type?

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/





More information about the kde-core-devel mailing list