Closed Bug 585967 Opened 14 years ago Closed 14 years ago

Caret odd behavior in the Find toolbar(all xul:textbox and html:input>

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla2.0b7
Tracking Status
blocking2.0 --- -

People

(Reporter: alex_mayorga, Assigned: ehsan.akhgari)

References

()

Details

(Keywords: regression, testcase, Whiteboard: [fixed by bug 602130])

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows NT 6.0; rv:2.0b4pre) Gecko/20100810 Minefield/4.0b4pre
Build Identifier: Mozilla/5.0 (Windows NT 6.0; rv:2.0b4pre) Gecko/20100810 Minefield/4.0b4pre

Press Ctrl+F doesn't draw the caret in the Find toolbar, yet the text box has focus.
Press Ctrl+F and right arrow key draw only a few pixels dots of the caret in the Find toolbar.
First notice on 20100801 or 20100802 nightlies as described in the URL

Reproducible: Always

Steps to Reproduce:
1. Press Ctrl+F
2. Press right arrow key (->)
Actual Results:  
Step 1 doesn't draw the caret in the Find toolbar text box.
Steps 1, 2 draw only a few pixels dots of the caret in the Find toolbar.

Expected Results:  
Step 1 draws the caret in the Find toolbar.
Steps 1, 2 draw a complete caret in the Find toolbar.
It does not happen in first Ctrl+F.

Regression window:
Works:
http://hg.mozilla.org/mozilla-central/rev/21f0727c27a6
Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a5pre) Gecko/20100605 Minefield/3.7a5pre ID:20100605111313
Fails:
http://hg.mozilla.org/mozilla-central/rev/2875f9a693ae
Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a5pre) Gecko/20100605 Minefield/3.7a5pre ID:20100605135617
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=21f0727c27a6&tochange=2875f9a693ae
CandidateBug:
Bug 534785 - Move the ownership of editor and selection controller from the text frame to the content node
Blocks: 534785
Status: UNCONFIRMED → NEW
Ever confirmed: true
And It happens not only on Findbar but also on SearchBar and LocationBar.

[STR]
1. Start Minefield with new profile
2. Open HOME
3. Change Tab bar position(top/bottom)
3. Press Ctrl+k / Ctrl+L

[Actual]
Caret does not appear. and press right arrow, then partial caret appears.
Component: General → Editor
Product: Firefox → Core
QA Contact: general → editor
Target Milestone: --- → mozilla2.0
Version: unspecified → Trunk
Attached file testcase
upper detach/re-attach bind
lower toggle hidden attribute
Severity: trivial → normal
Keywords: regression, testcase
Assignee: nobody → ehsan
blocking2.0: --- → ?
Hrm, WFM on Win7 on today's nightly. Can you retest?
I see the caret mostly-hidden in the testcase, and while I want this fixed I don't think it's a release blocker.
blocking2.0: ? → -
I don't know if this is related or if a separate bug should be created.
When I load http://www.google.com/ig the cursor shows in the search box correctly, then if you follow this STR, I get a very short cursor (see attachment):

Steps:
1. After loading page, move cursor focus off iGoogle search bar (ex: click on a Google Gadget down arrow (V)).
2. Move cursor up the iGoogle search bar and click on it (for me sometimes (/always?) I have to click on the bar twice).
3. Cursor size is reduced as in attachment.

4. To get correct cursor size again, I can reload/refresh the page.

I have been seeing this behavior for a while, but thought it was fluke I was seeing.
When I saw this post in the Nightly forum (http://forums.mozillazine.org/viewtopic.php?f=23&t=1982807&start=54). I figured out the above steps to reproduce this.
Attached file html:input testcase
Summary: Caret odd behavior in the Find toolbar → Caret odd behavior in the Find toolbar(all xul:textbox and html:input>
Blocks: 594804
Blocks: 602130
No longer blocks: 594804, 602130
Depends on: 594804, 602130
OS: Windows Vista → All
Hardware: x86 → All
My patch in bug 602130 fixes this issue.
Whiteboard: [will be fixed by bug 602130]
No longer depends on: 594804
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [will be fixed by bug 602130] → [fixed by bug 602130]
Target Milestone: mozilla2.0 → mozilla2.0b8
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Target Milestone: mozilla2.0b8 → mozilla2.0b7
Seems to work now. Thanks Ehsan!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: