Open Bug 88377 Opened 23 years ago Updated 12 years ago

table properties help button not placed correctly on Mac

Categories

(SeaMonkey :: Composer, defect)

PowerPC
All
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: Brade, Unassigned)

References

Details

(Keywords: platform-parity)

Attachments

(1 file, 3 obsolete files)

All of Composer's dialogs which are spec'd to have a help button are done except 
the Table Properties dialog.  This one hasn't been completed yet because it has 
an Apply button which is going to make it a little different from the others.

I am anticipating this problem: the Apply button string is currently in a dtd 
file.  However, we'll need to move it to a properties file to set that string on 
the button in the overlay.
UI change approved
Also what about named anchor props and h. line props? these don't have Help
buttons either.

also page colors and background & page title and props.
in the specification from techPubs, those dialogs do not have help buttons
Target Milestone: --- → mozilla0.9.3
The above patch works and keeps the buttons in the proper order.
The only problem I see is that the buttons aren't right aligned (OK/Cancel).  I
can't seem to get them right aligned (even without an apply button).  Perhaps
it's a problem with this dialog having tabs?
Whiteboard: need r=, sr=, a=
reviewed and approved
Keywords: nsBranch
> reviewed and approved
What does this mean? The patch has not had code review, so "reviewed" is 
confusing.
that is what I put in the bug so I know I am the one who entered the nsBranch
keyword, and it denotes that I have reviewed the bug and understand that it is
low risk, high return fix; and that I have approved it to be checked in to the
trunk and the branch
Can you please get the new UI checked in by 7/6? It would help Localization out
tremendously. thanks
r=cmanske, with small change to keep the "<spring flex="1">" so buttons are
right-aligned. New patch to be added soon.
Patch is tested: Apply works fine, Help button works great.
This needs testing on Mac too, since the button alignment is different.
I tested the patch. It's not ideal, but it's acceptable. With the patch, the 
button layout is:

                     [Help]  [Apply] [Cancel] [OK]

and it should be

  [Help]                     [Apply] [Cancel] [OK]

so sr=sfraser
Oh, that explains why Kathy didn't include the <spring/>. But it seems you
agree that having most buttons in the right place seems better than left-aligning
everything, which is wrong for both Mac and Windows. With my patch, it is 100%
correct for Windows, and mostly correct for Mac.
Checked into trunk.
Keywords: vtrunk
Whiteboard: need r=, sr=, a=
bae
Whiteboard: nsBranch+
My patch on 7/09 allows us to remove the "<spring flex="1"/>" from Composer's
EdTableProps.xul file. Thus we really should use that patch and the original
patch from Kathy on 6/29/01 11:25 to fix this bug.
This should fix button locations in all platforms.
I believe we should add the 'flex="1"' to *all* the "box" elements for all global
overlay button includes, but in the interest of minimum risk, I'm suggesting the
change only for the boxes used for the new Help buttons for now.
using trunk build from 7/9 and testing on win98, this works fine
asking QA to test on mac and linux
looks good on linux, akkana tested on current trunk build, and looks good on
mac, simon checked it out there.

per conversation with selmer, adding PDT+, removing vtrunk
Keywords: vtrunk
Whiteboard: nsBranch+ → nsBranch+, PDT+
Patch #2 was checked into the branch.
In my build, I noticed a problem with the 3rd patch above so I did not check that 
in.

I am removing keywords and leaving this bug open to deal with the button layout 
on Mac which is currently incorrect.

Set to milestone 1.0
Keywords: nsBranchpp
OS: All → Mac System 9.x
Hardware: All → Macintosh
Summary: composer table properties dialog needs help button → table properties help button not placed correctly on Mac
Whiteboard: nsBranch+, PDT+
Target Milestone: mozilla0.9.3 → mozilla1.0
spam composer change
Component: Editor: Core → Editor: Composer
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 
(you can query for this string to delete spam or retrieve the list of bugs I've 
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
removing myself from the cc list
-->cmanske
Assignee: brade → cmanske
Depends on: 135945
Attachment #41442 - Attachment is obsolete: true
Attachment #40641 - Attachment is obsolete: true
The platform-specific buttons in the "Fixes button alignments in platform XUL"
patch are deprecated in favor of using the <dialog> element in dialogs instead
of <window>. The fix for bug 135945 contains that conversion and thus fixes this
bug as well.
I'm not sure if there's any point in applying that third patch.
Joe, Blake: Is anyone using that code anymore?
Status: NEW → ASSIGNED
Keywords: nsbeta1
This problems should no longer be visible since table dialog was changed by
fixing bug 135945.
Does anyone think we should bother with changes to the old global XUL in 
patches for this bug?
Clarifying what this problem is now:

The help button is now correctly located but the apply button is not.  
It currently looks like this:
  [Help] [Apply]                     [Cancel] [OK]


See comment 14 -- it should be:
  [Help]                     [Apply] [Cancel] [OK]

OS: Mac System 9.x → All
Target Milestone: mozilla1.0.1 → mozilla1.1alpha
Ok. That would be and XPFE or themes bug. I'll look into it.
Attached patch patch for macSplinter Review
Simply move the spacer to put space after "Help" button.
Attachment #41647 - Attachment is obsolete: true
Whiteboard: [adt2 RTM][FIX IN HAND][need r=,sr=]
Comment on attachment 82286 [details] [diff] [review]
patch for mac

This patch will fix this bug but it is unacceptable because the
Save/Don'tSave/Cancel dialog won't lay out properly (the Don't Save button will
be too close to the other two bugs)
Attachment #82286 - Flags: needs-work+
Whiteboard: [adt2 RTM][FIX IN HAND][need r=,sr=] → [adt2 RTM]
Taking off adt radar. We'll work on this later
Whiteboard: [adt2 RTM]
Target Milestone: mozilla1.1alpha → mozilla1.2beta
nsbeta1- per buffy traige
Keywords: nsbeta1nsbeta1-
Target Milestone: mozilla1.2beta → Future
Product: Browser → Seamonkey
Charles,
Are you still working on this ?
QA Contact: sujay → composer
Target Milestone: Future → ---
Assignee: cmanske → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: