[Needs Testing] Patch for Bug# 243078-Native Theme Rendering
- BenBasson
- Moderator
- Posts: 13671
- Joined: February 13th, 2004, 5:49 am
- Location: London, UK
- Contact:
Look, you don't have to help me - that's perfectly fine, but you could at least be civil about it, especially since I'm trying to test your patch with the specific goal of getting it checked in to the branch for 1.5. If I'm having problems on the way, it's probable that whoever reviews for the branch will have them too. I'm of the opinion that getting this stuff out in the open now is better than waiting for an overworked reviewer to reject the patch because of possible dependencies.
-
- Posts: 4832
- Joined: June 24th, 2004, 8:03 pm
- Location: Maryland, USA
-
- Posts: 70
- Joined: August 8th, 2003, 1:24 pm
- Location: UK
Uh, I am being civil. If you can't apply it, that's fine, but it's really not my concern. I am quite capable of making this patch work on the branch, I just can't make any builds with it currently. No-one's suggested that any patch is ready for review, and if they have they are wrong.
If you want to spend time applying an unfinished patch, you should be prepared to do the work. I'm only asking people to try the build I made. If you (for some unknown reason) think that testing it on the trunk is not appropriate, do whatever you like, but don't come crying to me when you mess up or can't make it work.
supernova_00, this patch fixes the apperance of menus on all versions of Windows. It displays them in the usual classic apperance on all unthemable versions (pre-XP), and applies the theme if and as appropriate on XP and later. So yes, it will look great on 2K and 98 (I use 2K mostly at home).
If you want to spend time applying an unfinished patch, you should be prepared to do the work. I'm only asking people to try the build I made. If you (for some unknown reason) think that testing it on the trunk is not appropriate, do whatever you like, but don't come crying to me when you mess up or can't make it work.
supernova_00, this patch fixes the apperance of menus on all versions of Windows. It displays them in the usual classic apperance on all unthemable versions (pre-XP), and applies the theme if and as appropriate on XP and later. So yes, it will look great on 2K and 98 (I use 2K mostly at home).
- BenBasson
- Moderator
- Posts: 13671
- Joined: February 13th, 2004, 5:49 am
- Location: London, UK
- Contact:
Alright, looks like the patch for bug 305291 would also need a checkin, and possibly the patch for bug 305662 as a followup.
-
- Posts: 70
- Joined: August 8th, 2003, 1:24 pm
- Location: UK
-
- Posts: 70
- Joined: August 8th, 2003, 1:24 pm
- Location: UK
mw, it wont apply directly to branch builds because of the file-move performed in bug 305291.
-
- Posts: 4832
- Joined: June 24th, 2004, 8:03 pm
- Location: Maryland, USA
-
- Posts: 4832
- Joined: June 24th, 2004, 8:03 pm
- Location: Maryland, USA
nm was because i had another instance of firefox open (latest trunk).
i think i found a bug though. there is a 1px white line at the bottom of the toolbar, like load mozilla.org and look at the very top of the page there is a 1px white line between the page and the toolbar.
EDIT: also on the left side of the toolbars
i think i found a bug though. there is a 1px white line at the bottom of the toolbar, like load mozilla.org and look at the very top of the page there is a 1px white line between the page and the toolbar.
EDIT: also on the left side of the toolbars
-
- Posts: 631
- Joined: September 15th, 2004, 7:59 am
- Location: Chicago, IL
supernova_00 wrote:i think i found a bug though. there is a 1px white line at the bottom of the toolbar, like load mozilla.org and look at the very top of the page there is a 1px white line between the page and the toolbar.
EDIT: also on the left side of the toolbars
Supernova_00,
I believe for now that is intended. It can certainly be changed. I actually like the 3dhighlights around all of the toolbars, it gives them a more professional "finished" look then what we have currently. You can see them here: http://twpol.dyndns.org/temp/appearance_menu_3b.png <- Is a screenshot courtesy of James (Patch author)!
BoxerBoi76
-
- Posts: 70
- Joined: August 8th, 2003, 1:24 pm
- Location: UK
That is really correct, if you look at how rebars display in other applications. The reason it looks bad is because Firefox's devs decided not to make the content area sunken like every other app. If you look in IE, for example, the rebar (equiv. to XUL's toolbox) has the proper 2px groove at the bottom, right next to the 2px border of the sunken area. :-/
If you open multiple tabs in the Fox, it looks fine, and since XUL is not only used in the browser window, I can't just remove that line from the native rendering code. If it is possible, a single "3D shadow" line between the toolbox and content area, done in CSS, would probably make it look better.
And what do you mean "left side of the toolbars"? That's got the 2px groove just like rebars are meant to!
Please remember to compare against a native application using the rebar controls (e.g. IE) and not just any app with a toolbar. The XUL toolbox and toolbar, at least for native theming, are using their apperance both in the existing code, and that which I've added (I didn't decide this!).
Edit: But thanks for testing! The more you spot, the more we can evaluate for fixing.
If you open multiple tabs in the Fox, it looks fine, and since XUL is not only used in the browser window, I can't just remove that line from the native rendering code. If it is possible, a single "3D shadow" line between the toolbox and content area, done in CSS, would probably make it look better.
And what do you mean "left side of the toolbars"? That's got the 2px groove just like rebars are meant to!
Please remember to compare against a native application using the rebar controls (e.g. IE) and not just any app with a toolbar. The XUL toolbox and toolbar, at least for native theming, are using their apperance both in the existing code, and that which I've added (I didn't decide this!).
Edit: But thanks for testing! The more you spot, the more we can evaluate for fixing.