Bug 367826 - Dolphin caches *.zip when opened as a folder and does not refresh correctly
Summary: Dolphin caches *.zip when opened as a folder and does not refresh correctly
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-26 00:04 UTC by Mike Lui
Modified: 2022-09-06 18:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lui 2016-08-26 00:04:22 UTC
I made a zip file from command line and had dolphin open. I saw it pop up in dolphin, and double clicked it to make sure that the files were in there. I saw I missed a file, and when back to my command line to recreate the zip file with the same name. Upon opening the zip file in dolphin again, the contents were unchanged from their original state. 

Furthermore, if I deleted the zip file in the command line, and it disappears in dolphin, and i create a different zip file with the same name, it pops back up, and the cached contents are still unchanged, even if i back in and out of the directory.

The only way I'm able to clear that *zip cache appears to be exiting dolphin and reopening dolphin, or manually deleting the zip file in dolphin, and then recreating the zip file. Note that only when deleting the file outside of dolphin do i notice this behavior. Checking the zip file's timestamp could be a possible fix.

Reproducible: Always

Steps to Reproduce:
1. open dolphin
2. $ zip my.zip myfile1 myfile2 myfile3
3. open my.zip in dolphin as a folder
4. go back out of the zip
5. $ zip my.zip myfile1 myfile2 myfile4
6. open my.zip in dolphin as a folder 

Actual Results:  
my.zip is shown to contain myfile1, myfile2, myfile3

Expected Results:  
my.zip is shown to contain myfile1, myfile2, myfile4

This is version 16.04.3, it wasn't listed in the menu
Comment 1 Julian Steinmann 2018-05-17 19:40:23 UTC
I can confirm that this issue still exists with Dolphin 18.04.
Comment 2 Mejdi 2022-09-06 18:55:16 UTC
Still an issue in 2022...

Steps:
Open Dolphin
Create a zip using right-clik/compress/compress to...
You can not see the zip on Dolphin...
If you right-click/Open Terminal and do "ls", you actually see the zip, but Dolphin keeps hidding it.