-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.8.3
-
None
Even if the GTK cache returns an empty result (result.size() == 0), the code executes subDirs.clear() and then attempts to populate subDirs with the empty result. This causes the subsequent icon file search loop (the for loop starting on line 507) to have no subdirectories to search, thereby failing to locate icon files that actually exist (such as those in the hicolor theme).
Reproduction steps:
- Launch the demo application, which periodically scans desktop application icons.
2. Download several applications; you will observe that the retrieved qicon information appears null. However, restarting the demo allows it to correctly identify the corresponding qicon information.
For Gerrit Dashboard: QTBUG-140654 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
680136,7 | QIconLoader: Exception when GTK cache returns empty result | dev | qt/qtbase | Status: NEW | 0 | 0 |