intel / rib

Rapid Interface Builder (RIB) is a browser-based design tool for quickly prototyping and creating the user interface for web applications. Layout your UI by dropping widgets onto a canvas. Run the UI in an interactive "Preview mode". Export the generated HTML and Javascript. It's that simple!
https://01.org/rib
Apache License 2.0
148 stars 74 forks source link

[Outline View] Keyboard focus follows mouse click focus #236

Closed DonnaWuDongxia closed 12 years ago

zhizhangchen commented 12 years ago

There's still a bug:

  1. Create a project with two pages
  2. click the first page
  3. Click a field in the property pane
  4. Click the second page in the Outline View BUG: 1) Outline view does not have keyboard focus so arrow keys don't work. 2) Click the second page again, the second page node should be green-only (no blue outline) but keyboard navigation should start from there if the up/down arrows are pressed. Again, this is like the web browser normally handles keyboard navigation.
grgustaf commented 12 years ago

For the first bug John mentioned, you don't even need step #3. Whenever you click on another page in the outline view, you lose keyboard focus.

And then yes, ultimately the blue outline should probably disappear on a click, too. That's how the browser works. But I can certainly live without that fix, it's even rather nice to make keyboard focus more obvious.

In any case, this still fixes the primary bug so I will merge it. Really, I should have opened three separate bugs, but I think I put them in one.