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. t 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: +-------+ | The | | Menu | | Bar | +-+-+-+-+ | | | | | | | | | | | | | | | +-+-+-+-+ | | | | | | | | | | | | | | | +-+-+-+-+ +-+-+-+-+ instead of +-------+ | The | | Menu | | Bar | +-+-+-+-+ | | | | | | | | | | +-+-+-+-+ | | | | | | | | | | +-+-+-+-+ | | | | | | | | | | +-+-+-+-+ I think both problems should be reported to the qt people. Bye Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] -- 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]