This is PART of the problem… I was able to fix it. Basically, as a duplicate is found, the UI creates a QStandardItem for the model. The first column if its an image file, will show an icon.
The creating of the QIcon itself was causing a gui lock up ☹ Because Qt uses the global threadpool to convert the files data into a qimage. I was able to fix that by pushing the icon loading to later, but Ill likely use a different threadpool for my side. But, while its loading and computing, the UI is getting updated, however its not responding to any clicks at all. Scott From: Mårten Nordheim <marten.nordh...@qt.io> Sent: Friday, April 14, 2023 11:02 AM To: Scott Bloom <sc...@towel42.com>; interest@qt-project.org Subject: RE: Need some help tracking down an issue Hey! It’s likely similar to the issue seen here: https://bugreports.qt.io/browse/QTBUG-109511 Qt itself may use the global thread pool for certain parallelization, so if the global thread-pool is fully occupied without letting any new tasks run then you may experience some hanging. Mårten From: Interest <interest-boun...@qt-project.org<mailto:interest-boun...@qt-project.org>> On Behalf Of Scott Bloom Sent: fredag 14. april 2023 19:39 To: interest@qt-project.org<mailto:interest@qt-project.org> Subject: [Interest] Need some help tracking down an issue I have an opensource project that is Qt based, to find duplicate files. It started as a learning experience for working with thread pools. Its pretty much 100% functional, however, I have issues where the GUI is non-responsive to user activity. If anyone has the time, and willingness to do a code review with me, please let me know. You can see the project at http://github.com/towel42-com/FindDupe Thanks in advance, Scott
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest