Closed Bug 161414 Opened 23 years ago Closed 23 years ago

Some Properties windows in Bookmark Manager not properly sized

Categories

(SeaMonkey :: Bookmarks & History, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jasonb, Assigned: p_ch)

References

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020806 BuildID: 2002080614 The patch checked in for bug 83298, while appropriately changing the descriptive text for tab group folders in Bookmark Manager, has resulted in the bottom portion of the OK and Cancel buttons being cut off. Reproducible: Always Steps to Reproduce: 1. Open Bookmark Manager. 2. Highlight a tab group folder. 3. Bring up the Properties dialogue. Actual Results: The window has insufficient vertical height, cutting off the OK and Cancel buttons. Expected Results: The window should be sized properly. CCing Pierre Chanial from bug 83298.
Come to think of it, there's something even more wrong. Group folders have OK and Cancel buttons (for when text is changed) but both regular folders and bookmarks are missing these controls.
Blocks: 80392
Updating Summary as per comment 1. Old summary: Properties window for group folders in Bookmark Manager not properly sized.
Summary: Properties window for group folders in Bookmark Manager not properly sized. → Properties windows in Bookmark Manager have problems.
No longer blocks: 80392
Mea Culpa. Note that I never noticed it on a fresh profile. I will investigate it.
Assignee: ben → chanial
Summary: Properties windows in Bookmark Manager have problems. → Properties window for group folders in Bookmark Manager not properly sized.
Reporter: is this a duplicate of bug 162828 (or vice versa)? See screenshots on that bug.
I don't know. It's not clear to me if there actually *IS* no "OK" button in the code, or if it's simply scrolled off of the bottom of the available vertical space. If both bugs are a result of the same problem (which may be the fix for bug 83298 as per commment 0) then the other bug should be a dupe of this one. (It was reported first, and I actually did change the Summary text at one point to reflect both symptoms, but it was changed back again by Pierre Chanial.) Pierre: Can you comment on this?
Can we get some update on this? It's still not clear if bug 162828 is a dupe of this or not.
Let's clear up the issue a bit. - Renaming/Properties dialogues for Tab Groups don't work (as this bug says. - Rename/Properties dialogues for simple bookmarks don't work (modern theme, see bug 167461). Bug 161970 is a duplicate. - Rename/Properties dialogues for folders work as expected. Updating summary to "Some Properties windows in Bookmark Manager not properly sized" to make it more generic.
*** Bug 167461 has been marked as a duplicate of this bug. ***
*** Bug 161970 has been marked as a duplicate of this bug. ***
Summary: Properties window for group folders in Bookmark Manager not properly sized. → Some Properties windows in Bookmark Manager not properly
Summary: Some Properties windows in Bookmark Manager not properly → Some Properties windows in Bookmark Manager not properly sized
*** Bug 162828 has been marked as a duplicate of this bug. ***
Neil, could you have a look to this bug? I can not reproduce it on linux. Reporters, this bug does not happen with a fresh new profile, right? I thought I removed a SizeToContent() call in bm-props.js but I didn't.
Severity: normal → major
> Reporters, this bug does not happen with a fresh new profile, right? Wrong. 2002090608 trunk / XP - created a new profile using Modern theme and the OK and Cancel buttons were still missing.
Surely a new profile doesn't cure, as Jason said. For me, modern theme is the sole prerequisite in order to reproduce the bug.
Neil just told me he can't reproduce this bug on Win95. So far win NT/2000/XP and Mac 9 are affected. I may I have found the offender: in bm-props.xul, I removed the description textNode and instead of that, I insert it in the startup function. In the problematic platforms, it seems like SizeToContent() has no effect, maybe because the dialog widget can not be resized, unlike in linux. So a solution would be to inline the description insertion before the dialog get opened as it is similarly done in commonDialog.xul
Attached patch Patch v1.0Splinter Review
Could anybody try to see if this patch fixes the problem?
Comment on attachment 98444 [details] [diff] [review] Patch v1.0 this works nicely on macos :)
Attachment #98444 - Flags: review+
Attachment #98444 - Flags: superreview+
Comment on attachment 98444 [details] [diff] [review] Patch v1.0 sr=bryner
checked in. Could someone verify it on windows, please?
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
wfm Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020911
WFM too - 2002091108 trunk / XP. -> Verifying.
Status: RESOLVED → VERIFIED
WFM now on MACOS 9.1 Build 2002091108
*** Bug 168641 has been marked as a duplicate of this bug. ***
*** Bug 171380 has been marked as a duplicate of this bug. ***
*** Bug 171535 has been marked as a duplicate of this bug. ***
*** Bug 174580 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: