-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Peek] Support for archives #26839
[Peek] Support for archives #26839
Conversation
This comment has been minimized.
This comment has been minimized.
If possible, supporting iso, cab would be amazing. And we should have scroll bars in both directions on small window size. - Not sure if this is by default. |
@davidegiacometti |
🔥🔥🔥 |
@davidegiacometti Iread somewhere that there is a For |
90f2fd3
to
5e8670f
Compare
I am having hard times to investigate an issue with the TreeView that is leaking memory.
It would be nice if the someone of the core team could help. |
This looks awesome! Could be consider supporting previewing files from within that ArchiveControl? |
Thank you! Do you mean to move the code that open the archive, create the treeview, sizes and counters inside the user control? |
5e8670f
to
9a88f4d
Compare
@davidegiacometti no, what I mean is to be able to Ctrl+Space within that control and allow preview of each single archived file. |
Oh! My bad 😅I totally misunderstood your feedback 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good to me. It works flawlessly as well. Very nice! I see the mentioned memory leak, as far as I understood this is probably TreeView issue. Something to track for sure. It would be good if @SeraphimaZykova and @SamChaps could take another look before merging
I've noticed that there is no |
Overall, nice work! :) |
There is DestroyIcon call in |
This ready for .71? |
yes, almost there. Just a bit of some more reviewing left |
Yeah, the I have pushed a minor cleanup that removes a redundant helper for file size since Peek already had one b112b71 😇 |
Created #27084 |
Canyou please dedup all the existing issues. I think it makes sense to do that. |
@htcfreek what do you mean? Which issues? |
I have in mind that there are multiple bug reports that peek can't preview files in archives. |
@htcfreek maybe I am still misunderstanding but I think these are two things 🤯
|
@davidegiacometti |
Summary of the Pull Request
Support for archives preview in peek: .zip, .rar, .7z, .tar, .nupkg, .jar, .gz, .tar, .tar.gz, .tgz
A month ago I was working on an explorer preview pane for archives (branch).
Chatted with @crutkas about the new preview pane and the WinUI3 startup was a concern.
I am shifting the job into peek based on #26726.
If preview panes will stay in PT we may reconsider adding also the preview pane (it would be nice to share logic with peek if possible).
Still a WIP but early feedbacks will be appreciated☺️
PR Checklist
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed