Skip to content

Implement FileSavePicker for Gtk - #6544

Merged
mergify[bot] merged 1 commit into
unoplatform:masterfrom
Youssef1313:file-save-picker
Oct 3, 2021
Merged

mergify[bot] merged 1 commit into
unoplatform:masterfrom
Youssef1313:file-save-picker

Conversation

@Youssef1313

@Youssef1313 Youssef1313 commented Jul 23, 2021 •

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): #6126

PR Type

What kind of change does this PR introduce?

  • Feature

What is the current behavior?

FileSavePicker is not implemented for Gtk

What is the new behavior?

FileSavePicker is now implemented for Gtk

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Fixes #6126

@gitpod-io

gitpod-io Bot commented Jul 23, 2021

Copy link
Copy Markdown

@CLAassistant

CLAassistant commented Jul 23, 2021 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Youssef1313
Youssef1313 force-pushed the file-save-picker branch 2 times, most recently from fdcfd33 to a99c578 Compare July 23, 2021 18:15
@Youssef1313

Copy link
Copy Markdown
Member Author

I'm not sure how to write tests or run existing tests if any for this. :(

@Youssef1313
Youssef1313 marked this pull request as ready for review July 23, 2021 18:26
@Youssef1313
Youssef1313 requested a review from a team July 23, 2021 18:26
@MartinZikmund

Copy link
Copy Markdown
Member

@duke7553 can you check this one please :-) ?

@lukeblevins

Copy link
Copy Markdown
Contributor

@MartinZikmund @Youssef1313 I can't properly evaluate this within the FileSavePicker tests from the SamplesApp because of #6334, but the code looks good to me. I think all of the essential properties for FileSavePicker were covered in this PR!

@lukeblevins
lukeblevins self-requested a review July 26, 2021 23:31
@lukeblevins

Copy link
Copy Markdown
Contributor

(Didn't mean to approve on behalf of the group)

@MartinZikmund

Copy link
Copy Markdown
Member

@Youssef1313 have you also hit the #6334 while testing this?

@Youssef1313

Copy link
Copy Markdown
Member Author

@Youssef1313 have you also hit the #6334 while testing this?

I didn't actually get how the testing works in the repo tbh. So I don't know if there are existing tests somewhere that needs to be updated to include the extra platform, or if this requires new tests. I'm very new to the repo 😄

@jeromelaban

Copy link
Copy Markdown
Member

@Youssef1313 have you also hit the #6334 while testing this?

I didn't actually get how the testing works in the repo tbh. So I don't know if there are existing tests somewhere that needs to be updated to include the extra platform, or if this requires new tests. I'm very new to the repo 😄

Testing this kind of feature needs to be done manually at this point, we don't automate the skia part yet.

@Youssef1313

Copy link
Copy Markdown
Member Author

@Youssef1313 have you also hit the #6334 while testing this?

I didn't actually get how the testing works in the repo tbh. So I don't know if there are existing tests somewhere that needs to be updated to include the extra platform, or if this requires new tests. I'm very new to the repo 😄

Testing this kind of feature needs to be done manually at this point, we don't automate the skia part yet.

Is there a documentation in the repo on how to do manual testing?

@MartinZikmund

Copy link
Copy Markdown
Member

@Youssef1313 You can launch SamplesApp.Skia.Gtk and then open Windows.Storage category in the left menu. There should be FileSavePickerTests page, where you can test the API along with various configuration options 👍

@Youssef1313

Copy link
Copy Markdown
Member Author

@MartinZikmund The description there says:

image

But looks like it's working.

image

The only thing is that file type choices seems to be ignored. But #6544 (comment) saying that all the needed properties are covered. So I'm confused.

@Youssef1313

Copy link
Copy Markdown
Member Author

Actually I just hit #6334

image

but doesn't seem to be consistent.

@MartinZikmund

Copy link
Copy Markdown
Member

Actually I just hit #6334

image

but doesn't seem to be consistent.

Very odd 🤔🤔🤔. I really have no clue why this is happening 🤔.

@Youssef1313

Copy link
Copy Markdown
Member Author

Ping @duke7553 for #6544 (comment).

campersau added a commit to campersau/NuGetPackageExplorer that referenced this pull request Aug 14, 2021
@Youssef1313

Copy link
Copy Markdown
Member Author

I just tried, and I'm having an issue supporting FileTypeChoices anyway. So probably this is good to merge without FileTypeChoices and fix that as a followup?

cc @duke7553 @jeromelaban @MartinZikmund

@jeromelaban

Copy link
Copy Markdown
Member

If FileTypeChoices is not working for now, let's open another issue and let get this merged without it.

@Youssef1313

Copy link
Copy Markdown
Member Author

@jeromelaban Is this ready to merge?

@Youssef1313

Copy link
Copy Markdown
Member Author

Re-trigerring a new build just in case :)

@Youssef1313 Youssef1313 reopened this Sep 10, 2021
@Youssef1313

Copy link
Copy Markdown
Member Author

@jeromelaban Is this ready to merge?

@MartinZikmund MartinZikmund added the ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met label Oct 1, 2021
@mergify
mergify Bot merged commit e122ac3 into unoplatform:master Oct 3, 2021
@Youssef1313
Youssef1313 deleted the file-save-picker branch October 4, 2021 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Automatically merge the PR once all '.mergify.yml' policies are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GTK] FileSavePicker

5 participants