Closed Bug 487302 Opened 15 years ago Closed 15 years ago

make menus look more OS/2 alike

Categories

(Toolkit :: Themes, defect)

x86
OS/2
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: wuno, Assigned: wuno)

Details

(Keywords: fixed1.9.0.11, fixed1.9.1)

Attachments

(4 files, 2 obsolete files)

User-Agent:       Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.9.2a1pre) Gecko/20090406 Minefield/3.6a1pre
Build Identifier: 

see https://bugzilla.mozilla.org/show_bug.cgi?id=472373#c3

Reproducible: Always
Attached patch fix (obsolete) — Splinter Review
will attach a screenshot later
Assignee: nobody → wuno
Attachment #371526 - Flags: review?(mozilla)
The promised screenshot. Still missing:
I couldn't find a way to get the main menu panes shifted 2 px to the left  with regard to the titles by manipulating either popup.css or menu.css in pmstripe.
Attachment #371526 - Flags: review?(mozilla) → review+
Comment on attachment 371526 [details] [diff] [review]
fix

The patch is DOS format again, but otherwise I think this is a definitive improvement. Thanks.
(In reply to comment #3)
> (From update of attachment 371526 [details] [diff] [review])
> The patch is DOS format again, but otherwise I think this is a definitive
> improvement. Thanks.

:-( forgotten again! Now with corrected line endings.
Attachment #371526 - Attachment is obsolete: true
Attachment #371935 - Flags: review+
Keywords: checkin-needed
Comment on attachment 371935 [details] [diff] [review]
fix w/ UNIX-endings
[Checkin: Comment 5]


http://hg.mozilla.org/mozilla-central/rev/3b9494885fb8
Attachment #371935 - Attachment description: fix w/ UNIX-endings → fix w/ UNIX-endings [Checkin: Comment 5]
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Version: unspecified → Trunk
This shows the menus with a similar patch (comes up). It was a bit trickier and I couldn't get as well looking as the trunk: it overlaps a bit more on the left side when the right side is aligned properly. But when I aligning it on the left side correctly had the consequence that it then overlapped more on the right side (sigh!) I tested various pixel values in popup.css, but that's the best (at least for me) solution.
Attached patch patch for the branches (obsolete) — Splinter Review
If you like it, we could consider to take it even for the 1.9.0 branch
Attachment #373357 - Flags: review?(mozilla)
Comment on attachment 373357 [details] [diff] [review]
patch for the branches

Why does this one have a -moz-margin-start of 0 in popup.css? (It should be 0 and not 0px if I recall the CSS spec correctly).
(In reply to comment #8)
> (From update of attachment 373357 [details] [diff] [review])
> Why does this one have a -moz-margin-start of 0 in popup.css? (It should be 0
> and not 0px if I recall the CSS spec correctly).

Well, it's probably a left over from trying various values. I'll try if I can just omit the whole moz-margin-start line or have to set it to 0 (w/o dimension).
removing -moz-margin-start has the same effect.
Attachment #373357 - Attachment is obsolete: true
Attachment #373758 - Flags: review?(mozilla)
Attachment #373357 - Flags: review?(mozilla)
Attachment #373758 - Flags: review?(mozilla) → review+
Comment on attachment 373758 [details] [diff] [review]
better branch patch [Checkin: Comment 12]

I would still like to know what causes this specific difference between trunk and branches to be necessary...
But anyway, if it works, that's OK.

Checked into CVS for 1.9.0:
Checking in toolkit/themes/pmstripe/global/menu.css;
new revision: 1.8; previous revision: 1.7
Checking in toolkit/themes/pmstripe/global/popup.css;
new revision: 1.4; previous revision: 1.3

and Hg for 1.9.1:
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/c11afdb243c8
Attachment #373758 - Attachment description: better branch patch → better branch patch [Checkin: Comment 12]
(In reply to comment #11)
> (From update of attachment 373758 [details] [diff] [review])
> I would still like to know what causes this specific difference between trunk
> and branches to be necessary...

The difference with regard to the position of popups is bug279539 that was only applied to trunk
Ah, of course! Thanks for reminding me. (Hmm, should there be some dependency between the bugs involved?)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: