Project

General

Profile

Actions

Bug #15767

open

Clicking on a picture widget downloads a file named "widget_image.picture-0"

Added by Manuel Carrera about 2 months ago. Updated 1 day ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Dashboard
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

I use the picture widget on the dashboard to show a map of the network, of course the widget is too small so I click on it to get the image in full size when I need to.

But when I do that, the widget forces the download of the image as a file named "widget_image.picture-0", which makes no sense from a user perspective.

I think the file should at least use the name or extension of the uploaded file, so the file can be correctly opened as the image it is. And clicking on the picture widget should not force a download, but instead simply open a new tab directly linking the image, so the user can see it and still be able to download it with a right-click if needed.

Alternatively someone could make a fancy UI that shows the image in a pop-up without leaving the page, but unless there is an easy to implement JS library for that, I don't think this will happen anytime soon, so let's focus on the easier solution... :P

Also just in case I tested this in Vivaldi and Edge and both shows the same outcome, so this problem really comes from how the widget is coded rather than a browser specific behavior.

Thank you for your help!

Actions #1

Updated by dylan mendez about 2 months ago

What browser are you using? What pfSense version? I'm unable to replicate on 24.03 Chrome and Firefox

Actions #2

Updated by Manuel Carrera about 2 months ago

dylan mendez wrote in #note-1:

What browser are you using? What pfSense version? I'm unable to replicate on 24.03 Chrome and Firefox

Really? I'm surprised.

I have a Netgate 8200 router with pfSense Plus 24.03-RELEASE (amd64).
My PC is on Windows 10 and I used Vivaldi 6.9.3447.54 (with many extensions) and Edge 129.0.2792.89 (x64) in an InPrivate window with no extension.

I also switched my pfSense to english and tried to upload a different image in another format, but the result is the same.

Actions #3

Updated by Manuel Carrera about 2 months ago

I should also add that I have the "System Patches" package and applied all recommended system patches, I have no other patch.

Actions #4

Updated by Danilo Zrenjanin about 1 month ago

  • Status changed from New to Confirmed

I successfully replicated the reported behavior. When I click on the image imported into the widget, it downloads with the name widget_image.picture-0 instead of opening the image.

Tested against:

pfSense Plus
24.03

macOS version 15.0.1
Chrome for macOS browser
Actions #5

Updated by Jordan G 17 days ago

running 24.11.r.20241112.1813 clicking the picture results in downloading widget_image.png and shows the correct image

Actions #6

Updated by Jordan G 3 days ago

seems to be working as intended with 24.11-release

Actions #7

Updated by Jim Pingle 1 day ago

Seems to be browser-specific. Firefox gets the name correct, Chrome/Chromium gets the name wrong. Browsers based on those engines will likely behave similarly depending on their lineage.

Actions

Also available in: Atom PDF