LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
dthor

Make Snippets work with Google Chrome

Status: Declined
In CAR database. CAR 292652

Snippets do not currently work with the Google Chrome web browser. It only displays the file URL.

 

The work around is to save the Snippet to your computer and then drag the .png image to the block diagram, which essentially defeats the puropse of the Snippet.

 

The Idea is to make the drag-and-drop ability of snippets work with Google Chrome.

13 Comments
RavensFan
Knight of NI
altenbach
Knight of NI

Isn't this something that should be solved by the browser teams instead?

Mr.Mike
NI Employee (retired)

@altenbach: Drag and Drop is handled differently by different applications.  The way IE does it and the way Firefox/Safari/Chrome do it are different and we're only handling one of the cases.

 

This is already filed as CAR 292652: VI Snippet can't be dragged from Chrome, Firefox, Safari.

-- Mike
JordanG
NI Employee (retired)
Status changed to: Declined
In CAR database. CAR 292652
Jeff-P
NI Employee (retired)

CAR 292652 discussed in this thread was fixed in  LabVIEW 2014.  For a more complete list of bugs fixed in LabVIEW 2014, check the LabVIEW 2014 Bug Fixes. You can download an evaluation copy of LabVIEW 2014 at www.ni.com/trylabview/ or if you have an earlier version of LabVIEW installed and an active SSP subscription, you will be able to download the latest version of LabVIEW through NI Update Service.

 

Regards,

 

Jeff Peacock 

 

Product Support Engineer | LabVIEW R&D | National Instruments | Certified LabVIEW Architect 

 

PincoG
Member

So, if it is solved, why I still have the problem on my pc?

PincoG_0-1653049205257.png

 

wiebe@CARYA
Knight of NI

>So, if it is solved, why I still have the problem on my pc?

 

This is a Khonos issue.

 

It could very well be an effect of something we actually want (reduce size of transferred data).

 

The link you're dragging isn't a link to the original image, but to an image with a 'reduced' image, resized and without the VI metadata. LabVIEW doesn't see a snippet, because it's not there.

 

For instance

Hello Snippet.png

 

Image URL: https://forums.ni.com/t5/image/serverpage/image-id/303261i6F5611E05A226E71/image-size/large?v=v2&px=...

Doesn't work even if you do a save as...

 

The modified URL: https://forums.ni.com/t5/image/serverpage/image-id/303261i6F5611E05A226E71

Does work when you do a save as.

 

This last image can also be drag\dropped, at least in Edge.

 

If you want to copy the image by it's URL in a post (, manually or with insert image), you need to add the file's name (Queue Skip Wait.png):

https://forums.ni.com/t5/image/serverpage/image-id/303261i6F5611E05A226E71/Hello%20Snippet.png

 

But the image displayed by the forum will again be shrunken.

 

PincoG
Member

Is there something I can do, in Chrome settings for example, to avoid the shrinking images instead of snippets?

wiebe@CARYA
Knight of NI

Pretty sure it's done by Khoros (the forum 'engine'), server side. No browser would be able to easily change that.

 

Chrome seems to be extendable with plugins, but I know absolutely nothing about it.

 

EDIT: Those extensions can alter HTML, so you should be able to change those image URLs with a plugin.

wiebe@CARYA
Knight of NI

BTW, If you extend the image in Edge: 

wiebeCARYA_1-1653056241439.png

There's a download button that does download the original image:

 

wiebeCARYA_0-1653056113031.png

You can actually drag & drop this button into LabVIEW, and as it's a link to the original image, it will paste a snippet!

 

This might work in Chrome...