Bug while saving .png file

bug

#1

Using SketchUp free (Web) when I save a .png file, the newly created file does not get a file extension (of .png)


#2

Does it open in your image editor?


#3

If you change the file extension, is it still a valid PNG file?


#4

If I rename with .png extension, the file opens okay.


#5

That’s good. Then it’s a minor error in file naming, but the file itself is valid.


#6

I wonder if it is related to a specific browser. Or do you even have your computer set up to display file extensions? I just downloaded a PNG in Chrome on my Win10 machine and get the extension displayed.


#7

I’m using FIrefox 58.0.2 (64-bit). (Google Chrome has recently been reported as having some serious problems with hackware, so it is what it is). How do I get the support folks to acknowledge and eventually fix this bug?


#8

Evidently SketchUp Free is generating the file extension Firefox isn’t showing it. Have talked to the Firefox support people?


#9

This is frustrating. Let me repeat: Sketchup is not generating a .png extension when the file is saved. How do I get the bug forwarded to the proper people so that it can be fixed?


#10

Strange, I just tested it via Firefox on OSX and it also generated the same issue (creates a png with no extension).

Using Chrome it does put in the extension name:

I am unsure if this is a Trimble or Mozilla issue? Maybe one of the team will know more @SketchUp_Moderator ?

However I am not aware of any bugs in chrome, as long as it’s patched and up to date, I would suggest just using another browser for now.


#11

Thanks for reporting this bug- our team will take a look at it to see if there is a way we can fix the root cause.

I can confirm that Firefox 58.0.2 on macOS does not add the *.png extension to exported images. It does generate a valid image, it just saves it to your local disk without an extension.

Chrome does not exhibit this error, so if you need a workaround in the meantime I suggest you consider using it instead.

I’m not familiar with any current security advisories against using Chrome. I know that development team (some of them personally) and I know they take your security very seriously.


#12

it’s a known bug on mac using anything other than Chrome…

I don’t normally use Chrome, so I built a single site browser just for SketchUp Free…

john


#13

There are ways to get Firefox to display file type extensions. The following links were found:

LINK 1
LINK 2
LINK 3
LINK 4


#14

Cheers, I am using chrome so no issue for me.


#15

That’s not the problem. Forums often lose the original idea. Sketchup does not save a png file with a .png extension. It’s a bug. I want to know how to pass the bug report to someone who actually can fix it, but people are full of ideas and theories that don’t answer the question.
Regards


#16

SketchUp does save the file as a .png, but firefox leaves off the extension, it’s still technically a .png file.

Edit: I think one of those links above allows you to re-add the missing extension in browser.


#17

Did you read through the information I sent you? This situation has been known about Mozilla for some time now and apparently is not deemed a “bug”. You have the option to display or not display extensions of files downloaded with that browser. Whether or not you choose to has no impact on file operation.


#18

Technically, at least at the time I used Macs, there is no such thing as a file extension on a Mac, it is just a convention to mimic Windows filenames by adding a dot plus characters at the end of a file name. The real tag that determines the file type and the application to use when opening it is hidden from the user and can be seen only with a resource editor. On a Mac you can go on and add .jpg at the end of the name of a TIFF file, and it changes nothing.


#19

Thanks Jonh. Obviously this is not a show-stopper bug but even more obviously, this code was designed and maintained by an extremely compentent team, so I’m assuming that you’re looking for any bugs that make the software imperfect. It is a very satisfying program to run, and it puts many other 3D CAD programs to shame.

As far as Chrome, here is a link to the latest report of a serious problem:

Kind Regards


#20

To be fair that’s just scammer tactics rather than a fatal bug inside chrome, it just so happens the Scammers are targeting Chrome users specifically in this case, freezing the active window and sending a message to call them for support: https://arstechnica.com/information-technology/2018/02/tech-support-scammers-have-a-new-trick-to-send-chrome-users-into-a-panic/

You are able to simply close the Chrome window and start a new session for it to go away.

From the article on Ars Technica, there is a similar exploit on Firefox, however unlike Chrome that asks you to call a number, the Firefox version supplies an entry form to enter your User/Pass combo:

They report this exploit is present on other browsers such as Edge. So in this case I would not let this issue stop you from using Chrome, as long as you don’t call them up you will be fine. With the same issue in Firefox, as long as you don’t enter in any details, you can simply close and re-open the browser.

Edit:

Also just checking and it looks like they have fixed this issue in Chrome as of Feb 15th:

https://bugs.chromium.org/p/chromium/issues/detail?id=809775