Added Chinese(Simplified) translation. #33
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@prateekmedia Hi. This is my first ever contribution to any Open Source software and I would like to utilize this commit as a conversation starter for issue #16 and present my findings about it. First of all, I can confirm the issue persists on KDE Neon 5.23.4, apart from aforementioned distributions in the issue thread. Here is the console output of the exact exception thrown by Flutter sdk (ignoring the ones regarding SVG) :
I have tried using the latest version (4.3.0) of file_picker to no success. As the implementation for Linux stayed the same from file_picker-4.2.8/lib/src/file_picker_linux.dart line 91-97
As Null safety is the way going forward with Flutter development, I did not check to see for a workaround with older file_picker versions, although I have found they can provide a possible solution https://stackoverflow.com/questions/66541523/file-picker-plugin-doesnt-return-absolute-path-for-write-file-in-flutter.
Even though qarma (https://github.com/luebking/qarma) is a zenity clone based on Qt, it is not used in KDE Neon, Kdialogs (https://develop.kde.org/deploy/kdialog/#file-selection-dialogs) is used instead. @mijorus from issue thread mentioned Pop!_OS 20.04, which packages zenity https://distrowatch.com/resource/popos/popos-20.04.txt. And I would like to draw your attention to this issue miguelpruivo/flutter_file_picker#903, where this behavior was mentioned. Even though they have concluded it to be a result of using the snap package of VSCode, I can confirm the issue persists in using of the .deb package format of VSCode as well.
To get a better picture of the nuances of this particular situation, I would like to invite you watch this video https://www.youtube.com/watch?v=QmcV3scJKXc, since this piece of software is intended to be used across multitude of Linux distributions, where specifications can range from super minimal installation of Linux utilizing various Window managers to fully feature packed gamer focused distros eg Garuda.
As a novice who took interest in software development, I am asking for directions, resources, documentations anything that can point me towards places where I can learn more about working with code that affect real world products, as depth of my understanding is lacking. Thank you.