Skip to content

Cancel/Confirm buttons position is not consistent across all dialogs #1165

Closed

Description

@FirasH

Synfig version & platform:
Master 09220e

Issue description:
In most cases the dialogs have the button to confirm on the right and the button to cancel on the left. For example:
example_left-right

There are some dialogs which have the opposite design. For example:
other-example

I would suggest to make all dialogs consistent. What do you think?


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

Activity

  1. ice0 commented on Feb 20, 2020

    @ice0
    Collaborator

    Awesome idea! I like it!

  2. morevnaproject commented on Feb 20, 2020

    @morevnaproject
    Member

    Agree

  3. haideratGitHub commented on Feb 20, 2020

    @haideratGitHub

    @ice0 Thanks for guiding me on synfig forum. As you have guided me enough so I would like to work on this issue and get it done as soon as possible :)

  4. FirasH commented on Feb 20, 2020

    @FirasH
    MemberAuthor

    Which order would you give to the buttons?
    For example: cancel | other option () | confirm?

  5. ice0 commented on Feb 20, 2020

    @ice0
    Collaborator
  6. haideratGitHub commented on Feb 20, 2020

    @haideratGitHub

    @FirasH
    I would give confirm | cancel | other option ()
    Because that seems much more appropriate to me

    But I have a question! Should I consider Apply as Confirm or OK as other option or vice versa ?
    because in Edit/Preferences order is Restore | cancel | OK
    and in Canvas/Properties order is OK | Apply | cancel
    As far my understanding
    OK | cancel | Apply = Confirm | cancel | other option()
    OK | cancel | Restore = Confirm | cancel | other option()

    In that order buttons of whole app would be in symmtery.
    What do you think ?

  7. haideratGitHub commented on Feb 20, 2020

    @haideratGitHub

    @ice0 The reference you provided says the order should be Cancel | Confirm | Other option()

    https://developer.gnome.org/hig/stable/dialogs.html.en
    Order
    When a dialog includes an affirmative and a cancel button, always ensure that the cancel button appears first, before the affirmative button. In left-to-right locales, this is on the left.
    This button order ensures that users become aware of, and are reminded of, the ability to cancel prior to encountering the affirmative button.

    But I was thinking of order Confirm | Cancel | other option()
    What do you suggest ?

  8. FirasH commented on Feb 20, 2020

    @FirasH
    MemberAuthor

    @haideratGitHub I think the confirm button is OK, cancel button is Cancel and the other option is Apply/Restore or whatever is different from OK/Cancel.

    If we take as reference the layout of GIMP:
    gimp-dialog-layout

    The layout used is: other option | confirm | cancel

    Using this rule, in the specific case of the dialog Edit > Preferences... of Synfig the order should be: Restore Defaults | OK | Cancel
    synfig-dialog-layout
    Which means the last two buttons on the right should be swapped and of course the other dialogs should follow this rule as well.

    Personally I think the layout used by GIMP (and by many others) is clear and intuitive.

  9. FirasH commented on Feb 20, 2020

    @FirasH
    MemberAuthor

    In the case of the examples provided:

    • File > Preview... should have the order: Preview | Cancel
    • Canvas > Options... should have the order: Apply | OK | Cancel

    Let's see what the developers think about it.

  10. haideratGitHub commented on Feb 20, 2020

    @haideratGitHub

    @FirasH Yeah That's good , Agreed. Should I start resolving this issue right now or wait for other's developer's opinion ?

  11. FirasH commented on Feb 20, 2020

    @FirasH
    MemberAuthor

    I would wait for the opinion of @ice0 and @morevnaproject as they are two of the main developers.

  12. haideratGitHub commented on Feb 20, 2020

    @haideratGitHub

    Okay! we'll see what they will say

  13. 9 remaining items

  14. ice0 commented on Feb 21, 2020

    @ice0
    Collaborator

    @morevnaproject This is because you are not Linux only user. But for Windows users, standard [Cancel] button location is on the right side.

  15. haideratGitHub commented on Feb 22, 2020

    @haideratGitHub

    @ice0 and @morevnaproject I just wanted to ask what order will you suggest finally so I can work on that issue ? Because there had been many ideas about ordering of buttons so can you please give me a final pointer and also where should I start looking to correct their ordering in code ?

  16. rodolforg commented on Feb 22, 2020

    @rodolforg
    Contributor

    IMHO It is interesting that an app have a look-and-feel natural for the host OS. Otherwise an user can think it's an alien app lol

    But there might be a problem: we start to use glade files for UI... How could them could be handled to be adapted to the host OS?

    In the meantime, @haideratGitHub, you can make a list of the dialogs with this "button-box" (with more than one "Ok" button) until the button ordering is defined.

  17. haideratGitHub commented on Feb 23, 2020

    @haideratGitHub

    @rodolforg I had made list first day when I commented in this issue. Let me share that

    File

    • Open > Cancel | Open | Open History
    • Save > Cancel | save
    • Save as > Cancel | save
    • Save all > Cancel | save
    • Preview > Cancel | preview
    • Render > Render | cancel

    Edit

    • Input devices > OK | cancel
    • preferences > Restore | cancel | OK

    Canvas

    • Properties > OK | Apply | cancel
    • Options > OK | Apply | cancel

    Layer

    • Add layer to set > cancel | Add

    Plug-Ins

    • Skeleton > cancel | proceed
    • Export to Lottie > cancel | proceed
    • Unhide layer > cancel | proceed

    Exit > Close without saving | Cancel | Save

    I find these buttons.

  18. FirasH commented on Feb 23, 2020

    @FirasH
    MemberAuthor

    There are other dialogs as well:

    • Parameters > right-click > Export Value
    • Keyframes > right-click > Keyframe Properties
    • Keyframes > right-click > Set Keyframe Description
    • Timetrack > double-click on waypoint > Waypoint Editor
    • Sound > open file
    • Layers > right-click > Set Layer Description

    Plus all the dialogs for replace/recover/etc.

  19. morevnaproject commented on Feb 24, 2020

    @morevnaproject
    Member

    IMHO It is interesting that an app have a look-and-feel natural for the host OS

    @ice0 @rodolforg Okay, I trust you here to make a final decision here. ^__^

    But there might be a problem: we start to use glade files for UI... How could them could be handled to be adapted to the host OS?

    That's a good question! Maybe there is a predefined container for widgets, that switch automatically?

  20. ice0 commented on Feb 27, 2020

    @ice0
    Collaborator

    Here's how GIMP handle this:
    https://gitlab.gnome.org/GNOME/gimp/blob/master/app/dialogs/image-new-dialog.c#L111

    And GTKDialog method:
    https://developer.gnome.org/gtk3/stable/GtkDialog.html#gtk-dialog-set-alternative-button-order

    But there might be a problem: we start to use glade files for UI... How could them could be handled to be adapted to the host OS?

    I need a time to find solution, but i think we can fix this later.

    UPD: gtk-dialog-set-alternative-button-order is deprecated.

  21. rodolforg commented on Mar 3, 2020

    @rodolforg
    Contributor

    I think they can be made first consistent (one single order pattern) and we later adapt them to OS?

    Perhaps by making a call to a stub method that would fix button ordering according to host OS, we could easily change ordering later.

  22. haideratGitHub commented on Mar 3, 2020

    @haideratGitHub

    What should I do now ??

  23. rodolforg commented on Mar 3, 2020

    @rodolforg
    Contributor

    If your list is finished*, I'd make all dialogs use Cancel-extra buttons-OK order, as it seems most of them follow this ordering (#1165 (comment)).

  24. haideratGitHub commented on Mar 3, 2020

    @haideratGitHub

    @rodolforg Okay! I will check that. Meanwhile, may you please suggest/assign me with another issue from which I can start contributing to synfig ?

  25. morevnaproject commented on Mar 4, 2020

    @morevnaproject
    Member

    Meanwhile, may you please suggest/assign me with another issue from which I can start contributing to synfig ?

    @haideratGitHub Please feel free to choose from any of those - good first issue (I mean unassigned ones ^__^)

  26. ice0 commented on Mar 5, 2020

    @ice0
    Collaborator

    @haideratGitHub you can also ask for assigned one, if the last comment in issue is older than one month :)

  27. FirasH commented on Aug 14, 2020

    @FirasH
    MemberAuthor

    No recent activity here... I can take a look at this one.

    First I'd place all the buttons in a coherent order then deal with the possibility of different layout for OSes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions