Fix flickering of imageViewer
ClosedPublic

Authored by atulsharma on Jul 14 2017, 4:11 PM.

Details

Summary

Refs T6497

  • If a command line image is passed it first showed the alumview and then flickers to show imageviewer
  • this patch allows to show imageviewer in case an image is given

Diff Detail

Repository
R659 Koko Image Gallery
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
atulsharma created this revision.Jul 14 2017, 4:11 PM
mart requested changes to this revision.Jul 14 2017, 5:02 PM
mart added inline comments.
src/imagefoldermodel.h
74 ↗(On Diff #16712)

again, you don't need to add new signals,
just set the predefined state in ImageViewer like

state: imagePathArgument != "" ? "open" : "closed"

This revision now requires changes to proceed.Jul 14 2017, 5:02 PM
atulsharma updated this revision to Diff 16714.Jul 14 2017, 5:39 PM
atulsharma edited edge metadata.

Changes a little bit of implementation to set the directoryPath to ~/Pictures later

mart accepted this revision.Jul 14 2017, 5:42 PM
This revision is now accepted and ready to land.Jul 14 2017, 5:42 PM
This revision was automatically updated to reflect the committed changes.