Hi Dominik!

Thank you for your reply...

On Sun, 30 Jun 2002, Dominik Vogt wrote:

> On Wed, Jun 26, 2002 at 11:10:34PM -0230, Neil Zanella wrote:
> > 
> > Hello,
> > 
> > Sorry to bother you but I think I found a very strange bug which does not
> > show up under twm, mwm, sawfish, or window maker. The bug can be seen as
> > follows: compile the following code under Red Hat 7.3 in a directory 
> > called main by typing qmake -project; qmake; make; ./main
> 
> If someone else wants to try: just type
> 
>   $ g++ -I /usr/lib/qt-2.3.0/include/ -c main.cpp 
>   $ g++ -o main main.o -L /usr/lib/qt2/lib -lqt
> 
> (change the paths if necessary).
> 
> > Then grab one of the edges of the window and resize it
> > so it becomes really small and then quickly large many
> > times. Upon releasing the mouse the window will resize
> > itself to an unappropriate or state and/or may exhibit
> > some strange resizing behavior which does not show up 
> > under the four window managers described above.
> 
> Do you mean the effect that the interior of the window does not
> match the frame size?  For example, instead of
> 
>   +-------------------+
>   | The  Menu  Bar    |
>   +---+---+---+---+---+
>   |   |   |   |   |   |
>   |   |   |   |   |   |
>   |   |   |   |   |   |
>   +---+---+---+---+---+
>   |   |   |   |   |   |
>   |   |   |   |   |   |
>   |   |   |   |   |   |
>   +---+---+---+---+---+
>   |   |   |   |   |   |
>   |   |   |   |   |   |
>   |   |   |   |   |   |
>   +---+---+---+---+---+
> 
> you get
> 
>   +-------------------+
>   | The  Menu  Bar    |
>   +---+---+---+---+---+
>   |   |   |   |   |   |
>   |   |   |   |   |   |
>   +---+---+---+---+---+
>   |   |   |   |   |   |
>   |   |   |   |   |   |
>   +---+---+---+---+---+
>   |   |   |   |   |   |
>   |   |   |   |   |   |
>   +---+---+---+---+---+
>   |                   |
>   |                   |
>   +-------------------+
> 
> I think that's a qt bug.  Fvwm does not directly inform the
> application of its size.  X does that when the window is resized.

I am running the latest stable fvwm release, 2.4.8,
and am not seeing the above problem. However I am
seeing some other things. I am also using Qt 3.0.3
instead of Qt 2.3.0...

> It seems that qt somehow loses track of its own size.  Once the
> size is screwed up, qt seems to keep the same size defect even
> when the window is resized, e.g. if the internal decoration is 20
> pixels too short, it's also 20 pixels too short after the next
> resizing step.  Another bug I noticed is that if the window gets
> too thin and the menu bar is rearranged vertically, the layout of
> the grid is not adapted to the reduced vertical space:
> 
> A:
>
>   +-------+
>   | The   |
>   | Menu  |
>   | Bar   |
>   +-+-+-+-+
>   | | | | |
>   | | | | |
>   | | | | |
>   +-+-+-+-+
>   | | | | |
>   | | | | |
>   | | | | |
>   +-+-+-+-+
>   +-+-+-+-+
> 
> instead of
>
> B:
> 
>   +-------+
>   | The   |
>   | Menu  |
>   | Bar   |
>   +-+-+-+-+
>   | | | | |
>   | | | | |
>   +-+-+-+-+
>   | | | | |
>   | | | | |
>   +-+-+-+-+
>   | | | | |
>   | | | | |
>   +-+-+-+-+

This is something I reported with an earlier code snippet.
It appears as though window managers are not checking for
whether the base size property has changed until after
the user releases the mouse button from the window
frame. Resizing once more sets the window size
correctly with the new base size. I wonder
whether the limitation lies in the X
event reporting system.

But there is another problem. When I use the code posted
to this thread with fvwm and grab the frame and move the
mouse around in circles quickly, I release the mouse on
the window when it looks like this:

   +-------------------+
   | The  Menu  Bar    |
   +---+---+---+---+---+
   |   |   |   |   |   |
   |   |   |   |   |   |
   |   |   |   |   |   |
   +---+---+---+---+---+
   |   |   |   |   |   |
   |   |   |   |   |   |
   |   |   |   |   |   |
   +---+---+---+---+---+
   |   |   |   |   |   |
   |   |   |   |   |   |
   |   |   |   |   |   |
   +---+---+---+---+---+
   |   |   |   |   |   |
   |   |   |   |   |   |
   |   |   |   |   |   |
   +---+---+---+---+---+
   |   |   |   |   |   |
   |   |   |   |   |   |
   |   |   |   |   |   |
   +---+---+---+---+---+
 

and end up with a window that looks like this:

   +---------------------------+
   | The  Menu  Bar            | 
   +---+---+---+---+---+---+---+
   |   |   |   |   |   |   |   |
   |   |   |   |   |   |   |   |
   |   |   |   |   |   |   |   |
   +---+---+---+---+---+---+---+
   |   |   |   |   |   |   |   |
   |   |   |   |   |   |   |   |
   |   |   |   |   |   |   |   |
   +---+---+---+---+---+---+---+

which I find really strange.


-- Best Regards,

Neil

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to