Closed
Bug 123207
Opened 23 years ago
Closed 22 years ago
file bookmark dialog window resizes itself after every use from the bookmark manager
Categories
(SeaMonkey :: Bookmarks & History, defect)
SeaMonkey
Bookmarks & History
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mozbugz, Assigned: neil)
References
Details
(Keywords: polish)
Attachments
(3 files, 3 obsolete files)
6.05 KB,
patch
|
p_ch
:
review+
|
Details | Diff | Splinter Review |
6.34 KB,
patch
|
asa
:
review+
asa
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
458 bytes,
application/vnd.mozilla.xul+xml
|
Details |
I see this only affecting from using file bookmark from the toolbar or context menu in the bookmark manager: The dialog decides to resize itself after every use if you are re-filing bookmarks, you see this right away. Browser window pull-down menu file bookmark dialog doesn't appear to have this problem.
Comment 1•23 years ago
|
||
Works for me 2002020103 on WinXP. Dennis, please include the build id and detailed steps to reproduce this bug.
Reporter | ||
Comment 2•23 years ago
|
||
this is been around a long time, w2k builds are affected. I've was using latest nightly build 2-2-08, and was using bookmark manager to file current bugs in a 'needs filing folder' to new folders. I click on either the toolbar's 'file bookmark(s)' or the context menu's 'file bookmark(s)' menu item, which fires the 'file bookmark dialog'.. if you do like any normal window in windows' you want a window to persist it's size, you click on the window 'x' in the upper right. Which should save its size. Now, if try to go thru such a folder you file one bookmark at a time using this, you would see that the file bookmark dialog moves, and expands it size vertically and horizonally, in different ways.. I could add several screenshots. There is a pattern to how it gets resized. One that is noticable, is it gets resized on the left side, so on subsequent firing, it incrementally will get larger towards the left side of the screen. I would have to really write down and take screen shots of each one to get to be reproduceable that way.. the real problem is that the file bookmark dialog doesn't persist its size, from one use to the next.
Comment 3•23 years ago
|
||
Ok, I'm now seeing this. More specifically, every time the dialog is launched, it grows both vertically and horizontally based on where it is on the screen. Nice catch Dennis!
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 4•22 years ago
|
||
removing self from cc list
Reporter | ||
Comment 5•22 years ago
|
||
see bug 119599 comment 42.. Ok for a minute here if its the change to move code into SizeToFit(), I'm just thinking maybe then the code to determine it persisted size lies inside OpenDialog Function or Call?
Comment 6•22 years ago
|
||
The last days i allways had the effect, that the first few hours I worked with the new nightly, the window allways resiezed to a very small size, when I opened. After few hours (and several closes and reopen), the function was ok and furtheron the window reopened always with the size as it had when I closed it for the last time. Actual: Mozilla/5.0 (Windows; U; Win98; de-AT; rv:0.9.9+) Gecko/20020410
Comment 7•22 years ago
|
||
Mozilla/5.0 (Windows; U; Win98; de-AT; rv:0.9.9+) Gecko/20020410 Now I am shure! Resizing (to minimum-size) only happens, when I want to file a Bookmark of a Window with minimum a second TAB opened. Preference "hide the tab bar when only one ...." is without influence to this Problem.
Reporter | ||
Comment 8•22 years ago
|
||
this bug was just for the file bookmark from the Bookmark Manager is my testcase. comment #6, #7 is about the new problem seen from bookmark groups bug 119599.
Reporter | ||
Comment 9•22 years ago
|
||
comment 5-7, I filed bug 136835 for the menus file bookmark.. not this BM file bookmark.
Comment 10•22 years ago
|
||
added myself to CC
Comment 11•22 years ago
|
||
I believe, bug 136835 or bug 123207 shold be marked as DUP of the other one
Comment 12•22 years ago
|
||
*** Bug 136835 has been marked as a duplicate of this bug. ***
Comment 13•22 years ago
|
||
*** Bug 136835 has been marked as a duplicate of this bug. ***
Comment 15•22 years ago
|
||
The File Bookmark window is too small by default. 1. Bookmarks -> File Bookmark... In the Create in... list, only two folders are shown. There is a considerable space between the list and the check boxe above it. I suggest enlarging the list of folders.
Comment 16•22 years ago
|
||
I have the same problem as comment 15. Using 1.0 RC2 on Linux.
Comment 17•22 years ago
|
||
*** Bug 147550 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Blocks: RememberPosition
Comment 18•22 years ago
|
||
This has been bugging me for so long. Adding myself to CC-list.
Comment 19•22 years ago
|
||
I get the problem whenever I have more than 1 tab open. I first noticed the problem when Mozilla started offering the "File as group" option for multiple tabs. Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020605
Comment 20•22 years ago
|
||
Comment to #19 So it is.
Assignee | ||
Comment 21•22 years ago
|
||
This patch moves the persist from the dialog to the tree so that when the file as group checkbox is enabled the whole dialog gets bigger.
Comment 22•22 years ago
|
||
*** Bug 153365 has been marked as a duplicate of this bug. ***
Comment 23•22 years ago
|
||
<neil@parkwaycc.co.uk>'s patch in attachment 87507 [details] [diff] [review] works for me in fixing this bug *and* bug 146859. See bug 146859 comment 14 to 17. However, I noticed that attachment 87507 [details] [diff] [review] broke bookmarking a group of tabs. When you type in a name for the group, the OK button isn't reenabled. Here's an extra patch, to be applied on *top* of attachment 87507 [details] [diff] [review], that fixes this.
Assignee | ||
Comment 24•22 years ago
|
||
Thanks to Kevin for pointing out the problem, the actual fix simplifies the addingGroup function so much that I've inlined it instead.
Assignee | ||
Updated•22 years ago
|
Attachment #87507 -
Attachment is obsolete: true
Attachment #89485 -
Attachment is obsolete: true
Comment 25•22 years ago
|
||
Again and again the problem with this bug is discussed in "de.comm.software.mozilla". This bug should have (if no quick solution is possible - A Priority - A target milestone
Comment 26•22 years ago
|
||
*** Bug 139591 has been marked as a duplicate of this bug. ***
Comment 27•22 years ago
|
||
Shouldn't 'OS' set to 'All', because the bug is not only specific to Windows 2000 (maybe also 'Platform' should be changed)?
Assignee | ||
Updated•22 years ago
|
OS: Windows 2000 → All
Hardware: PC → All
Comment 28•22 years ago
|
||
*** Bug 158939 has been marked as a duplicate of this bug. ***
Comment 29•22 years ago
|
||
There is a patch here. Is it ready for review? (Probably some bitrot by now.) This is a high visibility problem. Anyone who uses tabs will see this. If a fix is mostly ready then someone please review it. If we're just waiting for Neil to return then say so.
Comment 30•22 years ago
|
||
I just tried this patch on my up to date Linux CVS build, it applies cleanly and fixes the problem of the file bookmarks dialog being too small. This is very visible and very annoying, can we get this in soon, please? Neil, did you already try getting reviews for this?
Blocks: 123569
Keywords: mozilla1.2
Comment 31•22 years ago
|
||
Build 2002072804 Win98se I hope this bug is fixed now. I have been re-sizing the file bookmark window in order to use it. I have a better work-around now - right-click on the title bar, select "Maximize".
Comment 33•22 years ago
|
||
*** Bug 163479 has been marked as a duplicate of this bug. ***
Comment 34•22 years ago
|
||
*** Bug 168245 has been marked as a duplicate of this bug. ***
Comment 35•22 years ago
|
||
*** Bug 170158 has been marked as a duplicate of this bug. ***
Comment 36•22 years ago
|
||
Comment on attachment 89526 [details] [diff] [review] Fixed patch r=chanial@noos.fr Make sure the patch still apply
Attachment #89526 -
Flags: review+
Assignee | ||
Comment 37•22 years ago
|
||
Comment 38•22 years ago
|
||
Comment on attachment 100873 [details] [diff] [review] Updated for merge conflict You're packing a few other changes in this patch too. You might want to make sure that the changes from .setAttribute("checked", ...) to .checked = ... work in the code that gets run from onload, I recall that in certain cases the checkbox binding wasn't quite ready yet (a bug, I believe) and .checked wouldn't have the desired effect. Hmmm... I'm trying to recall why I check for the checkbox's visibility (indirectly through showaddgroup's) before checking its checked state. Is there any way the checkbox can be checked and hidden? The comment after |else if (gFld_URL.value)| seems rather odd, just drop it.
Assignee | ||
Comment 39•22 years ago
|
||
> You're packing a few other changes in this patch too. You might want > to make sure that the changes from .setAttribute("checked", ...) to > .checked = ... work in the code that gets run from onload, I recall > that in certain cases the checkbox binding wasn't quite ready yet > (a bug, I believe) and .checked wouldn't have the desired effect. That's fixed by the removal of hidden="true" from the broadcaster that ensures that the XBL gets bound to the checkbox before the onload handler, primarily so that the dialog will resize properly, but incidentally allowing the use of the .checked property. > Hmmm... I'm trying to recall why I check for the checkbox's visibility > (indirectly through showaddgroup's) before checking its checked state. > Is there any way the checkbox can be checked and hidden? It is never checked before it is hidden. And it is never unhidden. So... > The comment after |else if (gFld_URL.value)| seems rather odd, just drop it. Actually that was moved from line 251.
Comment 40•22 years ago
|
||
*** Bug 172216 has been marked as a duplicate of this bug. ***
Comment 41•22 years ago
|
||
*** Bug 173736 has been marked as a duplicate of this bug. ***
Comment 42•22 years ago
|
||
You're right, starting with it showing probably fixes the xbl binding thing. I know the comment was moved, it just seems odd there, since the comment says do nothing followed by us doing something. The comment is technically correct since it speaks about the else case for that if-else-if, but I think it would be more confusing to leave it there than to just remove it at this point. sr=jag with the comment removed.
Assignee | ||
Comment 43•22 years ago
|
||
Attachment #100873 -
Attachment is obsolete: true
Comment 44•22 years ago
|
||
Comment on attachment 102568 [details] [diff] [review] Removed comment as requested a=asa for checkin to 1.2beta (on behalf of drivers)
Attachment #102568 -
Flags: superreview+
Attachment #102568 -
Flags: review+
Attachment #102568 -
Flags: approval+
Comment 45•22 years ago
|
||
fix checked in
Comment 46•22 years ago
|
||
Still not working in one (bizarre) specific case. 1. Run Mozilla. 2. Open a new tab (so you now have two). 3. Go to Bookmarks -> File Bookmarks... The dialog will always be too small, cutting off the OK and Cancel buttons. It does NOT do this when only one tab is open (there, it works properly).
Comment 47•22 years ago
|
||
*** Bug 174454 has been marked as a duplicate of this bug. ***
Comment 48•22 years ago
|
||
Re: Comment 46 - that's bug 146859. Sorry for the SPAM.
Assignee | ||
Comment 49•22 years ago
|
||
Really marking fixed as per comment 45.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 50•22 years ago
|
||
This still happens, although very subtly. It happens about one or two pels at a time with each open. Try it.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 51•22 years ago
|
||
I can confirm this behavior, but it may be a different bug than this one. I'm on Win2k 2003012607 and each time I open Bookmarks -> File Bookmark, the resulting dialog is one pixel larger horizontally each time.
Comment 52•22 years ago
|
||
Confirm #51 with Mozilla/5.0 (Windows; U; Win98; de-AT; rv:1.3b) Gecko/20030125 Window is getting larger at the right side. I also confirm #50 My "File Bookmarks"-Window normally opens in the same size as the last time (+1px on the right side), but very seldom it opens with quite another size.
Assignee | ||
Comment 53•22 years ago
|
||
Must be a layout bug - if you compare the height and width attributes with the actual height and width computed by layout you'll see that the heights agree but the widths don't.
Assignee | ||
Comment 54•22 years ago
|
||
Assignee | ||
Comment 55•22 years ago
|
||
Comment on attachment 112871 [details] Test case for sizeToContent bug To demonstrate the bug, turn on dump (if you don't already have it on), open the JS console, evaluate openDialog('http://bugzilla.mozilla.org/attachment.cgi?id=112871', '_blank', 'chrome,all,dialog=no') and look at the dump output. On Windows and Linux I see a width of 257 but both height and width should be 256.
Comment 56•22 years ago
|
||
Here's your problem: http://lxr.mozilla.org/seamonkey/source/content/base/src/nsDocumentViewer.cpp#27 09 nsDocumentViewer has a +1 fudge factor.
Assignee | ||
Comment 57•22 years ago
|
||
Reresolving; the new problem is caused by a bad fix to bug 68352 and/or others.
Assignee | ||
Comment 58•22 years ago
|
||
Really resolving :-/
Status: REOPENED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → FIXED
Comment 59•22 years ago
|
||
*** Bug 193009 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment 60•15 years ago
|
||
VERIFIED Windows NT 5.1; en-US; rv:1.9.1.5pre) Gecko/20091019
Status: RESOLVED → VERIFIED
Target Milestone: Future → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•