[PATCH] Recompute column widths in BackingWindow::Resize() to partially fix #34392

Gábor Stefanik netrolller.3d at gmail.com
Fri Apr 6 17:13:23 PDT 2012


With this patch, the start screen displays correctly on startup with
scaling set to 130% (tested on OpenSUSE 11.4 x86-64).

However, if you start LibreOffice with scaling @ 100%, then change
scaling to 130% with the start screen still open, the bug remains.
I've looked into it, and this appears to be a separate issue -
Resize() is called too early on scaling change, before the new scaling
factor is available. As a result, GetTextWidth() uses the old scaling
factor to compute widths.

If anyone can point me towards where Resize() is called on the scaling
change codepath, that would be greatly appreciated.

Signed-off-by: Gábor Stefanik <netrolller.3d at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Recompute-column-widths-in-BackingWindow-Resize-to-p.patch
Type: application/octet-stream
Size: 2782 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120407/10e73708/attachment.obj>


More information about the LibreOffice mailing list