Review Request 125480: KFileWidget: provide a "bigger than minimum" sizeHint.
David Faure
faure at kde.org
Sun Oct 11 21:04:17 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125480/
-----------------------------------------------------------
(Updated Oct. 11, 2015, 9:04 p.m.)
Status
------
This change has been marked as submitted.
Review request for KDE Frameworks.
Changes
-------
Submitted with commit 5c57616002727468df74a6307e06cf9296a93815 by David Faure to branch master.
Repository: kio
Description
-------
This code is taken from kdelibs4 KFileDialog.
The too small size hint can be tested by the new kfilewidgettest_gui.cpp.
I originally hit this when inserting a picture shape into calligra stage,
the "shape options dialog" is mostly just a KFileWidget, and it was tiny
every time.
Change-Id: I7618af127619f0fe0204310d28b6b5ac07bfc5b8
Diffs
-----
src/filewidgets/kfilewidget.h 5b59ea9a57f38da3cb0e94da509d3943ff5a672e
src/filewidgets/kfilewidget.cpp d66040974d244c8dd54649615c9aae05eb3356c8
Diff: https://git.reviewboard.kde.org/r/125480/diff/
Testing
-------
Tested with kfilewidgettest_gui
I actually expected the file dialog to be a little bigger.
Also I wonder why the config saving doesn't seem to work? IIRC this widget was supposed to remember its own size.
Also it seems kfilewidgettest_gui doesn't exit when closing the KFileWidget... weird.
Thanks,
David Faure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151011/5ce048d6/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list