# File Save Behavior Query: TIFF Files Auto-Selecting on Second Save

**URL:** <https://discourse.slicer.org/t/file-save-behavior-query-tiff-files-auto-selecting-on-second-save/34665>\
**Category:** Development\
**Tags:** file-export, save\
**Created:** [March 3, 2024, 3:16am UTC](https://discourse.slicer.org/t/file-save-behavior-query-tiff-files-auto-selecting-on-second-save/34665 "2024-03-03T03:16:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aram\_Harutyunyan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aram_harutyunyan/32/69288_2.png) [@Aram\_Harutyunyan](https://discourse.slicer.org/u/Aram_Harutyunyan)\
**Post date:** [March 3, 2024, 3:16am UTC](https://discourse.slicer.org/t/file-save-behavior-query-tiff-files-auto-selecting-on-second-save/34665/1 "2024-03-03T03:16:41Z")

</div>

I’ve encountered a unexpected behavior in an application running on **Ubuntu 22.04** , app version **5.7.0-2024-02-29** , and I’m trying to determine whether it’s a bug or an intended feature. The issue revolves around the process of saving files, specifically in the .tif/.tiff format, and how these files are selected (or not selected) during consecutive save attempts.

**Steps to Reproduce:**

1. Download any sample data.
2. Press the “Save” button and choose to save the file in either `.tif` or `.tiff` format, then successfully save it.
3. Delete the saved file from the computer through the file manager.
4. Press the `"Save"` button again to save another file. By default, all previously saved files are not selected or “checked” until you hit the second `"Save"` button within the Save window.
5. At this point, without any user intervention, the application automatically selects or checks the `.tiff` file. But I did not get this problem with other file formats like `.nrrd` or `.mha`

 ![1A](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/a/ea5e9ade63a00360a5f18357f98b187c48ec3c30.jpeg)

 ![2A](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/9/5925afc54155dce5063c3f698a3e884c4f8a2e6b.jpeg)

![5](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/d/4d9e28a28eae2b3d3a917a755a049652eed00387.jpeg)

 ![3A](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/b/6b81f0af18fd71299cf1ea6605bcf8e121584c48.jpeg)

 ![8](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/f/2f26b4cd99c7a28832426e982d3077c45e78fdd4.jpeg)

**NOTICE:** It’s worth noting that this issue might not occur on every attempt. Sometimes, it may be necessary to repeat the saving and deleting process 2-3 times to observe this problem.

**Expected Behavior:** I would expect that upon attempting to save a file for the second time, no files would be automatically selected or checked, consistent with the behavior observed for other file formats.

**Actual Behavior:** The application automatically selects or checks `.tiff` files on the second save attempt, diverging from the expected behavior.

Before I delve deeper into troubleshooting or reporting this as a bug, I wanted to reach out to this community to see if anyone else has experienced this issue or can confirm whether this is a known feature or a bug. This behavior seems to be specific to `.tiff` files, and I’m not sure **yet** why it’s occurring.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [March 4, 2024, 8:24pm UTC](https://discourse.slicer.org/t/file-save-behavior-query-tiff-files-auto-selecting-on-second-save/34665/2 "2024-03-04T20:24:21Z")

</div>

Hmm, that does sound odd. I can’t reproduce it on a mac with 5.6.1.

You may already know this, but we discourage using tiff for volume data since you lose the spacing and orientation information.

---

<div class="post-metadata">

**Author:** ![Aram\_Harutyunyan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aram_harutyunyan/32/69288_2.png) [@Aram\_Harutyunyan](https://discourse.slicer.org/u/Aram_Harutyunyan)\
**Post date:** [March 5, 2024, 8:15am UTC](https://discourse.slicer.org/t/file-save-behavior-query-tiff-files-auto-selecting-on-second-save/34665/3 "2024-03-05T08:15:29Z")

</div>

Yes indeed, I know that we don’t have to save in `.TIFF` format if we are saving a 3D image. However, I thought that maybe this error could spread to other files too (Although I didn’t find the same error on other files yet). Maybe after I deal with the rest of the bugs/issues, I’ll delve into solving this one if it’s not a feature.
