Show viewer percent and snap the viewer
There are two commits:
-
Harish's "Show resize status" is from !70 (closed), with the logic moved from
ViewerContainer
further down toOverlayStack
. I removed aGLib.timeout_add(1000, self.__viewer_realization_done_cb, None)
call fromundock
because it is callingself.__createNewViewer()
which is doing that already. -
A simplified version of Harish's "Snapping while resizing", which takes advantage of the fact that
VideoWidget
is aGtk.Frame
which allows controlling the size allocated to the child widget throughdo_compute_child_allocation
. Thanks Harish for doing the initial research!
@harishfulara @thiblahute Could you please review and try it out.
Edited by Alexandru Băluț