# \[Bug\] Issue with "attach picture/audio/video (F3)"

**URL:** <https://forums.ankiweb.net/t/bug-issue-with-attach-picture-audio-video-f3/37221>\
**Category:** Help\
**Created:** [November 15, 2023, 2:48pm UTC](https://forums.ankiweb.net/t/bug-issue-with-attach-picture-audio-video-f3/37221 "2023-11-15T14:48:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laotsi](https://avatars.discourse-cdn.com/v4/letter/l/a183cd/32.png) [@Laotsi](https://forums.ankiweb.net/u/Laotsi)\
**Post date:** [November 15, 2023, 2:48pm UTC](https://forums.ankiweb.net/t/bug-issue-with-attach-picture-audio-video-f3/37221/1 "2023-11-15T14:48:54Z")

</div>

Hi dear Devs of the mighty Anki,

when adding ner cards and also when editing cards in the browser I´ve encountered the following problem:

The “attaching images” function gets stuck after choosing the file to attach.  
The cursor remains functional, I can still write text and use the “Add card” editor, but the chosen file remains in limbo.

This is untill I switch to any different window/program (i.e. Firefox, Finder etc.), even if only switching to a different tab inside Anki.

When I _return_ to the editor the choosen file is finally attached.

Also: The file is only attached successfully when the cursor is at the same spot when reopening the Add-tab.  
When moving the cursor somewhere else before switching and coming back, the file remains floating somewhere in the ether.

debug info:

```
Anki 23.10 (51a10f09) Python 3.9.15 Qt 5.14.2 PyQt 5.14.1
Platform: macOS-14.0-x86_64-i386-64bit
Flags: frz=True ao=False sv=3
Add-ons, last update check: 2023-11-14 19:24:54

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Batch Editing ['291119185', 2023-10-26T02:38, 'None', '']
Button Colours Good Again ['2494384865', 2022-09-27T12:18, 'None', '']
FSRS4Anki Helper ['759844606', 2023-11-10T10:28, 'None', '']
Review Heatmap ['1771074083', 2022-06-30T03:43, 'None', '']

===IDs of active AnkiWeb add-ons===
1771074083 2494384865 291119185 759844606

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
Image Occlusion Enhanced ['1374772155', 2022-04-09T09:15, 'None', '']

```

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [November 15, 2023, 3:05pm UTC](https://forums.ankiweb.net/t/bug-issue-with-attach-picture-audio-video-f3/37221/2 "2023-11-15T15:05:57Z")

</div>

Can you reproduce the issue with the “Record Audio” button?

---

<div class="post-metadata">

**Author:** ![Laotsi](https://avatars.discourse-cdn.com/v4/letter/l/a183cd/32.png) [@Laotsi](https://forums.ankiweb.net/u/Laotsi)\
**Post date:** [November 15, 2023, 3:29pm UTC](https://forums.ankiweb.net/t/bug-issue-with-attach-picture-audio-video-f3/37221/3 "2023-11-15T15:29:17Z")

</div>

No, this particular issue I can not reproduce with record audio.  
I´ve never used that function and I could not get the audio to play, I don´t hear the recording.  
But pressing the button seems to record something and it attaches the [sound:rec170009427.mp3] immediately

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [November 16, 2023, 1:12am UTC](https://forums.ankiweb.net/t/bug-issue-with-attach-picture-audio-video-f3/37221/4 "2023-11-16T01:12:02Z")

</div>

This sounds similar to [2.1.54 Bug: Audio files not attaching correctly](https://forums.ankiweb.net/t/2-1-54-bug-audio-files-not-attaching-correctly/21358). I still can’t reproduce it on a Mac here. Not sure if it’s timing-related, or some other software running on your machine.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [December 16, 2023, 1:12am UTC](https://forums.ankiweb.net/t/bug-issue-with-attach-picture-audio-video-f3/37221/5 "2023-12-16T01:12:47Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
