Skip to content

Simplify canvas settings window #777

Closed

Description

@morevnaproject

I am proposing to create a simplified Canvas settings window, which will allow to easily set dimensions of working document.

At this moment Canvas Properties window looks like this (many options and 3 tabs!):
screenshot_018

We need something like this (taken from Flash):

flash_s

Useful reading on this topic: http://www.segtsy.com/2013/12/a-significant-synfig-setback/


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. rockyhandsome1 commented on Mar 19, 2019

    @rockyhandsome1
    Contributor

    Do you mean that the entire properties window to be replaced by the documents settings window. If yes then the user will be left with just few options..

  2. morevnaproject commented on Mar 20, 2019

    @morevnaproject
    MemberAuthor

    @rockyhandsome1 My suggestion to create a simple window and add "Advanced..." button there. Clicking it will display the current window with all complicated options.

  3. morevnaproject commented on Apr 3, 2019

    @morevnaproject
    MemberAuthor

    So, I assume we need to cover following cases:

    1. "Canvas" -> "Resize" - Resizing canvas together with its content.
      By default width linked with height to keep aspect ratio. User can unlink those values and in this case canvas expands appropriately.
      This is current default behavior of "Canvas->Properties" window with Locks and Links set as follows:
      screenshot_007
    2. "Canvas" -> "Set Dimensions" - Expanding/shrinking canvas (without changing its content size).
      By default width and height do not depend on each other. But user can link them to keep aspect ratio,
      This is an equivalent of following settings for Locks and Links in "Canvas->Properties" window:
      screenshot_008
    3. "File" -> "Render" - Set size for rendering output. Resizes image together with its content.
      By default width linked with height to keep aspect ratio. User can unlink those values and in this case content of canvas is stretched as shown in Lock ratio button unexpectedly crops the canvas #771 (comment)
      This is an equivalent of following settings for Locks and Links in "Canvas->Properties" window:
      screenshot_009
  4. bajajvinamr commented on Nov 29, 2019

    @bajajvinamr

    Is this issue open at the moment and if yes, i would like to work upon it

  5. morevnaproject commented on Nov 29, 2019

    @morevnaproject
    MemberAuthor

    Hi @bajajvinamr and welcome to Synfig! Your help is much appreciated here. ^__^

    BTW, I received your message about course request, which you sent via contact form. But I wasn't able to reply - message returns with a "No Such User Here" error.
    Possibly mistake in your contact email address? Please send one more message with correct email via contact form again. ^__^

  6. ankit-kumar-dwivedi commented on Nov 29, 2019

    @ankit-kumar-dwivedi
    Member

    @bajajvinamr assigning you this one :)

  7. ice0 commented on Mar 5, 2020

    @ice0
    Collaborator

    @bajajvinamr do you want to continue working on this?

  8. rodolforg commented on Apr 20, 2020

    @rodolforg
    Contributor

    @morevnaproject do you mean simple menu entries?

    1. **"Canvas" -> "Resize"**
    
    2\. **"Canvas" -> "Set Dimensions"** -
    
  9. me-tusharchandra commented on Jun 3, 2020

    @me-tusharchandra

    I would like to work on this issue.

  10. 16 remaining items

  11. morevnaproject commented on Nov 23, 2020

    @morevnaproject
    MemberAuthor

    Does that mean Locks and Links will have to be there in each dialog ie., Resize and Set Dimensions?

    I assume Locks and Links shouldn't be visible. Those are internal parameters, not needed by average user.

    I expect this feature to be implemented as follows:

    1. Add "Canvas" -> "Resize..." menu entry.
    2. This menu entry will show a simple dialog with those simple elements -
      screenshot_004
    3. Dialog will also include a button with "Advanced..." text label + OK/cancel buttons.
    4. Clicking "Advanced..." button hiddes the simple dialog and shows complicated "Properties" window (the one which is currently shown when we call "Canvas" -> "Properties" menu item).
    5. When user clicks OK. the code takes Width/Height values and passing proper Locks and Links flags to RendDesc (see Lock ratio button unexpectedly crops the canvas #771 (comment) for details).

    Same for Canvas resize function:

    1. Add "Canvas" -> "Set Dimensions..." menu entry.
    2. This menu entry will show a simple dialog with those simple elements -
      screenshot_003
    3. Dialog will also include a button with "Advanced..." text label + OK/cancel buttons.
  12. Keyikedalube commented on Nov 24, 2020

    @Keyikedalube
    Contributor

    Does that mean...

    1. Width, Height, and link toggle-button (your screenshots above) have to be removed from the Canvas Properties dialog?
    2. Remove Canvas Properties menu item from the menubar? And let Resize and Set Dimensions "Advanced..." button open the said dialog?
  13. morevnaproject commented on Nov 24, 2020

    @morevnaproject
    MemberAuthor
    1. Width, Height, and link toggle-button (your screenshots above) have to be removed from the **Canvas Properties** dialog?
    

    No, I think it is okay to keep it.

    2. Remove Canvas Properties menu item from the menubar? And let **Resize** and **Set Dimensions** "Advanced..." button open the said dialog?
    

    Yes, "Canvas" - "Properties" can be removed, but as the last step (when Resize and Set Dimensions will be fully implemented).

  14. Keyikedalube commented on Nov 24, 2020

    @Keyikedalube
    Contributor

    @morevnaproject Got it and thanks :)

  15. Keyikedalube commented on Nov 25, 2020

    @Keyikedalube
    Contributor

    BTW, Canvas Properties dialog should also be redesigned. I made a PR a while ago where I implemented Canvas Properties dialog glade file and adjusted the main notebook content alignment for UI consistency. Then I closed it and mentioned the reason #1577 (comment) for the new dialog window being too large. In the screenshot, the widgets from Image tab may look OK but not the other tabs. Body content was too spacious and also notice the large Name and Description entry widget. Overall, the current design became more inconsistent with space distribution.

    I have this new Image tab layout in mind but it's not the best either:

    Width  <spin-entry> t    Physical Width  <spin-entry>
    Height <spin-entry> b    Physical Height <spin-entry>
    
    XRes   <spin-entry> t          Image Size Ratio
    YRes   <spin-entry> b              <ratio>
    

    Pro - Large width length is adjusted at least
    Con - Height is gained

    Also a silly pro - I get to reuse, rebase, and resubmit my old PR again but under a new branch name LOL

  16. Keyikedalube commented on Nov 25, 2020

    @Keyikedalube
    Contributor

    Useful reading on this topic: http://www.segtsy.com/2013/12/a-significant-synfig-setback/

    Read that post. I don't heavily work on imported raster files so I'm oblivious to this nasty pothole. I mostly prefer drawing from Inkscape and saving it to synfig file format afterward.

    The blogger clearly explained the weirdness between

    • what's seen (thought canvas was resized too) and
    • what's happening (was resized only for output rendering)

    and I agree with the post. We're not supposed to expect users to understand Synfig specific internals. That's bad design.

    I assume Image Area widgets values have to be automatically computed from Image Size Width and Height values? And safely remove the former section from Canvas Properties dialog.

  17. Keyikedalube commented on Nov 27, 2020

    @Keyikedalube
    Contributor

    I have this new Image tab layout in mind but it's not the best either:

    Width  <spin-entry> t    Physical Width  <spin-entry>
    Height <spin-entry> b    Physical Height <spin-entry>
    
    XRes   <spin-entry> t          Image Size Ratio
    YRes   <spin-entry> b              <ratio>
    

    Or put the above new layout Image Size section in a new tab called Render and rename Image tab to Canvas

  18. Keyikedalube commented on Nov 28, 2020

    @Keyikedalube
    Contributor

    I'm working on this issue :)

  19. rodolforg commented on Nov 28, 2020

    @rodolforg
    Contributor

    Well, Synfig actually

    I assume Image Area widgets values have to be automatically computed from Image Size Width and Height values? And safely remove the former section from Canvas Properties dialog.

    In normal cases, yes. But some advanced users don't like removing this feature.

    Konstantin also proposed in other issue to provide simple/direct canvas (re)sizes IARC

  20. Keyikedalube commented on Nov 28, 2020

    @Keyikedalube
    Contributor

    Anyway, I'm not touching Canvas Properties dialog. My suggestions/proposals would only end up making the dialog more complicated with too many tabs and isolated widgets that depend on each other.

    I find the names Image Size and Image Area in the Image tab quite confusing. Should be named something like Render Size and Canvas Size. Size and Area quite denote the same thing but with names like Render and Canvas... we now know those widgets specific purpose. But this is a separate issue so not fixing it here.

  21. morevnaproject commented on Dec 3, 2020

    @morevnaproject
    MemberAuthor

    I assume Image Area widgets values have to be automatically computed from Image Size Width and Height values? And safely remove the former section from Canvas Properties dialog.

    I think the purpose of those widgets is to set the placement of (0,0) point? ^__^
    With default values it is in the middle of canvas.
    screenshot_003

    Maybe some users might want to have (0,0) point in top-left corner.
    But in this case (in my opinion) we have to provide a different GUI approach to set this (maybe by right-clicking a ruler?)
    BTW, I am curious how this solved in AfterEffects?

  22. Keyikedalube commented on Dec 3, 2020

    @Keyikedalube
    Contributor

    Thanks for the info. A while ago I read this Canvas Properties wiki page. Those widgets (and core synfig code) are too complicated for me. I don't really know their specific use cases other than guessing those are for advanced users who wishes to have absolute or just more control of their canvas ;P

    BTW, I am curious how this solved in AfterEffects?

    Sorry, not my area :(

    My focus is fixed on what you laid above: Canvas Resize and Set Dimensions dialogs. Canvas Properties remain intact.

  23. self-assigned this
    on Apr 19, 2021
  24. unpinned this issue on Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions