[Qt-interest] No Window Maximize event in QT

Andreas Pakulat apaku at gmx.de
Tue Feb 2 21:30:08 CET 2010


On 02.02.10 09:25:42, Suresh Kannan A wrote:
> I am using KVWM2 window manager and my GUI program 
> is written using QT. When I maximize my window, the 
> windowState() is not set with QT::WindowMaximized. 
> It is always set with QT::WindowNoState. Is there 
> any specific reason for this failure? and How to resolve it?.

Did you try another Window manager? As far as I know (and can see from a
quick glance at the sources) the proper working of windowState depends
on the windowmanagers ability to set the related X11 properties (or
something like that). As far as I can see Qt expects the windowmanager
to implement the NetWM specification. So chances are that yours doesn't
do this, or doesn't do it properly.

Andreas

-- 
You will be divorced within a year.



More information about the Qt-interest-old mailing list