Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.2.1, 5.3.2, 5.4.2, 5.5.1, 5.6.3, 5.7.2, 5.8.0, 5.9.9, 5.10.1, 5.11.3, 5.12.12, 5.13.2, 5.14.2, 5.15.18, 6.0.4, 6.1.3, 6.2.13, 6.3.2, 6.4.3, 6.5.8, 6.6.3, 6.7.3, 6.8.1, 6.9.0 Beta1
-
None
-
2
-
0d4fd5c54 (dev), 162015e9c (dev), eb13efc4a (6.9), 12f39bb2a (6.9), 88d9371d2 (6.8), eb10876c7 (6.8), c52fc83d9 (tqtc/lts-6.5), 40434eec8 (tqtc/lts-6.2), 027e80bfd (tqtc/lts-6.5), 84cbcf52c (tqtc/lts-5.15)
-
Foundation Sprint 122, Foundation Sprint 123, Foundation Sprint 124
Description
https://doc.qt.io/qt-6/qset.html#intersect says:
Removes all items from this set that are not contained in the other set.
Since Qt 5.2 (https://codereview.qt-project.org/c/qt/qtbase/+/57830), this is not what the implementation does, anymore, because it takes elements from other instead, if that was smaller than *this.
Attachments
Issue Links
- clones
-
QTBUG-132500 [REG 6.7 -> 6.8] QSet::unite() no longer consistently picks equivalent elements from `other`
-
- Closed
-
- relates to
-
QTBUG-132503 QSet::unite docs don't match implementation
-
- Closed
-
For Gerrit Dashboard: QTBUG-132536 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
614372,12 | QSet: check that unite() and intersect() prefer elements from *this | dev | qt/qtbase | Status: MERGED | +2 | 0 |
614770,15 | Unbreak QSet::intersect() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
622364,2 | QSet: check that unite() and intersect() prefer elements from *this | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
622403,3 | Unbreak QSet::intersect() | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
622674,2 | QSet: check that unite() and intersect() prefer elements from *this | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
622696,2 | Unbreak QSet::intersect() | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
622737,3 | QSet: check that unite() and intersect() prefer elements from *this | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | +1 |
622738,3 | Unbreak QSet::intersect() | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
624295,2 | QSet: check that unite() and intersect() prefer elements from *this | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
624354,3 | QSet: check that unite() and intersect() prefer elements from *this | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | -1 |