Closed Bug 1617940 Opened 6 years ago Closed 4 years ago

Review styling of focus indicator for `<select>` when native theme is disabled

Categories

(Core :: Widget: Win32, defect, P3)

Unspecified
Windows
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: spohl, Unassigned)

References

Details

(Whiteboard: [not-a-fission-bug])

From bug 1381938 comment 41:

  • <select> now lacks any visible focus indicator.

  • In its hover behaviour, <select> is now styled more like a button than a textbox, which is contrary to how Windows has always (literally always; I can think of no counterexamples ever) treated them (though in line with most of macOS, where the distinction is fairly subtle, and in line with GTK, where the difference is huge and quite obnoxious).

No longer blocks: 1381938
Blocks: 1615105

n-i :shorlander to get his input on comment 0.

Flags: needinfo?(shorlander)

Fwiw, bug 1624708 added focus indicators for select as well. The other questions are still open of course.

Depends on: 1624708

Changing bug title to reflect the fact that we now have focus indicators. See comment 0 for the remaining UX questions.

Flags: needinfo?(stephen)
Summary: Add focus indicator for `<select>` when native theme is disabled → Review styling of focus indicator for `<select>` when native theme is disabled

Tracking non-native theming bugs for Fission Beta milestone (M7).

Fission Milestone: --- → M7

This is currently marked as blocking NNT for Windows, which in-itself is not a Fission blocker so removing Fission milestone from this bug. If this turns out to be required for NNT on Linux (blocking Fission M7) please add back the Fission milestone.

Fission Milestone: M7 → ---

Stephen, what work is left to do for this bug about the <select> focus indicator? Does this work relevant to all platforms?

Fission Milestone: --- → ?
Flags: needinfo?(spohl.mozilla.bugs)

(In reply to Stephen A Pohl [:spohl] from comment #0)

  • In its hover behaviour, <select> is now styled more like a button than a textbox, which is contrary to how Windows has always (literally always; I can think of no counterexamples ever) treated them (though in line with most of macOS, where the distinction is fairly subtle, and in line with GTK, where the difference is huge and quite obnoxious).

Sounds like this bug to review the <style> focus indicator is only about Windows if the current behavior is already in line with macOS and GTK.

Fission Milestone: ? → ---
Component: Widget → Widget: Win32
OS: Unspecified → Windows
Whiteboard: [not-a-fission-bug]

Yes, I agree. I don't believe that this should block the initial enabling of the non-native theme, but it's good to have this bug on file to revisit this issue.

No longer blocks: 1615105
Flags: needinfo?(spohl.mozilla.bugs)
Priority: P2 → P3
Blocks: 1691538

(In reply to Stephen A Pohl [:spohl] from comment #0)

From bug 1381938 comment 41:

  • <select> now lacks any visible focus indicator.

  • In its hover behaviour, <select> is now styled more like a button than a textbox, which is contrary to how Windows has always (literally always; I can think of no counterexamples ever) treated them (though in line with most of macOS, where the distinction is fairly subtle, and in line with GTK, where the difference is huge and quite obnoxious).

Stephen, is this bug fixed? AFAICT, <select> elements have reasonable focus and hover behavior on Windows 10.

Examples of <select> elements for testing:

http://stephenhorlander.com/photon/UI-Controls/form-widgets.html

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select

Flags: needinfo?(spohl.mozilla.bugs)

(In reply to Chris Peterson [:cpeterson] from comment #9)

(In reply to Stephen A Pohl [:spohl] from comment #0)

From bug 1381938 comment 41:

  • <select> now lacks any visible focus indicator.

  • In its hover behaviour, <select> is now styled more like a button than a textbox, which is contrary to how Windows has always (literally always; I can think of no counterexamples ever) treated them (though in line with most of macOS, where the distinction is fairly subtle, and in line with GTK, where the difference is huge and quite obnoxious).

Stephen, is this bug fixed? AFAICT, <select> elements have reasonable focus and hover behavior on Windows 10.

Examples of <select> elements for testing:

http://stephenhorlander.com/photon/UI-Controls/form-widgets.html

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select

Yes, I believe it is. Since this was reported by Chris in bug 1381938 I'd like for him to confirm.

Flags: needinfo?(spohl.mozilla.bugs) → needinfo?(me)

Sorry I forgot to confirm this. Yes, this is reasonable now. Thanks for the improvements, they’re good.

Flags: needinfo?(me)

Thanks for confirming!

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.