Skip to content
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

[gui] Datasource manager remove Ok and add Close #5616

Merged
merged 3 commits into from
Nov 15, 2017

Conversation

elpaso
Copy link
Contributor

@elpaso elpaso commented Nov 13, 2017

Remove the "Ok" button (that was really an Add+Close: it added the layer and exited the dialog) in favour of "Close" button:

qgis-add-close

@rduivenvoorde , @nirvn , @SrNetoChan , @m-kuhn what's your feeling?

Yes, it's one more click to quit, but more intuitive UI
@nirvn
Copy link
Contributor

nirvn commented Nov 13, 2017

@elpaso , thanks for giving this cool feature so much love. I'm -1 to remove the OK button, I actually love the add and ok button combination.

@elpaso
Copy link
Contributor Author

elpaso commented Nov 13, 2017

See also: https://issues.qgis.org/issues/17292

@m-kuhn
Copy link
Member

m-kuhn commented Nov 13, 2017

Thanks @elpaso, that will decrease the risk of unintentionally adding a layer multiple times.
Something else I think is important in terms of UX is some kind of feedback on the dialog itself, that the layers have been added.

@nyalldawson
Copy link
Collaborator

+1 for this change. I've tried to get used to the add/ok dynamics, but keep ending up with duplicate layers.

@SrNetoChan
Copy link
Member

SrNetoChan commented Nov 14, 2017 via email

@m-kuhn
Copy link
Member

m-kuhn commented Nov 14, 2017

+1 for me. I prefer to waste the extra click on "Close" than having a much more complex GUI.

we could also just close the dialog upon clicking "Add" and ask people to use drag and drop or browser if they want to quickly add multiple layers at a time ;)

@nirvn
Copy link
Contributor

nirvn commented Nov 14, 2017

I guess I was the only one liking it 😊

Any chance we could introduce a [x] close upon adding layer checkbox option to the left of the add button?

@nirvn
Copy link
Contributor

nirvn commented Nov 14, 2017

@m-kuhn I'd indeed rather prefer for the Add button to close the dialog too, if we get rid of the Ok button.

@elpaso
Copy link
Contributor Author

elpaso commented Nov 14, 2017

We could just resume the [x] don't close or [x] keep open checkbox, but that looks really wierd UI to me...

From the UX perspective, if you want to add and close, you can just click "Add" then on "Close" (it's just a few millimeters away, you don't have to move the pointer away too much. Or if you are a keyboard guy, just press ESC.

The fact is that in this dialog we have limited horizontal space in the button bar, most of full-width applications use a third button named something like Save and add another .... or in our scenario: Add and close

What I don't like in the Add - Ok - Close is that it's not immediately clear why Ok and Add should be different, that's why Add and close makes more sense to me, but this would probably take too much horizontal space.

It looks like we need to make some compromise here....

@m-kuhn
Copy link
Member

m-kuhn commented Nov 14, 2017

We could just resume the [x] don't close or [x] keep open checkbox, but that looks really wierd UI to me...

Oh yeah, please don't resurrect this beast!

Do you dislike the Close and Add two-button solution where Add also closes the dialog?

@elpaso
Copy link
Contributor Author

elpaso commented Nov 14, 2017

@m-kuhn I think that we want to keep the possibility to add multiple layers (from different providers) from the same dialog, so I believe that we need a way to keep it open.

@m-kuhn
Copy link
Member

m-kuhn commented Nov 14, 2017

This happens almost never for me, but I'm happy to follow your lead on this

@elpaso elpaso merged commit 340f7ab into qgis:master Nov 15, 2017
@elpaso
Copy link
Contributor Author

elpaso commented Nov 15, 2017

@m-kuhn honestly I've not a strong opinion here, I'm just trying to collect the broadest consensus, that appears to be a "Mission Impossible"

If it was my decision I'd leave the python console as the only mean to add layers to the canvas ;)

Let's give this GUI a try and see ... now that there is a base class, it's really easy to change this behavior if we need to.

@elpaso elpaso deleted the datasource-manager-add-close branch November 15, 2017 07:48
@m-kuhn
Copy link
Member

m-kuhn commented Nov 15, 2017

Ok, sounds good.
That would be one of the places where I think it would be great to have some metrics sent back to us "how many users make another action between clicking Add and Close".

@elpaso
Copy link
Contributor Author

elpaso commented Nov 15, 2017

@m-kuhn agreed.

Unfortunately, developers do not usually belong to the "typical users" set (provided that such a "typical user" really exists, because I've never met one).

Considering the whole GUI, a serious usability field study is what we really need here, and that would be an ideal job for a master thesis or some academic research, unless some deep pocketed company decide to finance such a study.

On the cheapest end: what do you think about a user survey?

Maybe @anitagraser or @rduivenvoorde have some good ideas too...

@anitagraser
Copy link
Member

+1 for having an Add and a Close button instead of an OK button which does Add+Close. I agree that this is the more expected behavior and expected imho trumps saving a click.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants