Details
-
Technical task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
Team Two Foundation Sprint 51
-
37a25fce94 (qt/qtbase/dev) 37a25fce94 (qt/tqtc-qtbase/dev) 7a98858ff0 (qt/qtbase/6.3) b3d1ea8530 (qt/qtbase/6.2) b3d1ea8530 (qt/tqtc-qtbase/6.2) 7a98858ff0 (qt/tqtc-qtbase/6.3) 2b0105cdc1 (qt/tqtc-qtbase/5.15) b3d1ea8530 (qt/tqtc-qtbase/6.2.4)
Description
When a URL handler is destroyed, it is removed from the registry only by way of the destroyed() signal. Even if QTBUG-100778 is fixed, there's still a window where the handler's salient members have already been destroyed, and thus it cannot act as a handler anymore, but it hasn't been removed from the registry, yet, and thus can still be invoked by a call to openUrl().
Attachments
For Gerrit Dashboard: QTBUG-100779 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
395354,5 | QDesktopServices: deprecate destroying URL handlers w/o explicit unsetUrlHandler() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
395940,2 | QDesktopServices: deprecate destroying URL handlers w/o explicit unsetUrlHandler() | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
395941,2 | QDesktopServices: deprecate destroying URL handlers w/o explicit unsetUrlHandler() | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
395944,3 | QDesktopServices: deprecate destroying URL handlers w/o explicit unsetUrlHandler() | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |