Closed
Bug 413236
Opened 17 years ago
Closed 17 years ago
nodoka theme git: focus indicator for location bar covers too large an area
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
FIXED
Firefox 3 beta3
People
(Reporter: u294409, Assigned: twanno)
Details
Attachments
(3 files, 1 obsolete file)
170.72 KB,
image/png
|
Details | |
181.85 KB,
image/png
|
Details | |
1.98 KB,
patch
|
rflint
:
review+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.9b3pre) Gecko/2008012004 Fedora/8 (Moonshine) Minefield/3.0b3pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.9b3pre) Gecko/2008012004 Fedora/8 (Moonshine) Minefield/3.0b3pre I shouldn't copy'n'paste summary here :> . Reproducible: Always Steps to Reproduce: 1. download nodoka from git (compile and install it, and set it too, ofc). 2. open firefox. 3. focus some text-entry (eg on google.com) and press [tab] to focus button. Actual Results: no focus indicators or wrong (locationbar) Expected Results: everything like in my stupid native-firefox dream
Assignee | ||
Comment 3•17 years ago
|
||
see also bug 410489 comment #9
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•17 years ago
|
||
As for not having the focus drawn, it was a nodoka bug introduced recently when trying to fix another issue... I've fixed this just now. As for having the bad focus in location bar, it seems you are passing wrong parameter values to gtk_draw_shadow.
Assignee | ||
Comment 6•17 years ago
|
||
(In reply to comment #5) > As for not having the focus drawn, it was a nodoka bug introduced recently when > trying to fix another issue... I've fixed this just now. Then forget what I posted in comment #3. I thought it had something to do with setting the focus flag to a widget (setting that seemed to fix that issue). > As for having the bad focus in location bar, it seems you are passing wrong > parameter values to gtk_draw_shadow. The drop down button covers part of the location bar to hide the gap created by most themes to connect the text field with the button (the gap would become visible when the location bar background is yellow on secure sites). I already have a couple of ideas for how to fix this, but I still need to decide (and test) what would be the best solution. As per comment #5, I'm updating the summary.
Summary: nodoka theme git: buttons, checkbuttons and radiobuttons have no focus indicator, locationbar has wrong focus indicator → nodoka theme git: focus indicator for location bar covers too large a area
Assignee | ||
Comment 7•17 years ago
|
||
Move the negative margin hack to the autocomplete-security-wrapper element, to prevent the drop down button to cover (the gap) part of the text field (which causes the focus drawn outside the text field to also outline the button for a small part). BTW, Dao, for clarity, does a review from you not suffice? You are not listed as an official reviewer AFAICT.
Comment 8•17 years ago
|
||
Comment on attachment 299048 [details] [diff] [review] patch > /* keep the URL bar content LTR */ > #autocomplete-security-wrapper { > direction: ltr; > -moz-box-align: center; >+ /* cover the white gap between the text field and the drop down button */ >+ margin-right: -3px; >+} >+ >+#urlbar[chromedir="rtl"] > .autocomplete-textbox-container > #autocomplete-security-wrapper { >+ margin-right: 0px; >+ margin-left: -3px; > } use -moz-margin-end, and please move /* keep the URL bar content LTR */ above or next to |direction: ltr;|, as it doesn't apply to the entire block anymore. Ryan is allowed to review gnomestripe patches.
Attachment #299048 -
Flags: review?(dao) → review-
Comment 9•17 years ago
|
||
Comment on attachment 299048 [details] [diff] [review] patch Ah, I see the way you use the margins is intentional, as -moz-margin-end will always be margin-right due to |direction: ltr|.
Attachment #299048 -
Flags: review- → review+
Assignee | ||
Comment 10•17 years ago
|
||
Updated patch: Move the comment to inside the block, above the matching rule
Attachment #299048 -
Attachment is obsolete: true
Attachment #299054 -
Flags: review?(rflint)
Updated•17 years ago
|
Attachment #299054 -
Flags: review?(rflint) → review+
Updated•17 years ago
|
Keywords: checkin-needed
Updated•17 years ago
|
Assignee: twanno → nobody
Status: ASSIGNED → NEW
Component: Widget: Gtk → Theme
Keywords: checkin-needed
Product: Core → Firefox
QA Contact: gtk → theme
Version: unspecified → Trunk
Updated•17 years ago
|
Assignee: nobody → twanno
Updated•17 years ago
|
Attachment #299054 -
Flags: approval1.9?
Comment 11•17 years ago
|
||
Comment on attachment 299054 [details] [diff] [review] patch v2 a=beltzner
Attachment #299054 -
Flags: approval1.9? → approval1.9+
Comment 12•17 years ago
|
||
Checking in browser/themes/gnomestripe/browser/browser.css; /cvsroot/mozilla/browser/themes/gnomestripe/browser/browser.css,v <-- browser.css new revision: 1.166; previous revision: 1.165 done Checking in toolkit/themes/gnomestripe/global/autocomplete.css; /cvsroot/mozilla/toolkit/themes/gnomestripe/global/autocomplete.css,v <-- autocomplete.css new revision: 1.15; previous revision: 1.14 done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Summary: nodoka theme git: focus indicator for location bar covers too large a area → nodoka theme git: focus indicator for location bar covers too large an area
Target Milestone: --- → Firefox 3 beta3
You need to log in
before you can comment on or make changes to this bug.
Description
•