[Qt4-preview-feedback] Qt 4.5.0.rc1: queer behaviour

Michael Sué sue at nf.mpg.de
Fri Feb 20 14:09:34 CET 2009


Hi Trolls,

when I re-qmake'd and re-built my program and started it, I get some queer
behaviour on WINDOWS XP, sp3:

- when I move the main-window programmatically the mouse does no longer act
where it is shown, see attached program code:
  When you build and run the program everything is ok. When you then call
the menu entry "File/Move", the mouse hot spot shifts in a way that you can
no longer reach the menu anymore. When you minimize the program and maximize
it again, everything works fine again.
  (this problem does not occur on Fedora Core 10)

and on WINDOWS XP, sp3 and Fedora Core 10 I get:

- a QLabel generated like this:
	m_stTitle=new QLabel(QString(),this);
	m_stTitle->setFrameStyle(QFrame::Panel);

	//blue background; white text
	m_stTitle->setAutoFillBackground(true);
	QPalette palette=m_stTitle->palette();
	QColor before=palette.color(QPalette::Window);
	palette.setColor(QPalette::Window,Qt::blue);
	palette.setColor(QPalette::WindowText,Qt::white);
	m_stTitle->setPalette(palette);

  now has a "nasty" white frame (of approx. 1 pixel) around its blue
contents.

  How would I get the appearence of Qt 4.4.2.

Best, Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: move.zip
Type: application/x-zip-compressed
Size: 1418 bytes
Desc: not available
Url : http://lists.qt.nokia.com/pipermail/qt4-feedback/attachments/20090220/0ac304f5/attachment.bin 


More information about the Qt4-feedback mailing list