qt5base-lts/src
Eirik Aavitsland d2ae838a7c Item views: fix regression causing unexpected widget overlapping
A certain geometry adjustment was (practically) introduced in Qt 5.11,
and caused very surprising behavior, where item widgets will often
overwrite neighbouring cells. This has resulted in a number of bug
reports. Since the adjustment has such serious side effects, and does
not seem to be relevant any longer for the issue for which it was
intended, remove it here.

More details: From early Qt 4 times, QStyledItemDelegate would do some
automatic expansion of the geometry of editor widgets - but only if
the layout was RightToLeft. Hence, the effect of it was rarely
seen. QTBUG-37433 did, for Qt 5.10, and complained about it. However,
the resulting code change did not remove the adjustment, but instead
extended it to apply to the normal LeftToRight layout also. Hence,
more users experienced it, and reported it as a regression.

Also, now in Qt 5.13, it seems Qt has changed in other ways, and the
geometry adjustment no longer seems to help (or indeed make any
difference to) the original case in QTBUG-37433.

Fixes: QTBUG-78495
Fixes: QTBUG-76011
Fixes: QTBUG-68476
Change-Id: I4a4e873969eb1d89843f98fc63d90371207515d1
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
2019-10-10 10:54:31 +02:00
..
3rdparty Fix CVE-2019-16168 in SQLite 2019-09-25 10:09:50 +02:00
android [androidcontentfileengine] Catch SecurityException during file opening 2019-07-05 21:46:06 +02:00
angle Merge remote-tracking branch 'origin/5.12' into 5.13 2019-06-28 01:00:23 +02:00
concurrent Merge remote-tracking branch 'origin/5.12' into 5.13 2019-06-20 07:50:44 +02:00
corelib Include XDG font locations in QStandardPaths::FontsLocation on Linux 2019-10-08 12:42:38 -06:00
dbus Doc: Add info about QDBusConnection::ExportChildObjects 2019-10-07 10:56:45 +02:00
gui Don't crash when calling jumpToFrame() on an empty QMovie 2019-10-09 15:58:26 +02:00
network Doc: Edit QNetworkProxy::QNetworkProxy() default proxy type 2019-09-19 10:18:31 +02:00
opengl Doc: replace even more null/0/nullptr with \nullptr macro 2019-05-08 12:48:32 +00:00
openglextensions Move forward-declaration inside of namespace 2019-05-15 10:58:49 +00:00
platformheaders doc: Add dontdocument.qdoc files 2019-05-07 16:58:09 +02:00
platformsupport iOS: Fix fallback fonts on iOS 13+ 2019-09-26 10:32:25 +00:00
plugins Blacklist Desktop GL for Mobile Intel 4 Series Express Chipset 2019-10-07 10:49:27 +02:00
printsupport Unix: Disable complex page ranges widget when printing to pdf 2019-08-13 15:34:37 +02:00
sql Fix connection string code snippet for ODBC on Windows 2019-09-24 08:42:11 +02:00
testlib Do not pass nullptr as '%s' 2019-09-23 16:38:39 +02:00
tools Fix compile with tracing enabled: include QStringList header 2019-10-09 16:19:17 +02:00
widgets Item views: fix regression causing unexpected widget overlapping 2019-10-10 10:54:31 +02:00
winmain qtmain_winrt: Avoid nullptrs in str*cmp which cause crashes 2019-05-17 09:26:33 +00:00
xml Merge remote-tracking branch 'origin/5.12' into 5.13 2019-05-27 09:17:14 +02:00
src.pro Fix QMake build system to support trace points in a cross-compiled build 2019-10-09 16:20:08 +02:00