Closed Bug 237136 Opened 21 years ago Closed 20 years ago

Add bookmark dialog changes position on screen when clicking "Show all the bookmarks folders" button

Categories

(Firefox :: Bookmarks & History, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sugar.waffle, Assigned: jhpedemonte)

References

Details

(Keywords: polish, regression, Whiteboard: ignore comment 0)

Attachments

(1 file)

Even if it pushes the icon of the triangle mark in an add Bookmark dialog, a bookmark folder list is not displayed. A push on this button displays the following error messages on Java Script Console. Error: uncaught exception: [Exception... "Cannot find interface information for parameter arg 0 [nsIXULTreeBuilder.getIndexOfResource]" nsresult: "0x80570006 (NS_ERROR_XPC_CANT_GET_PARAM_IFACE_INFO)" location: "JS frame :: chrome://browser/content/bookmarks/bookmarksTree.xml :: selectResource :: line 286" data: no] Mac OS X 10.3.2 Use Default theme. Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; ja-JP; rv:1.7b) Gecko/20040311 Firefox/0.8.0+
There is no problem for the same reason as bug 237305. However, if it changes a display / un-displaying, the display position of a dialog screen will not become settled uniformly.
Summary: No bookmark folder lists are displayed in an add Bookmark dialog. → When the display of all bookmark lists is changed in an Add Bookmark dialog, the display position of a dialog is not fixed.
Severity: normal → minor
Reproducible: Always Steps to Reproduce: 1.Select "Add Bookmarks..." 2.The button which displays all bookmark folder lists(The button to which the triangular icon was attached) is pushed. 3.Again, a button is pushed. Actual Results: The display position of a dialog screen changes constantly. Expected Results: The display position of a dialog screen is always fixed. It is Checking by 2004-03-15 hightly build.
*** This bug has been marked as a duplicate of 246175 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
reopening.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
*** Bug 246175 has been marked as a duplicate of this bug. ***
changing summary and marking new. regression.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Summary: When the display of all bookmark lists is changed in an Add Bookmark dialog, the display position of a dialog is not fixed. → Add bookmark dialog changes position on screen when clicking "Show all the bookmarks folders" button
Whiteboard: ignore comment 0
This is still a problem on Firefox 0.9. Do any of the firefox developers have access to a Mac? This is quite an annoying bug.
I found the expandTree() function in addBookmarks2.js that shows/hides the directory tree. Unfortunately, the javascript debugger doesn't seem to work for Firefox, so I can't debug it on the fly. If someone can tell me what to look for, I can take a look at this bug.
*** Bug 247724 has been marked as a duplicate of this bug. ***
Please note that the Bug 247724 (which I filed because I never thought of "changes position" as the magic words that had previously been used to describe this behavior when querying bugzilla) includes comments regarding this moving/jumping/position changing behavior not only for Add Bookmarks but also Opening <filename> and Customize Toolbar, so debugging this issue probably shouldn't be restricted to Add Bookmark.
Flags: blocking1.0?
its mac only, so should be blocking1.0mac and yeah, this is a pretty obvious blocker
Flags: blocking1.0? → blocking1.0mac+
Why is there a separate blocking1.0 flag for mac? Why not for the other platforms, also?
Because Mac 1.0 is going to ship later than Win/Linux 1.0
Severity: minor → normal
Keywords: polish
Attached patch patchSplinter Review
We were zooming in, even when we weren't zoomed out (maximized).
Comment on attachment 155858 [details] [diff] [review] patch This patch seems to fix all of the cases I know of, except for the Customize Toolbar dialog (which has other major problems).
Attachment #155858 - Flags: review?(sfraser)
CCing Simon, any progress with the review request?
Whiteboard: ignore comment 0 → ignore comment 0 [have patch]
Comment on attachment 155858 [details] [diff] [review] patch Javier, can you please ask review from someone else, sfraser is on vacation (maybe pinkerton?)
Attachment #155858 - Flags: review?(sfraser) → review?(pinkerton)
i don't follow this at all. first the description talks about a missing interface. the patch, however, fixes zooming in when we weren't zoomed out. also, it handle the reverse case (zooming out when we weren't zoomed in). why not?
I don't know about the error in the original description. That may have been unrelated. As for not handling the other case: nsSizeMode_Minimized is handled at the top of that function (returns NS_ERROR_UNEXPECTED), so the only possible values are nsSizeMode_Maximized and nsSizeMode_Normal. I don't know if that function would ever get nsSizeMode_Maximized when the window is already maximized; but if it did, I don't think it would do anything bad to maximize it again. If you want, I could just add some code to only maximize the window if the previous state was nsSizeMode_Normal.
CCing Pinkerton, so he'll read your comment...
Attachment #155858 - Flags: review?(pinkerton) → review?(peterv)
peterv, can you take a look at this when you get the chance?
Comment on attachment 155858 [details] [diff] [review] patch >Index: nsMacWindow.cpp >=================================================================== >+ nsBaseWidget::GetSizeMode(&previousMode); > rv = nsBaseWidget::SetSizeMode(aMode); > if (NS_SUCCEEDED(rv)) { Yeah, so this could be |if (NS_SUCCEEDED(rv) && aMode != previousMode)| and the rest wouldn't need to change (I think). Either way, r=peterv. > if (aMode == nsSizeMode_Maximized) { > CalculateAndSetZoomedSize(); > ::ZoomWindow(mWindowPtr, inZoomOut, ::FrontWindow() == mWindowPtr); >- } else >- ::ZoomWindow(mWindowPtr, inZoomIn, ::FrontWindow() == mWindowPtr); >+ } else { >+ // Only zoom in if the previous state was Maximized >+ if (previousMode == nsSizeMode_Maximized) If you do keep this, please make it |else if {|.
Attachment #155858 - Flags: review?(peterv) → review+
Attachment #155858 - Flags: superreview?(sfraser)
Simon, can you review? No separate 1.0mac anymore, nominating for 1.0.
Flags: blocking-aviary1.0?
Assignee: p_ch → jhpedemonte
Attachment #155858 - Flags: superreview?(sfraser) → superreview+
Attachment #155858 - Flags: approval-aviary?
Comment on attachment 155858 [details] [diff] [review] patch too late for 1.0
Attachment #155858 - Flags: approval-aviary? → approval-aviary-
Flags: blocking-aviary1.0?
Checked in to trunk.
Status: NEW → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Whiteboard: ignore comment 0 [have patch] → ignore comment 0
This bug needs to be reopened. I'm running Firefox 1.0.4 on Mac OS 10.4 and Add Bookmark and Customize Toolbar are both jumping around the screen again.
(In reply to comment #26) > This bug needs to be reopened. Mitch, please read the 2 above comments. This didnt make it to 1.0.x, but will be available in Firefox 1.1
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: