Closed Bug 118294 Opened 23 years ago Closed 20 years ago

NS_THEME_DROPDOWN* implementations (GTK)

Categories

(Core Graveyard :: Skinability, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.7final

People

(Reporter: ian, Assigned: p_ch)

References

Details

Attachments

(2 files, 1 obsolete file)

This covers the implementation of NS_THEME_DROPDOWN and NS_THEME_DROPDOWN_BUTTON
on GTK.
Blocks: 117584
taking
Assignee: blizzard → p_ch
Blocks: 233462
Attached patch patch v1.0 (obsolete) — Splinter Review
This patch implements NS_THEME_DROPDOWN and NS_THEME_DROPDOWN_TEXT.
The latter is just there in case a background is set on the label box.
We can also decide not to support it since now, we have gtk2 skin files that
are not contaminated by non native css rules. It's up to you.

For gtk, combo box are an entry and arrow widget side by side, not a arrow
inside an entry as we are currently displaying. The css file attached above
corrects it for menulists. I'll update the location bar after.
Attachment #142990 - Flags: superreview?(roc)
Attachment #142990 - Flags: review?(bryner)
Attachment #142990 - Attachment description: patch v1.0 (diff -w) → patch v1.0
Attachment #142990 - Flags: review?(bryner) → review+
there was two gcc warnings that I corrected: I "constify" indicator_size and
indicator_spacing in moz_gtk_option_menu_get_metrics calling sequence and in its
callers.

Also, to ease the review: the menulist appearance stands for a dropdown
(menulist non editable). Its gtk equivalent is an option_menu.
The editable menulist  consists of a gtk_entry and a gtk arrow that are
specified resp. by the menulist-textfield and menulist-button appearance.
Comment on attachment 142990 [details] [diff] [review]
patch v1.0

+    if (!interior_focus)
+	 *interior_focus = default_interior_focus;

er ... this looks like an instant seg fault if interior_focus is null. I'm not
sure what you're trying to do here. Probably should just get rid of all this
default stuff? sr=roc if you do that
Attachment #142990 - Flags: superreview?(roc) → superreview+
think this has been landed. reopen if its not the case.  thanks chofmann
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.7final
I just pulled the latest firefox source and verified . But I don't see this
patch in that. Any specific reason?
Right, I have an updated patch, but I have been *really* busy these days.
I'll upload it hopefully this week.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Any chance you have the latest patch for this. If not can you put your updated
patch with appropriate comments so that I can work on it. Thanks..
Attached patch patch v2.0Splinter Review
Here is the patch that I lamely kept for so long...
Attachment #142990 - Attachment is obsolete: true
Comment on attachment 155878 [details] [diff] [review]
patch v2.0

Re-requesting reviews, since I've been away from a while.
Attachment #155878 - Flags: superreview?(roc)
Attachment #155878 - Flags: review?(bryner)
Comment on attachment 155878 [details] [diff] [review]
patch v2.0

++  skin/classic/global/menulist.css

What's this about? You didn't change that file int the patch.
Attachment #155878 - Flags: superreview?(roc) → superreview+
Attachment #155878 - Flags: review?(bryner) → review+
-> fixed.
I added the menulist-description style in the menulist.css file attached below
that was introduced after the first version of this patch (and wasn't in the new
toolkit skins neither).
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Attachment #155878 - Flags: approval-aviary?
Comment on attachment 155878 [details] [diff] [review]
patch v2.0

a=asa for branch checkin.
Attachment #155878 - Flags: approval-aviary? → approval-aviary+
Comment on attachment 155878 [details] [diff] [review]
patch v2.0

a=asa for 1.7 checkin too, if applicable.
Attachment #155878 - Flags: approval1.7.x+
Comment on attachment 155878 [details] [diff] [review]
patch v2.0

needs re-approval now that we're past 1.0 RC. setting back to request.
Attachment #155878 - Flags: approval-aviary+ → approval-aviary?
Comment on attachment 155878 [details] [diff] [review]
patch v2.0

no longer branch material
Attachment #155878 - Flags: approval1.7.x-
Attachment #155878 - Flags: approval1.7.x+
Attachment #155878 - Flags: approval-aviary?
Attachment #155878 - Flags: approval-aviary-
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: