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)
Tracking
()
RESOLVED
FIXED
People
(Reporter: sugar.waffle, Assigned: jhpedemonte)
References
Details
(Keywords: polish, regression, Whiteboard: ignore comment 0)
Attachments
(1 file)
1.81 KB,
patch
|
peterv
:
review+
sfraser_bugs
:
superreview+
asa
:
approval-aviary-
|
Details | Diff | Splinter Review |
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.
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
Comment 5•20 years ago
|
||
*** Bug 246175 has been marked as a duplicate of this bug. ***
Comment 6•20 years ago
|
||
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
Assignee | ||
Comment 7•20 years ago
|
||
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.
Assignee | ||
Comment 8•20 years ago
|
||
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.
Comment 9•20 years ago
|
||
*** Bug 247724 has been marked as a duplicate of this bug. ***
Comment 10•20 years ago
|
||
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.
Assignee | ||
Updated•20 years ago
|
Flags: blocking1.0?
Comment 11•20 years ago
|
||
its mac only, so should be blocking1.0mac
and yeah, this is a pretty obvious blocker
Flags: blocking1.0? → blocking1.0mac+
Assignee | ||
Comment 12•20 years ago
|
||
Why is there a separate blocking1.0 flag for mac? Why not for the other
platforms, also?
Comment 13•20 years ago
|
||
Because Mac 1.0 is going to ship later than Win/Linux 1.0
Assignee | ||
Comment 14•20 years ago
|
||
We were zooming in, even when we weren't zoomed out (maximized).
Assignee | ||
Comment 15•20 years ago
|
||
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)
Comment 16•20 years ago
|
||
CCing Simon,
any progress with the review request?
Whiteboard: ignore comment 0 → ignore comment 0 [have patch]
Comment 17•20 years ago
|
||
Comment on attachment 155858 [details] [diff] [review]
patch
Javier, can you please ask review from someone else, sfraser is on vacation
(maybe pinkerton?)
Assignee | ||
Updated•20 years ago
|
Attachment #155858 -
Flags: review?(sfraser) → review?(pinkerton)
Comment 18•20 years ago
|
||
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?
Assignee | ||
Comment 19•20 years ago
|
||
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.
Comment 20•20 years ago
|
||
CCing Pinkerton, so he'll read your comment...
Assignee | ||
Updated•20 years ago
|
Attachment #155858 -
Flags: review?(pinkerton) → review?(peterv)
Assignee | ||
Comment 21•20 years ago
|
||
peterv, can you take a look at this when you get the chance?
Comment 22•20 years ago
|
||
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+
Assignee | ||
Updated•20 years ago
|
Attachment #155858 -
Flags: superreview?(sfraser)
Comment 23•20 years ago
|
||
Simon, can you review?
No separate 1.0mac anymore, nominating for 1.0.
Flags: blocking-aviary1.0?
Updated•20 years ago
|
Assignee: p_ch → jhpedemonte
Updated•20 years ago
|
Attachment #155858 -
Flags: superreview?(sfraser) → superreview+
Updated•20 years ago
|
Attachment #155858 -
Flags: approval-aviary?
Comment 24•20 years ago
|
||
Comment on attachment 155858 [details] [diff] [review]
patch
too late for 1.0
Attachment #155858 -
Flags: approval-aviary? → approval-aviary-
Updated•20 years ago
|
Flags: blocking-aviary1.0?
Assignee | ||
Comment 25•20 years ago
|
||
Checked in to trunk.
Status: NEW → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → FIXED
Whiteboard: ignore comment 0 [have patch] → ignore comment 0
Comment 26•20 years ago
|
||
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.
Comment 27•20 years ago
|
||
(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
Comment 28•18 years ago
|
||
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.
Description
•