Closed
Bug 399820
Opened 17 years ago
Closed 17 years ago
Native GTK look for find toolbar
Categories
(Toolkit :: Find Toolbar, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9beta3
People
(Reporter: micmon, Assigned: ventnor.bugzilla)
References
Details
Attachments
(2 files, 4 obsolete files)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
damons
:
approvalM10-
mconnor
:
approval1.9+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)
Build Identifier:
The current layout of the Find toolbar is
[close] [ Search word ] [V Next] [A Previous] ...
I think changing this layout to the following
would make sense:
[close] [ Search word ] [< Previous] [> Next]...
IMHO the second order is much more natural. Speaking
for the Linux platform at least, all applications I
know which make use of similar find bar use the this
layout. See the screenshot for the find bars of the
Epiphany Webbrowser, Evince Document Viewer, Yelp
Help Browser and Tomboy, the note taking app (all
of which are GNOME core applications)
So consider changing this for the Linux builds at
least, to make Firefox behave more like the rest
of that platform's applications (I don't know windows
apps, so I can't say how it is handled there).
Reproducible: Always
Reporter | ||
Comment 1•17 years ago
|
||
Reporter | ||
Comment 2•17 years ago
|
||
With the aim of OS integration for FF3, this bug is becoming very relevant. We should swap the buttons for GTK builds, drop the icons and add native GTK arrows.
Reporter | ||
Updated•17 years ago
|
Summary: Find toolbar button order → Native GTK look for find toolbar
Assignee | ||
Comment 3•17 years ago
|
||
This will reverse the buttons on GTK and use stock icons for the buttons.
Assignee: nobody → ventnor.bugzilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #290177 -
Flags: review?(mano)
Reporter | ||
Comment 4•17 years ago
|
||
Nice, but can't we use "native" looking GTK arrows instead of the icons? It would look very clean, if we also move the arrow for "Next" to the right side of the label:
[close] [ Search word ] [< Previous] [Next >]...
Anyway, thanks for all the great work you are doing!
Assignee | ||
Comment 5•17 years ago
|
||
I don't think I can do that with just theming CSS.
This second patch provides better feedback for a pressed Highlight button, since we are using a stock icon for that now and the icon cannot glow anymore.
Attachment #290177 -
Attachment is obsolete: true
Attachment #290263 -
Flags: review?(mano)
Attachment #290177 -
Flags: review?(mano)
Reporter | ||
Comment 6•17 years ago
|
||
Well, it is possible to put the "icon" on the right side of the button. As for the GTK-like arrows, I think having something like moz-appearance: arrowleft/arrowright/arrowdown/arrowup would be great. As the list header sort arrow is already drawn this way it has to be possible... and it could then be used here, as well as in the menus (for submenus) as well as the toolbar.
Comment 7•17 years ago
|
||
Comment on attachment 290263 [details] [diff] [review]
Patch 2
can you put the buttons in a box and reverse the order from gnomestripe's findbar.css?
Attachment #290263 -
Flags: review?(mano) → review-
Assignee | ||
Comment 8•17 years ago
|
||
Sure.
Attachment #290263 -
Attachment is obsolete: true
Attachment #291515 -
Flags: superreview?(mano)
Attachment #291515 -
Flags: review?(mano)
Assignee | ||
Updated•17 years ago
|
Attachment #291515 -
Flags: superreview?(mano)
Comment 9•17 years ago
|
||
Where's the corresponding style rule?
Assignee | ||
Comment 10•17 years ago
|
||
(In reply to comment #9)
> Where's the corresponding style rule?
>
What do you mean? I put the buttons in the box and set -moz-box-ordinal-group on both buttons. The box doesn't need a style rule, unless I'm missing something...
Comment 11•17 years ago
|
||
Ah, I thought you'd be using -moz-box-direction: reverse.
Assignee | ||
Comment 12•17 years ago
|
||
I didn't know about either CSS rule, it was Roc who told me about -moz-box-ordinal-group :-)
So is this an r+ or do I have to use the latter rule?
Comment 13•17 years ago
|
||
I think the later is cleaner given that you already have a box.
Assignee | ||
Comment 14•17 years ago
|
||
Uses -moz-box-direction. Would you be able to get a review done before the freeze tonight?
Attachment #291515 -
Attachment is obsolete: true
Attachment #291591 -
Flags: review?(mano)
Attachment #291515 -
Flags: review?(mano)
Comment 15•17 years ago
|
||
Comment on attachment 291591 [details] [diff] [review]
Patch 3.1
s/find-button-/find-buttons-/
s/0px/0/
r=mano otherwise.
Attachment #291591 -
Flags: review?(mano) → review+
Assignee | ||
Comment 16•17 years ago
|
||
WHile not critical, this patch is very trivial and will cause another major part of the UI to use the already tried-and-tested stock icon infrastructure. Since this is only XUL and CSS I can't imagine any risk whatsoever...
Since Linux UI consistency is a very, very major feature in B2 this patch would be icing on the cake.
Attachment #291591 -
Attachment is obsolete: true
Attachment #291701 -
Flags: approvalM10?
Attachment #291701 -
Flags: approval1.9?
Comment 17•17 years ago
|
||
Comment on attachment 291701 [details] [diff] [review]
Patch 3.2
approvalM10-. We'll get this in after beta2. Thanks for the patch Michael.
Attachment #291701 -
Flags: approvalM10? → approvalM10-
Updated•17 years ago
|
Attachment #291701 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Comment 18•17 years ago
|
||
Checking in toolkit/content/widgets/findbar.xml;
/cvsroot/mozilla/toolkit/content/widgets/findbar.xml,v <-- findbar.xml
new revision: 1.18; previous revision: 1.17
done
RCS file: /cvsroot/mozilla/toolkit/themes/gnomestripe/global/findBar.css,v
done
Checking in toolkit/themes/gnomestripe/global/findBar.css;
/cvsroot/mozilla/toolkit/themes/gnomestripe/global/findBar.css,v <-- findBar.css
initial revision: 1.1
done
Checking in toolkit/themes/gnomestripe/global/jar.mn;
/cvsroot/mozilla/toolkit/themes/gnomestripe/global/jar.mn,v <-- jar.mn
new revision: 1.18; previous revision: 1.17
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M11
Version: unspecified → Trunk
Comment 19•17 years ago
|
||
Find entry has no focus. Should I file new bug?
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•