View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037525 | mantisbt | bugtracker | public | 2026-12-03 11:47 | 2026-12-04 08:26 |
| Reporter | vic-t | Assigned To | dregad | ||
| Priority | high | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| Product Version | 2.28.4 | ||||
| Summary | 0037525: Data loss when previewing an image while creating a comment | ||||
| Description | I was just writing a long winded comment and, before sending it, decided to have a closer look at an image that was attached to one of the comments above. Mantis opens the image as a new page within the same window. So, it's not possible to just close the image to get back to the issue comment, one has to push the back button. At that point, the page is reloaded and my draft for the comment is gone, I don't see a possibility for retrieval since it was not even part of an http post. | ||||
| Tags | No tags attached. | ||||
|
You can configure the behavior of file download links using the $g_attachments_to_new_tab option. It is OFF by default, set it to ON so attachments open in a new tab. Alternatively, you can always CTRL/CMD-click any link to force opening it in a new tab. Concerning the loss of what you typed, I suggest using a browser extension such as Form History Control. |
|
|
Thanks @dregad. These are helpful workarounds, I will use them. It would be nice, of course, if at some point in time, an actual solution was available. For images, a possibility to view images within an element on the same page, and for drafts to be stored server-side. |
|