From the list by Gábor Hojtsy at #610234: Overlay implementation - breaking it out into its own issue now:

close button is at top, so it might be hard to close the overlay when in a tall admin page (unless you know you can use ESC); usability testing also found the close button is not evident to at least one users (possibly not conclusive), see http://drupal.org/node/517688#comment-1900132

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aspilicious’s picture

Status: Active » Needs review

O_o what does the description mean...

Every close button is at the top of the page...

casey’s picture

Status: Needs review » Active

There's no patch to review.

We can close button make position:fixed so it stays visible while scrolling...

aspilicious’s picture

Oooow now I understand...
You could make a patch for that, set it to review and people can judge it then.
Overlay issues are getting smaller everyday, good job casey!

casey’s picture

I included this behavior in #668640: Overlay shouldn't be based on jQuery UI Dialog (It should also be possible for current overlay, but because its based upon jQuery UI dialog it might be tricky).

casey’s picture

Status: Active » Needs review
FileSize
582 bytes

Was removed from #668640: Overlay shouldn't be based on jQuery UI Dialog. With attached patch the close button will be visible all the time.

tstoeckler’s picture

As mentioned in the other issue, this patch makes every theme, which isn't white on the right side, look ugly.

casey’s picture

Themes that don't have a white background always look ugly when used inside the overlay; they could however override the style. I don't think that's a valid argument.

tstoeckler’s picture

Well, I would say, if it's just about adding some CSS, then that's fine, but the Close button is an image with a white background, right?

aspilicious’s picture

We can replace it with only the closing cross and put some background around it wich can be overridden.

David_Rothstein’s picture

I think we might be getting two issues confused here. #790732: The overlay tabs and close button look like a minor train wreck in themes without a white background combined with @aspilicious's suggestion would allow themes to change the color of the close button in a reasonable way, but the problem is what I wrote below (in the issue where this was originally posted):

Personally I find it distracting, but more to the point - it will never really work with any overlay theme that has different colors, unless we can make the close button color change dynamically as you scroll :) One of the advantages of this patch is that it might help allow #790732: The overlay tabs and close button look like a train wreck in themes without a white background to be solved, but a moving close button would make that impossible again.

So in other words, if in #790732: The overlay tabs and close button look like a minor train wreck in themes without a white background we decided to make the close button dark blue in Garland, that will look fine at the top of the overlay, but if the button follows you down the page as you scroll, the color won't match what's next to it anymore since Garland has different colors at the top of the page vs the bottom.

aspilicious’s picture

I know david, so there isn't a "good" solution for this...

amc’s picture

Related: #575904: Admin Overlay: Make close button more jump to the eye which discusses the color of the X icon itself.

casey’s picture

What about just for the seven theme? Other themes might do the same.

tstoeckler’s picture

That's actually a strikingly simple idea, which eliminates the (very valid) concerns raised above. I might be missing something, but I'm pretty sure that's a very good idea!

ksenzee’s picture

Status: Needs review » Reviewed & tested by the community

Yep, I like this a lot. Let's run it up the flagpole.

yoroy’s picture

Status: Reviewed & tested by the community » Needs review
Issue tags: +Usability

I don't get it. At the bottom of an admin page in overlay there is usually a submit button that you can click and it will close the overlay. There's a toolbar with more than a handfull of links that can take you somewhere else. There's the ever-present browser back button… So what are we fixing here? Look at the original post: not evident to 1 user… might be hard to close… How important is this button in the overall scheme of things on a page? It sure stands out more with this patch, but should it?

amc’s picture

That's true, although the user may not want to submit the overlay (maybe they opened the wrong one by mistake), and the toolbar and/or shortcut bar(s) may not be enabled. That does leave the back button, but do we want to rely on that?

yoroy’s picture

Back button is the most used browser button. Many people rely on it for navigation

tstoeckler’s picture

The back button doesn't help you though, when you have clicked around in the overlay a bit and have now had enough and simply want to close it.
Also, not all submit buttons in the overlay close it. Actually those are the exception. So there is a very use-case for the close button.
And since it is there, we should make sure it is actually seen, which this patch does.

yoroy’s picture

Still, this is optimizing for not-so likely scenarios. This patch makes the close button too important. It needs to be findable for sure, but not follow you around everywhere you go.

tstoeckler’s picture

I fail to see how this is not so likely.

You install Drupal. You post an article. You see the 'Submitted by' text is in a format you don't like. You click Configuration > Regional and language > ... > Date formats and change the date formats. You submit the page. Well, how do I see if the change worked? CLOSE-button!

You install Drupal. You care a bit about performace. So you click Configuration > Development > Performance and change a few settings. You submit the page. Well, how do I see if CSS aggregation works on the front page? CLOSE-button!

I could go on and on...

David_Rothstein’s picture

@tstoeckler: But in those scenarios, you just hit the submit button and therefore you have already returned to the top of the page, where the close button already is. Having the close button follow you down the page therefore isn't really relevant for those cases.

If we need to make the close button more noticeable and visible, let's think about how to do that more generally. But no blink tags, please - and personally I think the button following you down the page is only one step above a blink tag :)

Bojhan’s picture

Sorry but I have to agree with David here, that the close button is not standing out is a design decision - as it shouldn't distract from doing your job. The usability results are inconclusive, having it move with you down the page to me has no clear win in any likely scenario.

Sure there are scenarios that it might be helpfull but the true majority the behavior will be to save, end at the top of the page and click close. This patch will be very distracting as it is the only moving part on a Drupal administration page - where it totally should not have such importance.

bleen’s picture

FileSize
45.82 KB

what about including a simple close link at the bottom of the overlay in addition to the "X"? Nothing fancy:

Testing | d7.jpg

bleen’s picture

FileSize
20.02 KB

ooops .. too wiiiiiiiiiiiiiiiiiiide:

Testing | d7-1.jpg

yoroy’s picture

What we're saying is that there isn't really anything to fix here.

Bojhan’s picture

Status: Needs review » Closed (works as designed)

I am going to mark this by design, as we chose to go down this route for a specific reason; we wanted it to be at a place that one can remember but not prominent enough for it to be distracting.

David_Rothstein’s picture

Status: Closed (works as designed) » Needs review

Please see http://drupal.org/node/517688#comment-1900132 (linked to from the top of this issue). As far as I know, we've seen this pattern in informal Drupal Gardens testing also - people having trouble finding the close button or understanding what it means. I can try to get more details if you want.

So I think there is an issue here, but we need to look for a different solution that isn't necessarily specific to the "I've scrolled down to the bottom of the page" case. That was kind of a tangent that this issue went off in a bit, but isn't necessarily the main problem. I think Jeff Noyes's suggestion involved thinking about putting the word "close" near the "X", for example, but leaving it at the top of the page.

amc’s picture

Alright, so let's separate the two problems -- at least explicitly in our discussions, if not in two separate issues:

  1. Users may not understand that the X means close, and therefore may not really understand how to close the overlay once they've opened it.
  2. For long forms, closing the overlay might be difficult because the only way to do that is at the very top.

Now, even though these are two issues, we could conceivably come up with a single solution (or not) which addresses both, so separate patches may not necessarily be called for, but let's at least address both problems distinctly. (And whether they really are problems to be solved.)

The X-in-place (position:fixed) solution addresses point 2 but not point 1. The close link at the bottom addresses point 1 but not point 2 (because being at the very bottom is just as bad as being at the very top when you're in the middle of a form).

bleen’s picture

FileSize
13.91 KB

what about this:

cose.png

solves 1 but not 2 ... but worth thinkin about none-the-less

Anonymous’s picture

+1 #30

Bojhan’s picture

Version: 7.x-dev » 8.x-dev

We got no details from David and really fixing it properly should be D8 stuff, I am not sure if its not just a bump rather then an actual problem.

Noyz’s picture

FileSize
49 KB

We came up with a design for this while seeing users struggle to find their way around Drupal gardens. Of the solutions proposed, #30 comes closest to something that would fix the issues I've seen, but it's still not good enough. The issue Im seeing is that users are clicking Save expecting the overlay to go away. They are not looking in top right area to close. For that reason, we need to do something like #30, plus include a "save and close" button. The solution we were looking to implement is this....

Bojhan’s picture

@Noyz Thanks for your details, I am still favoring to fix this in Drupal 8. Because of the limited time finding a proper solution for this, the close next to X seems kind of a hack - which is very distracting in long term usage.

The Save & Close is again somewhat of a hack, which would only apply to pages where the user is tempted to go back to the site? I mean is adding terms one of them, or what is the classification here? Also on creation of content, you will have Save, Preview, Delete - consider modules adding Save as Draft, it will become very hard to add another button to save this issue. I just feel there are many insecurities and making a big change like this, it seems silly to take such risks.

It might be interesting to know, when do people find the X? Does that change their behavior?

aspilicious’s picture

*ignore this*

Noyz’s picture

We have no choice but to fix this in Drupal Gardens. It's a serious issue. We'll fix it there, and provide user metrics on the fix.

Bojhan’s picture

@Noyz totally understandable, would be awesome!

akayani’s picture

A save button up there would be useful too so you don't need to track to the bottom of the page.

Anonymous’s picture

It's been two years since last activity on this.

Is this still an actual issue or can it be closed?

jessebeach’s picture

Status: Needs review » Closed (won't fix)

Can be closed. The style will probably be changing significantly with current UX styling work: http://groups.drupal.org/node/283223#Overlay