Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Use default cursor on menu and toolbar items #2144

Merged
merged 6 commits into from
Jan 9, 2013

Conversation

ZweiSteinSoft
Copy link
Contributor

Fix for adobe/#2141.

@ghost ghost assigned njx Nov 19, 2012
@njx
Copy link

njx commented Nov 19, 2012

Looks like this fixes most but not all of the original bug cases--could you take a look at the remaining three:

  • swatches in the inline color picker
  • "x" in closable panels (e.g. Find in Files)
  • tabs/spaces control in status bar

@ZweiSteinSoft
Copy link
Contributor Author

What branch are you on? (1) I don't have a color picker. (2) Find, Replace and Find in Project show as toolbar above the code editor and disappear on blur, but don't have any close-X.

@njx
Copy link

njx commented Nov 20, 2012

The color picker is now in master if you merge with it--find a color in e.g. a CSS file and hit Cmd-E.

The closeable panel is with Find in Files (not Find). Do Edit > Find in Files, search for a string that's present somewhere in your project, and a panel will appear at the bottom listing the search results.

@njx
Copy link

njx commented Dec 11, 2012

Looks like you're adding a glow on mouseover to the swatches to indicate they're clickable. @GarthDB -- do you think we should keep that, or just remove it? (For context, this pull request is for #2141, which suggested that we remove the hand cursor everywhere and just use the pointer instead, since we're inconsistent about where we use the hand anyway, and we thought it would make sense to reserve the hand cursor for things that actually feel like links instead of things like buttons that happen to be implemented using an <a> tag.)

@GarthDB
Copy link
Member

GarthDB commented Dec 11, 2012

I would recommend leaving off the glow on the swatches, but I would leave the hand. In the creative suite applications they use the hand for clickable lists (layers, swatches, etc) and PS uses a color picker icon for the swatches.

@njx
Copy link

njx commented Dec 11, 2012

@GarthDB -- oh, interesting, I never noticed that. Could you take a look at all the cases listed in #2141 and indicate which ones you think we should keep the hand cursor for? (I'm assuming we would still want to use the standard arrow cursor for things like toolbar buttons.)

@mynetx -- I'll handle responding to Garth's changes once he makes the call on #2141 since it was my fault for not getting his input before you made all these updates :)

@GarthDB
Copy link
Member

GarthDB commented Dec 11, 2012

The overarching rule (though it is breakable) for the Creative Suite apps is dependent on whether they have a rollover state or not

Here's the list (hand cursor):

  • "Used in file" swatches in color picker (pointer)
  • Tabs/spaces controls in status bar (pointer)
  • Working set & project tree items (pointer)
  • "Original value" swatch in color picker (pointer)

And the default (arrow cursor):

  • Menu bar & menu items (default)
  • Quick Open dropdown items (default)
  • Buttons in modal dialogs (default)
  • Toolbar icons (default)
  • "X" icon that closes panels (default)
  • Clickable line items in search results / JSLint panels (default)
  • Recent projects dropdown & dropdown items (default)
  • Inline editor rule-list items (default)
  • Native menus & dialogs (native- default)

@ZweiSteinSoft
Copy link
Contributor Author

So what to do, @njx?

@njx
Copy link

njx commented Dec 18, 2012

@mynetx -- sorry, I've been swamped. If you have time to switch the "hand cursor" cases listed by @GarthDB back to using the hand cursor, that would be great.

@GarthDB
Copy link
Member

GarthDB commented Dec 18, 2012

Ok - In a meeting with topcoat syncing. We are recommending to not use the cursor:pointer; except for hyperlinks - so we are diverging from the Creative Suite in this case.

@ZweiSteinSoft
Copy link
Contributor Author

So @GarthDB — what to change in this pull?

@GarthDB
Copy link
Member

GarthDB commented Dec 19, 2012

use cursor:default; for everything. And it looks like you are.

@njx
Copy link

njx commented Dec 19, 2012

It also sounds like you still need to remove the glow from the swatches--is that right, @GarthDB? And also merge with master. Once that's done we can pull it. Thanks!

@GarthDB
Copy link
Member

GarthDB commented Dec 19, 2012

This should be the only glow - on focus - mostly for tabbing through

Screen Shot 2012-12-19 at 2 14 49 PM

Conflicts:
	src/extensions/default/InlineColorEditor/css/main.css
@njx
Copy link

njx commented Jan 9, 2013

Finally getting around to merging this. Thanks for doing this!

njx pushed a commit that referenced this pull request Jan 9, 2013
Use default cursor on menu and toolbar items
@njx njx merged commit cba87dd into adobe:master Jan 9, 2013
@ZweiSteinSoft ZweiSteinSoft deleted the no-hand-cursor branch January 11, 2013 12:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants