Bug symptom :
Fix the bugs and allow to avoid launching a PreviewJob with all files even when the preview is disabled.
Bug symptom :
Fix the bugs and allow to avoid launching a PreviewJob with all files even when the preview is disabled.
No Linters Available |
No Unit Test Coverage |
Buildable 10029 | |
Build 10047: arc lint + arc unit |
Sorry to be pedantic, but we are fixing two different bugs, right? Would it be possible to split this patch into two commits?
The two weird behavior are the same bug.
They sum up the same way : the video widget visibility is not synched to the state of the setting InformationPanelSettings::previewsShown.
@ngraham I have made a couple of changes to the patch since you reviewed.
Namely addin refreshPreview() and using refreshMetaData for a different purpose.
This was needed otherwise the patch introduced a bug.
src/panels/information/informationpanel.cpp | ||
---|---|---|
212 ↗ | (On Diff #54402) | This looks like an unrelated cosmetic change that could go in another commit. |
src/panels/information/informationpanelcontent.cpp | ||
177–186 ↗ | (On Diff #54402) | Unrelated whitespace changes. |
200 ↗ | (On Diff #54402) | Unrelated whitespace changes. |
src/panels/information/informationpanelcontent.h | ||
77 ↗ | (On Diff #54402) | Please add documentation for this method. |
84–87 ↗ | (On Diff #54402) | Please update the documentation, as refreshMetaData() won't refresh the visibility of the metadata anymore after this patch. |
Please push to the 19.04 branch. Thanks!
src/panels/information/informationpanelcontent.cpp | ||
---|---|---|
177–186 ↗ | (On Diff #54402) | Ah you're right, the phabricator UI confused me :/ |