Summary: | 'Apply To All' in RenameDialog is not applied throughout batch jobs | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Alexey Chernov <4ernov> |
Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | jodr666, justin.zobel, kde-2011.08, nekonexus, toddrme2178, vermainfinite |
Priority: | NOR | Keywords: | junior-jobs |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Script to create a test case |
Description
Alexey Chernov
2010-12-16 20:35:00 UTC
Can you please provide steps to reproduce this problem? For example, did you manually launch Ark or did you use the service menus in Dolphin? What archive format were you extracting? What KDE version are you using? Yes, surely. Sorry for not doing it in the report. I launched Ark using service menu item "Extract to this folder". Archive format is RAR. KDE version is 4.5.4. I also should notice that I selected many files at once and let them to be extracted. So, steps to reproduce: 1. Select several files (RAR archives in my case). RAR archives are with internal folders i.e. when they are extracted there're several directories created. 2. Right-click on one of them and choose an option "Extract to this folder" 3. Stop the process somewhere in the middle (to make some and redo steps 1 and 2 again. 4. Wait for the first dialog that the certain file exists. Check 'Apply To All' option and click OK. Do step 4 for every dialog appeared. 5. Wait for one of the next dialog windows concerning the file type you've already seen and checked as 'Apply To All'. Here's the problem. Created attachment 55058 [details]
Script to create a test case
Can you make sure /tmp/test does not exist or does not contain anything relevant and then run this script?
It will create /tmp/test with three directories, dir1, dir1/dir11 and dir2. Each of them will have a file called hello.txt, as well as two archives, archive1.rar and archive2.rar. The former will contain dir1/, and the latter will contain dir2.
If I select both archives and choose "Extract Here" inside /tmp/test, it will first prompt me asking whether I want to replace /tmp/test/dir1/dir11/hello.txt. I choose "apply to all" and then choose either "Skip" or "Overwrite" (there is no 'OK' button). I'm then prompted about replacing /tmp/test/dir2/hello.txt.
Can you confirm if the same happens to you, and whether what you said is that the second dialog should not appear if you choose "Apply to all" in the first one?
Yes, you're exactly right. I did what you wrote and yes, the dialog appeared twice for hello.txt file in each dir1 and dir2 and this is exactly what I mean. I think the dialog should appear only once in this case. Alright, confirming it then. Thank you, Raphael. I can confirm this bug as well for KDE 4.6.0. *** Bug 271432 has been marked as a duplicate of this bug. *** To reproduce: 1) Acquire four rar packages, each containing an identical file called test.txt 2) Select all four rar files, right-click and choose Extract Here 3) When the dialogue asks to overwrite or skip test.txt, click "do this next time" and click Skip What happens: The dialogue pops up twice more What the user expects to happen: The dialogue should not pop up, the files should just be skipped *** Bug 369126 has been marked as a duplicate of this bug. *** I'd like to work on this. infiniteverma if you're still interested in working on this KDE uses Merge Requests as described here to add new code: https://community.kde.org/Infrastructure/GitLab#Submitting_a_merge_request |