Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep file format #3

Open
azubieta opened this issue Dec 29, 2018 · 6 comments
Open

Keep file format #3

azubieta opened this issue Dec 29, 2018 · 6 comments

Comments

@azubieta
Copy link

If a Desktop file is loaded and saved again without the fields will be rearranged.
Use the following desktop file data to reproduce the error: https://specifications.freedesktop.org/desktop-entry-spec/latest/apa.html

@probonopd
Copy link

Why is rearranging the fields a problem?

@TheAssassin
Copy link
Member

Because the specification forbids it. And we want to comply.

@probonopd
Copy link

That's a good reason indeed. 👍

@azubieta azubieta self-assigned this Dec 31, 2018
@azubieta
Copy link
Author

I'm already working on this.

@TheAssassin
Copy link
Member

I would like this to be implemented only by a change from the data structure from a map to a vector of pairs. This would help implementing translations in the future.

@TheAssassin
Copy link
Member

Oh, and also comments would be supported that way. I'd just store them sequentially, with a key # and the contents in the value.

@azubieta azubieta removed their assignment Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants