Revision 1aa12ba...

Go back to digest for 14th August 2011

Other in KDE Base

Dominik Haumann committed changes in [kate] /utils:

attempt to work around Qt printing bugs

NOTE: Saving & loading the margins works around QPrinter/QPrintDialog bugs:
- https://bugreports.qt.nokia.com/browse/QTBUG-15351
- https://bugs.kde.org/show_bug.cgi?id=205802
- https://bugs.kde.org/show_bug.cgi?id=180051
Changing the margins now works. However, when you reopen the print dialog
later, the WRONG margins are displayed. The correct ones are still used.
This is a critical bug in Qt.

The real issue is Qt. And it's a critical one. But since it wasn't fixed for
years, it probably will never get fixed. That's why this workaround is better
than nothing...

File Changes

Modified 2 files
  • /utils
  •   part/kateprinter.cpp
  •   part/kateprinter.h
2 files changed in total