Closed
Bug 632379
Opened 14 years ago
Closed 14 years ago
Can't select some bookmarks
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b12
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: dauge, Assigned: smontagu)
References
(Blocks 1 open bug)
Details
(Keywords: regression, Whiteboard: [hardblocker][has patch])
Attachments
(4 files, 2 obsolete files)
(deleted),
application/vnd.mozilla.xul+xml
|
Details | |
(deleted),
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0b11) Gecko/20100101 Firefox/4.0b11
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0b11) Gecko/20100101 Firefox/4.0b12
bookmarks view scroll down to bottom folders. can't get to links in these foldes. links that are in these folders display improperly.
Reproducible: Always
Steps to Reproduce:
1.view
2.bookmarks
3.scroll towards bottom of folders
can't get mouse to links in these folders
This is a bug for the latest nightly of beta 12. I had backed up to beta 11 because of the problem.
In steps to reproduce and the description of problem ignore the "view" part of it. This is incorrect.
Comment 2•14 years ago
|
||
which nightly exactly, could you please past here the user agent string of that nightly from about:support?
What happens exactly? do those entries appear wrongly or they just don't react to clicks?
Comment 3•14 years ago
|
||
Confirmed.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110208 Firefox/4.0b12pre ID:20110208030358
Regression window(cached m-c hourly):
Works;
http://hg.mozilla.org/mozilla-central/rev/16cc18d74a8c
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110205 Firefox/4.0b12pre ID:20110206175132
Fails:
http://hg.mozilla.org/mozilla-central/rev/4c62984f12d1
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110207 Firefox/4.0b12pre ID:20110207030345
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=16cc18d74a8c&tochange=4c62984f12d1
Blocks: 508816
Status: UNCONFIRMED → NEW
blocking2.0: --- → ?
Component: Bookmarks & History → XUL
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
QA Contact: bookmarks → xptoolkit.widgets
Comment 4•14 years ago
|
||
Screen capture
http://www.youtube.com/watch?v=h50598lWqF0
Comment 5•14 years ago
|
||
interesting, LTR vertical scrollboxes should have not been changed by that fix... looks like they were
Comment 6•14 years ago
|
||
Assignee: nobody → smontagu
blocking2.0: ? → final+
Whiteboard: [hardblocker]
Updated•14 years ago
|
Assignee: smontagu → ehsan
Comment 8•14 years ago
|
||
Assigning back to Simon, but I may get to look at it sooner that he does, in which case I'll reassign back to me.
Assignee: ehsan → smontagu
Comment 10•14 years ago
|
||
The fix to this bug should be tested to make sure that it also fixes bug 632938.
Comment 11•14 years ago
|
||
(In reply to comment #10)
> The fix to this bug should be tested to make sure that it also fixes bug
> 632938.
Good point.
Assignee | ||
Comment 12•14 years ago
|
||
This was a consequence of not positioning the rect in LayoutScrollArea before calling Layout.
I'm having trouble writing a test for this. My idea was to open menupopups in a mochitest, with and without scrolling the parent menu, and compare the results of getBoundingClientRect for the submenu. The problem seems to be that getBoundingClientRect returns the place where the submenu should be, not the place where it actually is -- similarly to the way that the mouseover in the testcase responds to the place where the submenu should be and not where it actually is.
Attachment #511418 -
Flags: review?(dbaron)
Comment 13•14 years ago
|
||
Comment on attachment 511418 [details] [diff] [review]
Patch
r=dbaron
Attachment #511418 -
Flags: review?(dbaron) → review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 14•14 years ago
|
||
Assignee | ||
Comment 15•14 years ago
|
||
I am checking this out on tryserver:
http://tbpl.mozilla.org/?tree=MozillaTry&rev=96c67c9edce9 (without the fix)
http://tbpl.mozilla.org/?tree=MozillaTry&rev=357ac3ad571b (with the fix)
Attachment #511479 -
Flags: review?(ehsan)
Updated•14 years ago
|
Attachment #511479 -
Flags: review?(ehsan) → review+
Updated•14 years ago
|
Whiteboard: [hardblocker] → [hardblocker][has patch]
Comment 16•14 years ago
|
||
I'm holding off in landing this until we get try server results.
Comment 17•14 years ago
|
||
The test seems to be failing with the fix:
ERROR TEST-UNEXPECTED-FAIL | /tests/layout/generic/test/test_bug632379.xul | Popup should open in the same place when the menu is scrolled - got 88, expected 91
Keywords: checkin-needed
Assignee | ||
Comment 18•14 years ago
|
||
All linux tryservers fail with "Popup should open in the same place when the menu is scrolled - got 88, expected 91"
All OSX tryservers timeout (presumably because |synthesizeKey("M", {altKey: true});| doesn't open the menu)
Windows tryservers pass except for Win XP Opt, which fails with "Popup should open in the same place when the menu is scrolled - got 77, expected 100"
Ehsan, do you have a better idea for a test?
Assignee | ||
Comment 20•14 years ago
|
||
This version passes on linux and windows tryservers -- the difference is that I begin by opening the submenu on line 5, instead of line 3. This ensures that the toplevel menu scrolls down so that the opened menu item is exactly at the bottom of the scrollbox in both parts of the test. The test still fails without the patch, because it doesn't matter if the toplevel menu is scrolled both times that the submenu opens; as long as the amount of scrolling is different the bug still occurs.
I still need to find the right SynthesizeKey incantation to open the menu on Mac.
Attachment #511479 -
Attachment is obsolete: true
Comment 21•14 years ago
|
||
(In reply to comment #20)
> I still need to find the right SynthesizeKey incantation to open the menu on
> Mac.
Can't you just open the menus with openPopup? Getting accesskeys to work on Mac is tricky, if possible at all.
Comment 22•14 years ago
|
||
well, on Mac you are targeting Minimize Window...
According to this page (https://developer.mozilla.org/en/XUL_Accesskey_FAQ_and_Policies) "On Macintosh, accesskeys are available only in HTML not in XUL, and they are activated using CTRL+letter instead of ALT"
Maybe synthesizeMouseAtCenter?
I think we should land the fix while you work on the test.
Assignee | ||
Comment 24•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Assignee | ||
Comment 27•14 years ago
|
||
KISS: $("mainMenu").open works on all platforms http://tbpl.mozilla.org/?tree=MozillaTry&rev=7d9c9b4f6651
Attachment #511721 -
Attachment is obsolete: true
Attachment #512033 -
Flags: review?(ehsan)
Updated•14 years ago
|
Attachment #512033 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 28•14 years ago
|
||
Flags: in-testsuite? → in-testsuite+
Assignee | ||
Updated•14 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: --- → mozilla2.0b12
Assignee | ||
Updated•14 years ago
|
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•