Closed Bug 109163 Opened 23 years ago Closed 23 years ago

Form-manager dialogs hosed, fields are shrunken

Categories

(Toolkit :: Form Manager, defect)

x86
Windows NT
defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: morse, Unassigned)

References

Details

Attachments

(1 file)

Open form-manager dialog (tasks->privacy->form-manager->view-stored-data

All the field widths have been greatly reduced so as to be unusable in many 
cases.  For example, select the phone-numbers panel and you'll see feilds that 
are less than one character wide.

Blake, is this another fallout of bug 108762?
Severity: normal → major
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.6
This is interesting.  Enter some data into these shrunken fields, then select 
another field and all the fields get bigger!  Of course that doesn't apply to 
the phone-number fields -- they're so small that you can't enter anything in 
there in the first place.
*** Bug 108676 has been marked as a duplicate of this bug. ***
Wait -- it's worse than just shrunken fields.  These widgets are supposed to be 
editable menulists but they no longer look like lists -- they look like just 
fields.

cc'ing cmanske who also has editable menulists somewhere.
The shrunken size is being caused by the following change that was made by blake 
for the xul cleanup (bug 108762.

-  <groupbox class="tabpanel" autostretch="never">
+  <groupbox align="start">

This occurs in the .xul files in extensions/wallet/editor.

I still don't know what is causing the loss of editable menulists.
Note that the default "orient" used to be "horizontal", but is now "vertical" for
groupboxes. Try adding 
orient="horizontal" 
to your groupbox tag.
The editable menulists should still work fine -- maybe they are just getting 
chopped off.
orient=horizontal makes on difference.
Steve: Which dialog is this?
All of them.

As mentioned in the bug description, open the dialog with:

   tasks->privacy->form-manager->view-stored-data

The initial panel that is open is the name panel and it has the problem.  Select 
any other panel in the list at the left.  They all have the problem.
Simplified testcase.  Note that the menulist outside the group box displays full 
width.  The one inside the groupbox is shrunken.  Removing the align="start" 
from the groupbox makes both menulists be full width.

But neither of these menulists display as menulist.  They look like textfields 
instead.

<?xml version="1.0"?> 
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <menulist editable="true">
    <menupopup>
      <menuitem label=""/>
    </menupopup>
  </menulist>

  <groupbox align="start">
    <menulist editable="true">
      <menupopup>
        <menuitem label=""/>
      </menupopup>
    </menulist>
  </groupbox>
</page>
And removing the editable="true" from the menulists makes them once again look 
like menulists.  But of course they won't be editable.
Oh my god! Your right, they've killed editable menulists! They aren't working in
all Composer instances as well.
Raising to critical based on cmanske's discovery.
Severity: major → critical
Summary: Form-manager dialogs hosed → Form-manager dialogs hosed / Editable menulists broken
Bug filed for editable menulist problem.
Keeping this bug for any other changes needed other than that issue.
Severity: critical → major
Depends on: 109190
Summary: Form-manager dialogs hosed / Editable menulists broken → Form-manager dialogs hosed
No longer depends on: 109190
Stomped on your "critical" change. Marked bug 109190 "critical" instead
Depends on: 109190
OK, will keep this bug just for the shrunken fields in form-manager the other 
new bug that you opened for the loss-of-menulist problem.  It's now clear that 
they are two separate issues.
Summary: Form-manager dialogs hosed → Form-manager dialogs hosed, fields are shrunken
I don't think I caused this. This was working in nightlies for a few days after
I landed.
I mean, I don't think I caused the critical bug, 109163.  I'll look into this.
So the fix here is to remove the align="start" that was added as part of the 
overall xul fixup (bug 108762).

One more piece of fallout from the overall xul fixup is that urlspecific panel 
no longer opens -- gives a syntax error.  I was about to fix that as well as 
part of this patch (/window -> /page) but I just noticed that timeless caught 
that and checked in a fix a few minutes ago.
Attached patch removing align="start" (deleted) — Splinter Review
cc'ing blake and alecf for reviews
Well, they had align="start" because that's the equivalent of autostretch="never
that used to be there.   I don't see why this would behave any different.
Comment on attachment 57174 [details] [diff] [review]
removing align="start"

sr=blake
(btw, timeless checked in the fix 12 hrs ago)
Attachment #57174 - Flags: superreview+
Sorry, I looked at the time of timeless' other checkin when I said a few moments 
ago.  Actually he checked in this fix 6 hours ago.
Comment on attachment 57174 [details] [diff] [review]
removing align="start"

r=jag
Attachment #57174 - Flags: review+
a=asa (on behalf of drivers) for checkin to 0.9.6
Keywords: mozilla0.9.6+
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
verified...this hasn't been a problem for quite some time.
Status: RESOLVED → VERIFIED
Assignee: morse → nobody
Product: Core → Toolkit
QA Contact: tpreston → form.manager
Target Milestone: mozilla0.9.6 → ---
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: