News for hackers. Stuff that matters.
Re:Apple launches Freeform: a powerful new app designed for ... by danielvaughn on Wednesday December 21, 2022 @09:48AM (#34081357)
Just a few days ago I needed to edit a CSV file from a codebase I was working on. Opened it up in Numbers, changed a couple of cells, saved it. Later I realized none of my changes were in the CSV file. Turns out Apple saved it as some kind of other proprietary file. From now on I'll just open my files in VSCode, because that's easier than worrying about getting sucked into the Apple ecosystem.
Re:Apple launches Freeform: a powerful new app designed for ... by _Algernon_ on Wednesday December 21, 2022 @10:28AM (#34081914)
It sounds like you need to export instead. CSV export isn't under save because it doesn't retain all the details of the document (such as formatting). This behaviour is standard and can be seen in MS Excel, LibreOffice, etc. as well.
Re:Apple launches Freeform: a powerful new app designed for ... by ceejayoz on Wednesday December 21, 2022 @10:56AM (#34082314)
> CSV export isn't under save because it doesn't retain all the details of the document (such as formatting). This behaviour is standard and can be seen in MS Excel, LibreOffice, etc. as well.

Office warns me my changes will be lost and offers to change to XLSX. Numbers just changes it silently, without warning.

Re:Apple launches Freeform: a powerful new app designed for ... by brazzledazzle on Wednesday December 21, 2022 @02:03PM (#34084877)
And I thought the Excel UX for this was annoying. Silently saving another copy of the file is terrible.
Re:Apple launches Freeform: a powerful new app designed for ... by irskep on Wednesday December 21, 2022 @01:23PM (#34084374)
LibreOffice will happily re-save CSV in place. That's the only reason I have it installed! But Excel does require the same workflow as Numbers.
Re:Apple launches Freeform: a powerful new app designed for ... by Technetium on Wednesday December 21, 2022 @02:32PM (#34085310)
If you are concerned about retaining formatting in comma separated values, you have MUCH bigger prerequisite problems to figure out.
Re:Apple launches Freeform: a powerful new app designed for ... by reaperducer on Wednesday December 21, 2022 @10:20AM (#34081773)
Opened it up in Numbers, changed a couple of cells, saved it. Later I realized none of my changes were in the CSV file. Turns out Apple saved it as some kind of other proprietary file.

Yes, the Numbers program saved it as a Numbers document.

Just like Excel saves Excel files.

That's why it's called "import," not "open."

When you pressed Save, a Save As dialog popped up asking for a name. If you had just saved it to the same file, there would be no Save As dialog. It wouldn't ask you for a name because it knew the name.

This is standard across every app on every Mac going back decades. I don't use Windows very often, but I believe it's the same there, too. You aren't asked for a filename if you're updating the same file.

It doesn't sound like an Apple problem, it sounds like you didn't pay attention, and when the computer did what you asked, you blamed the computer. There's nothing Apple or Microsoft or anyone else can do about that.

Re:Apple launches Freeform: a powerful new app designed for ... by GordonS on Wednesday December 21, 2022 @10:26AM (#34081864)
> Just like Excel saves Excel files

Not if, like the OP, you open a CSV file first, then hit save.

Re:Apple launches Freeform: a powerful new app designed for ... by ezfe on Wednesday December 21, 2022 @10:52AM (#34082254)
You're right, Excel does save back to CSV. It discards half your changes because they can't be saved in a CSV, modifies anything that could possibly be a date, and rounds random numbers, THEN it saves it as a CSV.
Re:Apple launches Freeform: a powerful new app designed for ... by rchaud on Wednesday December 21, 2022 @11:07AM (#34082486)
Before discarding non-compatible changes, it'll tell you, and offer to save as XLSX.

If you're just editing some values, you can save back to CSV with CTRL+S no problems.

Re:Apple launches Freeform: a powerful new app designed for ... by ezfe on Thursday December 22, 2022 @05:59PM (#34100089)
No, you can't. It will import and re-export every cell, not just the one you modify. This includes interpreting dates and rounding numbers that exceed Excel's max value (instead of interpreting as a string)

They have a small banner at the top to warn about this, but it doesn't even address the things that were already lost the instant you opened it.

Re:Apple launches Freeform: a powerful new app designed for ... by sigmonsays on Wednesday December 21, 2022 @10:27AM (#34081885)
honestly though it's a csv file... think it's time for numbers to support it and do what the user expects.
Re:Apple launches Freeform: a powerful new app designed for ... by danielvaughn on Wednesday December 21, 2022 @10:40AM (#34082077)
Yeah this was the point I was trying to make. Obviously I didn't pay attention, but like...if I open a CSV file, my intuition tells me that if I click "save", it will save to the original CSV file. That's how most other programs work. Just because Excel also does it, doesn't make it a good idea. It's a bad idea and it's a hallmark of legacy software.
Re:Apple launches Freeform: a powerful new app designed for ... by ezfe on Wednesday December 21, 2022 @10:54AM (#34082275)
Numbers opens the CSV file, gives the user a screen to control import settings, and supports exporting as a CSV with custom delimeters.

Excel does save back to CSV. It discards half your changes because they can't be saved in a CSV, modifies anything that could possibly be a date, and rounds random numbers, THEN it saves it as a CSV.

Numbers makes this an explicit "Export" option because silently saving these types of changes is super dangerous.

Re:Apple launches Freeform: a powerful new app designed for ... by ceejayoz on Wednesday December 21, 2022 @10:08AM (#34081621)
I've also had this experience; it's a major UX fail. I uninstalled Numbers/Pages after it.
Re:Apple launches Freeform: a powerful new app designed for ... by ezfe on Wednesday December 21, 2022 @10:55AM (#34082296)
Excel will just silently modify everything and "save" it back as a CSV. I would rather that both Excel and Numbers only saved to CSV as an Export option.
Re:Apple launches Freeform: a powerful new app designed for ... by ceejayoz on Wednesday December 21, 2022 @11:00AM (#34082388)
Neither one is good, but at least Excel warns me formatting will be lost.

I wish they'd warn you on first operation that CSV can't handle, and ask.

Re:Apple launches Freeform: a powerful new app designed for ... by scarface74 on Wednesday December 21, 2022 @10:43AM (#34082121)
You mean how it’s worked in every spreadsheet app that I’ve used since 1985?
Re:Apple launches Freeform: a powerful new app designed for ... by brazzledazzle on Wednesday December 21, 2022 @02:06PM (#34084923)
Excel warns you and allows you to save it as a CSV. Still annoying but not as bad as it apparently works in Numbers.