-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle out-of-flow frame for interactive documents #362
Comments
As a proof-of-concept, I spend some time working on the code : See here for an example of what I obtain. By looking at frame number on the top-left, you will see some frame are skipped as part of the presentation flow. Those are hidden frame (based on showInFrameList in this example). If at any point of the presentation you click on the hand, lungs or knees, the presentation will zoom to that area as they are associated with a link. Once zoomed, if you click outside of the link area, you go back to the parent frame. To do that, I've introduced the notion of hierarchical frame. A frame with an id like arm/hand is considered as a sub-frame, and the next frame is assumed to be its parent. Here, the arm frame. |
Thanks for your contribution. I will have a look at your pull request, but I don't have a lot of time to spend on Sozi at the moment.
The purpose of the property "Show in frame list" is not to show or hide frames. |
I just implemented these changes, adapted to the current version of the repository, because I also need hidden frames for interactive documents, and the "Show in frame list" feature is the closest thing to that option: if the frame is not shown in the frame list, it seems logical to me that it should not be shown in the play sequence either. In case it is of interest to others, these are the changes I had to make to the current version of the repository to get this functionality in my presentation:
|
I understand your point of view but I don't agree. The purpose of the "Show in frame list" feature is to select which frames are reachable from the frame list. It does not imply that the other frames should be skipped when the presentation is played. In some of my presentations, the frame list provides links to the main chapters and sections only, because it is not always relevant to list all frames. I still believe that "Show in frame list" and "Skip frame" are different features. For the context, the pull request by @s-leroux made a clever use of three existing features (frame IDs, hyperlinks, and hiding frames from the frame list) to support a hierarchical presentation flow. I believe this was great as a proof of concept, but it would deserve to be implemented as a specific feature. |
As far as I can tell, when creating a new frame, it is automatically added to the "flow" of the presentation.
But this is not required for the target of a link : there are situations where the target frame of a link should only appear when manually activating the link. And not automatically as part of the presentation flow. This is especially true for interactive presentations.
Ideally (?) the transition after such "out-of-flow" frame should go back to the previous frame.Maybe we could leverage the "Show in frame list" feature to consider a hidden frame as "out-of-flow" and not showing it at part of the linear flow of the presentation ?
The text was updated successfully, but these errors were encountered: