Closed Bug 390719 Opened 17 years ago Closed 17 years ago

GTK textboxes should highlight according to theme when focused

Categories

(Core :: Widget: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9alpha8

People

(Reporter: ventnor.bugzilla, Assigned: ventnor.bugzilla)

References

(Blocks 1 open bug)

Details

(Keywords: access, polish, ue)

Attachments

(1 file)

Attached patch PatchSplinter Review
In some GTK themes, focused textboxes have their borders highlighted when they're focused. We don't do that in the current widget implementation, but now I've figured out why.

Its a simple case of setting some flags, so its a very low-risk patch and seems to fix the last (as I know of) obvious issue with GTK native theming.
Attachment #275030 - Flags: superreview?(roc)
Attachment #275030 - Flags: review?(roc)
I probably should also mention that in this patch I did a little bit of code cleanup with textboxes. Behaviour won't change, though.
Blocks: 251198
Flags: blocking1.9?
Keywords: access, polish, ue
Roc, can you do the review today?
Attachment #275030 - Flags: superreview?(roc)
Attachment #275030 - Flags: superreview+
Attachment #275030 - Flags: review?(roc)
Attachment #275030 - Flags: review+
Comment on attachment 275030 [details] [diff] [review]
Patch

I'll need someone to check this in on my behalf (when/if blocking-1.9 is granted)

The risk is as low as you can get, basically its minor code shuffling and adding a couple of lines which sets a flag. Thats it. This will cause the focused textbox to have its border highlighted on themes that support it, which not only improves user experience, but it is #1 on the recent list "9 things Firefox should steal from Safari", if thats any encouragement :-)
Attachment #275030 - Flags: approval1.9?
(In reply to comment #3)
> (From update of attachment 275030 [details] [diff] [review])
> I'll need someone to check this in on my behalf (when/if blocking-1.9 is
> granted)

Er, approval-1.9, not blocking.
Btw, does somebody know if this is already working on Windows Vista, or if there's a similar bug?
Flags: blocking1.9?
Stuart or vlad, I heard that you have the authority to give approval-1.9 on a patch like this?
Attachment #275030 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Assignee: nobody → ventnor.bugzilla
widget/src/gtk2/gtk2drawing.c 1.28
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M8
Depends on: 397299
Depends on: 405189
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: