Closed Bug 300125 Opened 20 years ago Closed 19 years ago

Carets from other tabs appear on the same tab when re-enabling caret browsing mode

Categories

(Core :: Disability Access APIs, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: uriber, Assigned: ginnchen+exoracle)

References

Details

Attachments

(1 file)

When multiple tabs are open in caret browsing mode, tuning caret browsing off and then on again causes multiple cartes to appear on the same tab. The "ghost" carets are blinking, and do not move as the page is scrolled. Steps to reproduce: 0. Caret mode is off 1. Open two tabs, with a HTML page in each of them 2. Enable caret browsing mode (F7) 3. On each of the tabs, place the caret somewhere on the page 4. Disable caret browsing mode 5. Enable caret browsing mode You will see that both carets appear, and thy are both blinking. The same could be done with more than two tabs, resulting in more than two blinking carets. This seems to be an old bug (I can see it in Firefox 1.0), but I couldn't find a duplicate. Not sure if this is Mac-specific (can someone please try on other platforms?) Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b3) Gecko/20050707 Firefox/1.0+
Product: Core → Firefox
Oops, this also affects SeaMonkey, so back to Core.
Product: Firefox → Core
Sounds like an issue with how caret browsing works (or possibly with caret itself). Not a tabs issue.
Assignee: nobody → aaronleventhal
Component: Tabbed Browser → Disability Access APIs
QA Contact: tabbed-browser → accessibility-apis
Assignee: aaronleventhal → ginn.chen
reproduced on Fx 1.0.7, Deer Park, 1.5RC on Mac OS X 10.4.3 can not reproduced on Linux I don't know think it related to the caret disappearance bug whiling switching tabs, since that patch is not integrated into Fx 1.0.7.
I added a printf in nsRenderingContextGTK::InvertRect and nsRenderingContextMac::InvertRect. I got the same result. That means when I follow the steps in description, GTK build also blinking 2 carets. But on Linux, carets on different tabs use different drawables, one of them is drew behind. After you switch tabs, only one caret is blinking. According to this, I think this bug should be fixed in layout/ or content/event/ rather than gfx/src/mac.
Attached patch patchSplinter Review
I didn't find a regression yet. Don't get confused with bug 306173 when testing it.
Attachment #202345 - Flags: review?
Attachment #202345 - Flags: review? → review?(aaronr)
Attachment #202345 - Flags: review?(aaronr) → review?(aaronleventhal)
Attachment #202345 - Flags: review?(aaronleventhal) → review+
Attachment #202345 - Flags: superreview?(jst)
Comment on attachment 202345 [details] [diff] [review] patch sr=jst
Attachment #202345 - Flags: superreview?(jst) → superreview+
Checking in nsEventStateManager.cpp; /cvsroot/mozilla/content/events/src/nsEventStateManager.cpp,v <-- nsEventStateManager.cpp new revision: 1.625; previous revision: 1.624 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: