I am not sure whether this is a design issue, but for now I will place it in this category.
Upload an image in the rich text editor:
If you click on it (which selects it) and then drag it, the image will be moved.
If you drag it without first clicking on it, it will be treated as a new image resource and the upload operation will be performed again…
I am confused by the latter scenario, because I think that regardless of whether you click on it or not, dragging should move the image’s position rather than re-uploading it.
If this is not a bug but an intentional design, anyone is welcome to tell me in what scenario repeated uploading would be used.
Edge browser, version 145.0.3800.82, I just updated to 148.0.3967.54 but it did not improve.
Yeah, I hope someone else can successfully reproduce it.
I can only confirm that this issue does exist, but I don’t know the specific cause.
Initially, a user on my website complained to me that they encountered this issue when dragging an image they had uploaded. At that time, I also had difficulty reproducing it unless I directly copied the Markdown that the user used to upload that image. It seems to be related to both the website and the attachment itself (the images with issues all seem to be PNG files), and I couldn’t reproduce it on Meta either (even if I uploaded the same attachment to Meta), so this issue has been put aside.
On the day I created this topic, I had a sudden idea and tried the PNG image of the Discourse default logo from the video, and finally succeeded in reproducing the issue on Meta. Perhaps you can use  to make some attempts?
In summary, this is indeed a borderline case that is very difficult to trigger, but once triggered, it will stably trigger for the same attachment of the same site.
I see that in your post, there are two occurrences of . Is it a product of successful reproduction? That is: can you reproduce using the small logo, but cannot reproduce using your cat’s picture?
First place the cursor on another piece of text, then press and hold the left mouse button on the image and drag directly. If you click (and release) first and then drag, it will actually have selected the image.
In the above test (performed in latest Edge, and RTE in Discourse composer), dragging the previously uploaded image did just seem to work correctly – I did not see indication to re-upload?
Perhaps you are lucky enough to have never encountered this bug but regardless, in the video below I demonstrate the key press flow that triggers the two operations, upload and move, using KeyCastOW, so that you and others can clearly understand the specific process.
Upload - Press the left mouse button and drag directly
Move - Press the left mouse button to click and then drag
By the way, I just tested using your cat () and your other image (), and found that neither of them could trigger this issue.
I suggest you use  for testing; at least it is known to me as a test material that can reliably reproduce the issue. If you cannot reproduce the issue using it, perhaps you are just that lucky.
In this latter scenario, are you saying think that 2 different instances/copies of the image/file are being uploaded and that 2 files are then being stored on the server?
Or, that the pasted image is not actually uploaded to the server until (after uploading) you then click on it (and then only that one instance of the image/file is uploaded and stored on the server)?
No, there are multiple images on my own website that can reproduce the issue, but I haven’t done much investigation on Meta and have only found this one case so far.
No, in fact Discourse is smarter than we thought. For example:
A user on my website uploaded an image, and under the Markdown editor it appears like this:
I obtained its full link through the browser’s developer tools: https://example.com/uploads/default/original/1X/8826bc6c1be0e501979df4a004b9b2ae51c50320.jpeg . So I referenced the image in the editor using the full link format:
It can be seen that although Discourse shows that dragging triggers an upload, the image actually appears as  , which corresponds to the same attachment originally uploaded by that user as https://example.com/uploads/default/original/1X/8826bc6c1be0e501979df4a004b9b2ae51c50320.jpeg .
Dragging an image referenced in the  format also results in the same handling.
From this perspective, triggering an upload again does not actually take up additional storage space — only the first uploaded file truly occupies server storage. So it’s just a user experience issue: users get confused about “why does dragging an image (when I click and then drag without releasing the mouse) fail to move as expected, but instead shows an ongoing upload and duplicates the image?”
Then I would conclude, for now, that (good news!) it seems that the image is not actually uploaded repeatedly, but that only one instance it is uploaded(?)