Closed
Bug 430785
Opened 18 years ago
Closed 18 years ago
Caret not visible with right-clicking on a text input
Categories
(Core :: DOM: Selection, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9
People
(Reporter: martijn.martijn, Assigned: martijn.martijn)
References
Details
(Keywords: regression)
Attachments
(2 files)
|
3.42 KB,
patch
|
roc
:
review+
roc
:
superreview+
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
|
4.20 KB,
patch
|
Details | Diff | Splinter Review |
When right-clicking on a text control, the caret hides. This is annoying, since you don't where the text will be pasted to when you want to do a paste operation.
This regressed between 2008-03-31 and 2008-04-01:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2008-03-31+04&maxdate=2008-04-01+09&cvsroot=%2Fcvsroot
I think a regression from bug 420499.
Attachment #317692 -
Flags: review?(chris)
Isn't the caret *supposed* to be hidden when a menu pops up?
| Assignee | ||
Comment 2•18 years ago
|
||
No, not for tooltips nor for context menus.
IE nor Opera hides the caret for context menus.
In fact, IE makes the caret non-blinking in that case, which is even nicer.
OK. Chris, should be an easy fix to ignore context menus and tooltips in your code, but we need it fast.
Comment on attachment 317692 [details] [diff] [review]
patch
oh, never mind!
This is good, but should we test for tooltips too?
This can land on its own, though. Simple safe fix for a regression.
Attachment #317692 -
Flags: superreview+
Attachment #317692 -
Flags: review?(chris)
Attachment #317692 -
Flags: review+
Attachment #317692 -
Flags: approval1.9?
Comment 5•18 years ago
|
||
Comment on attachment 317692 [details] [diff] [review]
patch
>+ $("contextmenu").showPopup($('text-input'), -1 , -1 , "context", "bottomleft", "topleft" );
Please use openPopup rather than the old and confusing showPopup method.
This looks ok to me too.
Comment 6•18 years ago
|
||
Comment on attachment 317692 [details] [diff] [review]
patch
a1.9+=damons
Attachment #317692 -
Flags: approval1.9? → approval1.9+
| Assignee | ||
Comment 7•18 years ago
|
||
Patch, with updated mochitest, using openPopup now and also testing tooltip popup.
| Assignee | ||
Updated•18 years ago
|
Assignee: nobody → martijn.martijn
Keywords: checkin-needed
Comment 8•18 years ago
|
||
mozilla/layout/base/nsCaret.cpp 1.193
mozilla/layout/base/tests/test_bug420499.xul 1.2
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: in-testsuite+
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9
You need to log in
before you can comment on or make changes to this bug.
Description
•