Repository navigation
Conversation
Chart tooltips now wait for Qt's tooltip event instead of a showText call per hover change (35-45 ms each). The bar chart paints only the exposed lines, repaints just the lines a hover or selection changes, and asks the style for its folder icon once (41-52 ms per call on Windows). Selecting an entry already on a tree page no longer searches the rest of its folder.
Qt lays out every line of an opened group even while its tab is hidden. When the clean-up suggestions arrived after a scan, 56,321 empty folders held the GUI thread for 0.6-0.7 s while the charts were in use. A marked grouped list filled while hidden now opens its groups when it is next shown; the wait moves to the first visit of the Clean-up tab.
After a scan, the clean-up worker's emptiness pass and outermost() ran over every folder without giving way: 0.3 s on C:\Windows during which each call the window made into Python waited for the worker, and the folder tree stalled 381 ms while its scrollbar was dragged. Both passes now check the pacing gate every 256 entries.
The scan's add-up and sort and the clean-up rule matching gave way once per folder; one folder of 41,610 entries took 42 ms to add up and sort and 100 ms to match, and dragging the folder tree's scrollbar still stalled 104-155 ms now and then. Folders of more than 256 entries are now handled a page at a time, giving way between pages, with the same stable order as before.
|
JE-Chen
temporarily deployed
to
windows-signing
November 19, 2026 15:30 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Releases what
devhas added since 0.2.14: browsing the charts after a scan no longer stalls.Charts stay responsive under the mouse (U-20261119-04)
No freeze when the clean-up suggestions arrive (U-20261119-05)
Scrollbars no longer stall while the clean-up worker runs (U-20261119-06)
outermost()ran over every folder without giving way, about 0.3 s on C:\Windows. Every call the window made into Python waited for the worker, so the folder tree stalled 381 ms while its scrollbar was dragged.Large folders give way a page at a time (U-20261119-07)
_add_uptakes 47–67 ms more (about 0.5% of the scan).Measured on the same machine in a hidden window. The browsing figures are from a scan of C:\Windows (WinSxS, 29,244 entries):
Visible differences:
Not verified
Test plan
ruff check .test_chart_hover.py(9 cases) andtest_grouped_list_deferred.py(4 cases), plus one new paging case. Without the fixes, 6 of the chart cases fail, as does the paging case.test_pacing.py; the paced cases fail without their fixesdevfor every commit