qt - QPrintPreviewDialog hangs if screen resolution is 2560x1600 -
i have problem qprintpreviewdialog - when report has 2 pages , screen resolution 2560x1600 hangs - application starts "eat" memory. not have such problem when screen resolution 1920x1200 or less, or report has 1, 3 or more pages. ( :-\ ) when have problem previewing (2560x1600, 2 pages), report prints normaly, no matter select print pages or range.
after installation event filter on qprintpreviewdialog (event types):
qpainter::end() returned: true printpreviewdialog: 203 printpreviewdialog: 13 printpreviewdialog: 14 printpreviewdialog: 152 printpreviewdialog: 17 printpreviewdialog: 13 printpreviewdialog: 24 printpreviewdialog: 99 printpreviewdialog: 26 printpreviewdialog: 76 printpreviewdialog: 77 printpreviewdialog: 12 printpreviewdialog: 76 printpreviewdialog: 77 printpreviewdialog: 12 printpreviewdialog: 76 printpreviewdialog: 76 printpreviewdialog: 77 printpreviewdialog: 12 printpreviewdialog: 173 printpreviewdialog: 76 printpreviewdialog: 25 !!! printpreviewdialog: 99
i found out when problem occurs qevent::windowdeactivate present ... qt version - 4.8.1, windows 7 pro x64. how find out going on? thank in advance.
Comments
Post a Comment