Closed
Bug 52564
Opened 24 years ago
Closed 24 years ago
UW IMAP UI: New Folder Dialog is not displaying completely
Categories
(SeaMonkey :: MailNews: Message Display, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.3
People
(Reporter: huang, Assigned: naving)
References
Details
(Whiteboard: [nsbeta1+][nsbranch+,pdt+])
Attachments
(9 files)
11.28 KB,
image/gif
|
Details | |
2.66 KB,
patch
|
Details | Diff | Splinter Review | |
2.73 KB,
patch
|
Details | Diff | Splinter Review | |
15.84 KB,
image/jpeg
|
Details | |
1.68 KB,
patch
|
Details | Diff | Splinter Review | |
24.17 KB,
patch
|
Details | Diff | Splinter Review | |
24.17 KB,
image/jpeg
|
Details | |
17.84 KB,
patch
|
Details | Diff | Splinter Review | |
17.84 KB,
image/jpeg
|
Details |
Used 09-13-12-M18 commercial build:
Overview: Refer to bug 28254, after uncheck dual-use folder, there is new design
New Folder Dialog for UW IMAP server, but it seems that sometimes OK & Cancel
buttons are not displaying completely from this new folder dialog. (please see
attached gif file)
1) Login to a UW IMAP mail account
2) Select File|New|Folder...
3) Actual Results: It displays New folder dialog not completely, OK & Cancel
buttons sometimes are not displaying completely.
Expected Results: Should display the New folder dialog with OK &
Cancel buttons completely
Additional Info: This is not occurring every time, but it occurs sometimes.
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
Adding keywords: nsbeta3
Keywords: nsbeta3
QA Contact: esther → huang
Don't know why ... Accepting ...
Status: NEW → ASSIGNED
Target Milestone: --- → M18
Comment 6•24 years ago
|
||
This is not even close to P1 or P2, nsbeta3-.
Whiteboard: [nsbeta3-]
Target Milestone: M18 → Future
Comment 7•24 years ago
|
||
FYI: Creating a folder on Local Folders also has display problems:
- Select Local Folders
- Select File|New|Folders
- Type the name of the new folder (i.e. Folder1)
- Click on the button below to choose a parent folder.
- After selecting a parent folder notice that you can see part of the parent
folder, the OK button is difficult to see and the Cancel button is completely
out of view (the longer the description to the parent the worse the problem
appears)
Workaround: You can click the "x" box to close the dialog or the Enter key to
create the new folder. Either way it looks sloppy.
Comment 8•24 years ago
|
||
reassigning jefft's bugs to naving
Assignee: jefft → naving
Status: ASSIGNED → NEW
Assignee | ||
Comment 9•24 years ago
|
||
Have a fix
Comment 10•24 years ago
|
||
sr=mscott
Assignee | ||
Comment 11•24 years ago
|
||
Fix checked in for both problems
Assignee | ||
Updated•24 years ago
|
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 12•24 years ago
|
||
Marking fixed..
Comment 13•24 years ago
|
||
Can someone explain to me why exactly resizeTo(0, 0); is needed there?
sizeToContent() shouldn't need it, and if it somehow doesn't resize unless you
set the size to 0, 0, then there's a bug.
Comment 14•24 years ago
|
||
Okay, so when I leave out resizeTo(0, 0); Mozilla segfaults. This shouldn't
happen. Is there a bug filed on this?
Assignee | ||
Comment 15•24 years ago
|
||
resizeTo(0,0) is required because resizeToContent() does not work as it is
supposed to work. resizeToContent() when called without resizeTo(0,0) more than
one time cause the new Folder window to occupy the
entire desktop. You can comment it out and try. I don't know if there is a bug
filed on resizeToContent() because it should resize to just the content on the
window (without resizeTo(0,0)).
Comment 16•24 years ago
|
||
Isn't it custom in those cases to file a bug if you can't find one, and if the
workaround is needed right now, add it with a ``// XXX this next bit added
temporarily because of bug N'' ?
Assignee | ||
Comment 17•24 years ago
|
||
Okay filed a new bug #62987. If you are working on the same part of the code can
you add the comment you suggest. Thanks for pointing out my mistake...
Comment 18•24 years ago
|
||
You rock, thanks for filing that bug :-)
I am indeed working in that code and will add the XXX comments.
Assignee | ||
Comment 19•24 years ago
|
||
Reopening the bug. The fix is dependent on 62987, 63224. However the
problem Ninoschka is reporting seems to be fixed.
Comment 20•24 years ago
|
||
What could be done is changing newFolderDialog.xul to start at a good size
(which allows for long folder names), remove the resizeTo and sizeToContent from
newFolderDialog.js and msgFolderPickerOverlay.js, and add a large enough
resizeTo in case of UW:IMAP (large enough for added content and long folder
names).
The menulist should probably be given a crop="left" to cause an ellipsis to
appear at the left side if the folder name would become too long.
Comment 21•24 years ago
|
||
Working on a patch for this last suggestion.
Assignee | ||
Comment 22•24 years ago
|
||
Probably we can just allow the new folder dialog with the users having the ability
to resize the windows and we can wait for window.sizeToContent to be fixed.
sizeToContent() and resizeTo() are no longer needed in msgFolderPickerOverlay.js
I think somebody has checked in the code that fixes the problem of long folder
name not displaying completely in the dialog without these commands.
Comment 23•24 years ago
|
||
Comment 24•24 years ago
|
||
There was another sizeToContent() in the menu's oncommand in
newFolderDialog.xul, if that's what you were referring to. Did that work for
you, btw?
Assignee | ||
Comment 25•24 years ago
|
||
I just applied your patch. Cropping on left doesn't look that good. I think we
will have to wait for sizeToContent() to be fixed.
Comment 26•24 years ago
|
||
Well ... Crashing isn't good either, and just taking out sizeToContent() and
making UW:IMAP users resize their dialog doesn't seem right.
Does it look slightly better when you crop right? I just realized I was cropping
the box name instead of the server name.
You could also try a larger width, find something that's more reasonable.
Assignee | ||
Comment 27•24 years ago
|
||
Assignee | ||
Comment 28•24 years ago
|
||
The problems now seems to be fixed by cropping on the right. However a new
problem has been introduced that was not there before. It may be related to the
new code (newFolderDialog.js ....etc). If you have a UW:IMAP account and have
the properties set to dualuseFolder the first time you do a new folder the
dialog does not show the option of messages only or folders only folder. From
the second time onwards it does show the content correctly.
Also about the fix I don't know if there are some other IMAP servers which may
have different content for the newFolderDialog. In that case the fix would not
work.
Other than the above two issues I think you have proposed a good fix.
Comment 29•24 years ago
|
||
| If you have a UW:IMAP account and have the properties set to dualuseFolder
| the first time you do a new folder the dialog does not show the option of
| messages only or folders only folder. From the second time onwards it does
| show the content correctly.
Yes, I've seen that in testing... Can you check your console output? It will say
something like document.getElementById("folderGroup").selectedItem not being
defined. The problem here (at least for me) seems to be that the XBL binding
didn't happen at that time.
| Also about the fix I don't know if there are some other IMAP servers which may
| have different content for the newFolderDialog. In that case the fix would not
| work.
Can you explain what you mean here with "different content"?
Assignee | ||
Comment 30•24 years ago
|
||
different content refers to the "different content" we see on the
newFolderDialog in these two cases( w & w/o UW:IMAP). So I was suggesting if
there were a third case. However it looks like that you can either have
dualUsefolders or !dualUsefolders
Comment 31•24 years ago
|
||
Ah, okay. Then no, there won't be a third case. (Well, not with what's currently
there.)
So do you see that js exception in your console?
Assignee | ||
Comment 32•24 years ago
|
||
Yes I am seeing the exception
Comment 33•24 years ago
|
||
naving: I take it this means I have r=naving. I'll see if I can get a= and get
this checked in.
About the exception: I'll file a bug on hyatt about that once I get a smaller
testcase. It is not related, but annoying still. We could add a try/catch around
those lines (with a big XXX comment ;-) ) if really needed.
Assignee | ||
Comment 34•24 years ago
|
||
Okay, r=naving. Checkin the fix ASAP, when you get the super-review.
Assignee | ||
Comment 35•24 years ago
|
||
Peter, There are a log of bugs being filed related to new folder
window crashing, occupying the entire desktop. Can you please check in
the patch or do you want me to check it for you.
Comment 36•24 years ago
|
||
I thought sizeToContent() was fixed, thus fixing those problems?
I can check in these fixes regardless though.
No longer blocks: 64320
Assignee | ||
Comment 37•24 years ago
|
||
I don't find a consistent behavior. I have seen new folder window
causing crash on Linux if you take a few tries to select the
parent folder in pull-down. Also someone reported the window
occupying the entire desktop on Win 2000. I think we don't need
to use sizeToContent()
Comment 38•24 years ago
|
||
sr=mscott on the 12/20 16:28 patch.
Assignee | ||
Comment 39•24 years ago
|
||
Peter, thanks for your patch. I have just checked in your patch.
UW:IMAP
There is still an issue of new Folder
window not listing the messages only folder and folders-only folder
options when the new Folder window comes up for the first time only. It
is not a problem second time onwards.
This patch however helps in fixing all the crashes on linux and the new Folder
window occupying the whole screen on windows.
Marking this bug fixed. There is already another bug logged for the UW:IMAP
issue/problem mentioned above.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 40•24 years ago
|
||
Reopening this bug since this problem is existing on today's build
02-16-09-Mtrunk build....
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 41•24 years ago
|
||
Problem is still existing on current 05-04-06-trunk build
remove OLD nsbeta3 & nsbeta3- keywords & status whiteboard, adding nsbeta1 for
the NEW keyword. This should be fixed, otherwise users will misunderstand that
they cannot create new folder.......
Comment 42•24 years ago
|
||
marking nsbeta1+ and moving to mozilla0.9.2
Whiteboard: [nsbeta1+]
Target Milestone: Future → mozilla0.9.2
Assignee | ||
Comment 44•24 years ago
|
||
We need to fix this one in 0.9.3 because the new folder dialog does not
show completely. This happens everytime. The user may not be able to create
a new folder. I will attach the screen shot.
Severity: normal → critical
Assignee | ||
Comment 45•24 years ago
|
||
Reporter | ||
Comment 46•24 years ago
|
||
Yes. This should be fixed earlier - that's why I nominate on 05-07 as following:
>This should be fixed, otherwise users will misunderstand that
>they cannot create new folder.......
Assignee | ||
Comment 47•24 years ago
|
||
Assignee | ||
Comment 48•24 years ago
|
||
The fix is basically to let the window size itself, rather than hardcoding
height and width. Also set hidden to false for the newFolderTypeBox before
accessing the folder group.
cc bhuvan for review
Comment 49•24 years ago
|
||
Looks like bhuvan's fix to bug 72458 also fixes this. Beware of code conflicts.
Assignee | ||
Comment 50•24 years ago
|
||
Comment 51•24 years ago
|
||
(oh... and the screenshot was attached as text/plain)
Assignee | ||
Comment 52•24 years ago
|
||
Comment 53•24 years ago
|
||
This one is different from what I am trying to fix in my bug.
But patch in here (removing the default window sizes) is causing problems on
Linux builds. When we choose a folder from the picker (which calls for window
resize) is crashing the app.
We need to better the fix. Probably allow resizing if that works. But that is no
good solution.
The ideal thing to happen is the original owner of SIZE_TO_CONTENT bug (if there
is one) should fix it and then this patch will work fine.
bhuvan
Assignee | ||
Comment 55•24 years ago
|
||
okay, the patch works on all three platforms. The only problem is that
it does not show the Ok and Cancel button fully for the first time (see
next screen shot). From the second time onwards it works fine (see the
screenshot dated 06/26/01 15:25)
Assignee | ||
Comment 56•24 years ago
|
||
Assignee | ||
Comment 57•24 years ago
|
||
Assignee | ||
Comment 58•24 years ago
|
||
I think this is a big improvement if you compare it with the current one before
the fix. looking for r and sr.
Comment 59•24 years ago
|
||
Is that the first time ever or the first time per session? Regardless, it looks
like what you have will at least be useable. Does this affect non-UW servers in
anyway (meaning does the dialog come up the right size)?
Assignee | ||
Comment 60•24 years ago
|
||
For UW server it happens first time per session, and the dialog comes in right
size for non UW servers.
Comment 61•24 years ago
|
||
Leave this bug open after this fix as we need to fix this correctly even for the
first time. Please identify the bug (or file a new bug) which is responsible for
this layout anamoly and mark the dependency.
r=bhuvan
Comment 62•24 years ago
|
||
your last patch seems fine. sr=sspitzer
as racham adds, don't close the bug until we resolve the first time problem.
#1)
Is this only a first time problem? what happens if you do new folder on a uw
imap server, close it, do new folder on local mail, close it, and then do new
folder on the uw imap server?
#2) does using sizeToContent() still make us crash? seems like using that
would be the proper fix (and might fix the "first time problem"). if it still
makes us crash, we should reopen #62987.
Assignee | ||
Comment 63•24 years ago
|
||
1) yes, this is only the first time problem. uw->local->uw worksfine.
The order does not matter. It screws up only in the first time.
2) sizeToContent() doesn't resize; infact it does not let the window
resize on it's own. on linux sizeToContent doesn't crash.
Assignee | ||
Comment 64•24 years ago
|
||
partial fix landed on trunk.
Reporter | ||
Comment 65•24 years ago
|
||
Is this fixed completely? Problem is still occurring on the windows platform
*migrated* profile for the FIRST time launching....
This did pass for the *new profile* for both Windows & Mac platforms...
Not check for Linux yet since there is problem for the profilemanager......
Assignee | ||
Comment 66•24 years ago
|
||
For the migrated profile does the server settings migrate properly ?
Reporter | ||
Comment 67•24 years ago
|
||
I believe that it does.
Esther also saw this problem on her migrated UW profile.
The strange thing is: FIRST time launch on windows platform will display this
new folder dialog uncompletely on the upper left corner. And it is so strange
that this problem is not occurring on the Mac migrated profile.....
Linux new profile is working fine too.
Comment 68•24 years ago
|
||
trunkverified
Scott said the 1st time launch was the part not fixed, so per Karen's testing on
the trunk of this fix we will consider this trunkverified
Updated•24 years ago
|
Whiteboard: [nsbeta1+] → [nsbeta1+][nsbranch+]
Comment 69•24 years ago
|
||
When the branch is open, please check this into it today.
Whiteboard: [nsbeta1+][nsbranch+] → [nsbeta1+][nsbranch+,pdt+]
Assignee | ||
Comment 70•24 years ago
|
||
fix landed on branch
Comment 71•24 years ago
|
||
Let's mark this fixed and open another bug for the fact that it still doesn't
show up completely the first time.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 72•24 years ago
|
||
Rest issue logged on bug 90734.
Verified this bug on 07-13-06-0.9.2 branch build too.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•