Flyspray - The bug killer!

  • Status Confirmed
  • Percent Complete
    50%
  • Task Type Bug Report
  • Category User Interface
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Low
  • Reported Version 0.9.9.7
  • Due in Version 1.1 devel
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by Jehan - 30.01.2016
Last edited by peterdd - 10.02.2016

FS#2098 - Attached image cannot be downloaded

Steps:

- Attach an image to a task.
- It shows as a link in your task (cf. screenshot “Screenshot from 2016-01-29 18-34-31.png”).
- Click on the link.

Result: it opens a “popup” with the image displayed in it. If the image is big, the popup is just so huge the image is not visible without boring horizontal and vertical scrolling (see “Screenshot from 2016-01-30 15-07-26.png” which shows what I see when I click the image link on my task).
I can’t even right click to download from the menu since I see no “Save Image As” item. (see Screenshot-no-save-image-in-menu.png).

My workaround was that if I drag and drop the attachment link in the address bar, I finally get the expected image, which I can finally save as! This workaround was hard to find, and I expect most people will just get frustrated of being able to view an image attachment, yet not save it locally.

I proposes the following:
- a small “download” icon next to the image link in the task for direct download (without preview).
- a “download” link/icon on the top-left of the image display popup (to download while previewing).

And as a side feature (maybe I should make a separate report?), I suggest that by default the image display popup constrains the image to the screen size, with a “see real size” link, so that you don’t get the popup with huge scrolling when opening a big image on a smaller screen.

Note: of course this issue does not appear with non displayable attachment. If I have a zip or a document, it proposes me to download it directly.

The task blocks this from closing
ID Project Summary Priority Severity Progress
1737 Flyspray - The bug killer! FS#1737 - Javascript Overhaul Very Low Low
0%
Project Manager
peterdd commented on 03.02.2016 16:25

It can be seen as a problem of the Lightbox javascript.
If the browser has scwitched off javascript (e.g. Firefox about:config ‘javascript.enabled’ set to ‘false’), it is possible to save the attachment images.

I use another Lightbox plugin in a webshop for viewing zoomed product images and there it is no problem to use the right mouseclick-context menu and then you can select
“open link in new tab” and so on (tested firefox43) and you can also save the image.

Maybe we can simple modify some options of the current lightbox in flyspray, so the user can simply use the rightmouseclick-context menu..
Currently a rightmouseclick on a attachment link is like a left mouseclick..

Project Manager
peterdd commented on 10.02.2016 20:33

made a change on github.
Now additional downloadlink is shown for attachment images until the javascript lightbox is modernized.

Project Manager
peterdd commented on 30.11.2016 10:21

Maybe

header('Content-Disposition: attachment; filename=...

for forcing the download of images, instead of just

header('Content-Disposition: filename=...
Ivan Cigic commented on 28.12.2016 10:33

dear Peter
maybe this is not an issue, but my problem is: upload images approximately 3000 px x 2000 px and this image apears larger than the monitor
is it possible that the image is automatically resized to 800 px x xxx px size

Project Manager
peterdd commented on 10.01.2017 18:51

I added your wish as FS#2325 , so any further discussion of your topic there.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing