[PATCH] Restoring the mainwindow size

Sean Harmer sh at theharmers.co.uk
Sun Feb 22 14:58:30 GMT 2009


Hi All,

Whilst tracking down the cause of the annoying bug

https://bugs.kde.org/show_bug.cgi?id=183285

I came across a small annoyance in kmainwindow that causes mainwindows to be 
set to their default width or height when the client application calls 
KMainWindow::restoreWindowSize( const KConfigGroup & config ).

As an example after fixing the above bug locally, I was still occasionally 
getting the main window of Kontact set to a width of 1800. This was only 
happening if kontact was maximised vertically.

The attached patch against kdeui (4.2 branch) fixes this problem. Is this OK 
to apply to the branch and trunk?

Kind regards,

Sean

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmainwindow-restore-window-size.patch
Type: text/x-patch
Size: 912 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090222/1d2e3761/attachment.bin>


More information about the kde-core-devel mailing list