Looking for saved searches? click on "Search Bugs" above.

Native GTK style for arrows

RESOLVED FIXED in mozilla1.9beta2

Status

()

Core
Widget: Gtk
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: micmon, Assigned: Michael Ventnor)

Tracking

Trunk
mozilla1.9beta2
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments, 1 obsolete attachment)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071022 Ubuntu/7.10 (gutsy) Firefox/2.0.0.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b2pre) Gecko/2007111904 Minefield/3.0b2pre

The treeview now draws the sort arrows using the native GTK theme. But there are other places were the old bitmap arrows are still used:

## Menus
## Toolbars

Those should also be updated to use the native style arrows.

Reproducible: Always
(Reporter)

Comment 1

10 years ago
Created attachment 289472 [details]
Comparing FF3 <> Native arrows

This shows the FF3 and the native arrows in menus and toolbars.
Component: OS Integration → Widget: Gtk
Product: Firefox → Core
QA Contact: os.integration → gtk
Version: unspecified → Trunk
(Assignee)

Comment 2

10 years ago
Created attachment 290321 [details] [diff] [review]
For menus

Heh, it turns out there is a -moz-appearance value for menu arrows all along. This patch will use it taking a similar code approach as GTK itself does.

I'll have to look into toolbar button arrows later.
Assignee: nobody → ventnor.bugzilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #290321 - Flags: superreview?(roc)
Attachment #290321 - Flags: review?(roc)
Attachment #290321 - Flags: superreview?(roc)
Attachment #290321 - Flags: superreview+
Attachment #290321 - Flags: review?(roc)
Attachment #290321 - Flags: review+
(Assignee)

Updated

10 years ago
Attachment #290321 - Flags: approval1.9?

Comment 3

10 years ago
May I suggest a style size of 1ex for the menu arrows (or something like that), so that the arrows will grow when the font size grows (like with native menu arrows)?
(Assignee)

Comment 4

10 years ago
Created attachment 290341 [details] [diff] [review]
For menus 1.01

Sounds good to me.
Attachment #290341 - Flags: approval1.9?
(Assignee)

Updated

10 years ago
Attachment #290321 - Attachment is obsolete: true
Attachment #290321 - Flags: approval1.9?
(Assignee)

Updated

10 years ago
Attachment #290341 - Attachment description: Patch 1.01 → For menus 1.01
Comment on attachment 290341 [details] [diff] [review]
For menus 1.01

a=beltzner for drivers
Attachment #290341 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Checking in widget/src/gtk2/gtk2drawing.c;
/cvsroot/mozilla/widget/src/gtk2/gtk2drawing.c,v  <--  gtk2drawing.c
new revision: 1.42; previous revision: 1.41
done
Checking in widget/src/gtk2/gtkdrawing.h;
/cvsroot/mozilla/widget/src/gtk2/gtkdrawing.h,v  <--  gtkdrawing.h
new revision: 1.37; previous revision: 1.36
done
Checking in widget/src/gtk2/nsNativeThemeGTK.cpp;
/cvsroot/mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp,v  <--  nsNativeThemeGTK.cpp
new revision: 1.114; previous revision: 1.113
done
Checking in toolkit/themes/gnomestripe/global/menu.css;
/cvsroot/mozilla/toolkit/themes/gnomestripe/global/menu.css,v  <--  menu.css
new revision: 1.15; previous revision: 1.14
done
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M10
I've just noticed that the down-arrow in the History sidebar's View button is still non-native: should I reopen this bug, file a new bug blocking this one, or perform an elaborate dance in an effort to appease the gods of natively-drawn arrows?
(Reporter)

Comment 8

10 years ago
(In reply to comment #7)
> I've just noticed that the down-arrow in the History sidebar's View button is
> still non-native: should I reopen this bug, file a new bug blocking this one,
> or perform an elaborate dance in an effort to appease the gods of
> natively-drawn arrows?
> 

Just have a look at Bug 416818 and hope Bug 416868 lands soon :)
Me again: the progressive disclosure arrows in the star dialogue are also non-native. New bug?

Updated

10 years ago
Depends on: 420287
Filed one anyway: bug 420287
You need to log in before you can comment on or make changes to this bug.