Closed
Bug 37950
Opened 26 years ago
Closed 25 years ago
edit fields eat context clicks
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Core
DOM: UI Events & Focus Handling
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: danm.moz, Assigned: akkzilla)
References
Details
(Whiteboard: [nsbeta2+][6/15] Thought to be fixed when bug 34896 lands)
Perhaps this is intentional, but it's getting in the way of bug 14874. That is,
you can't attach a context menu to an edit field. Notice that on a web page with
(text) input fields, the context menu generally shows up when you click in the
content, but not the input field(s).
The same problem crops up if you explicitly attach a popup. A "popup" popup
attached to a text field and, say, a checkbox will show up in both cases. A
"context" popup works checkbox. And there's the problem. Bug 14874 is the one
where we want to attach context popups to edit fields.
Simon said throw this one at Akkana...
| Assignee | ||
Comment 1•26 years ago
|
||
Mike is completely rewriting text control event handling, expected to land in
the next few days. Marking dependency accordingly.
If you're blocked and desperate for something to try, you might try going to
nsEnderEventListener::MouseDown(), read the comments, and comment out the place
where it returns NS_OK for button 3. No guarantees on what you'll get, but on
some platforms it might get you something that would work for testing.
Putting on [nsbeta2+] radar for beta2 fix.
Keywords: nsbeta2
Whiteboard: [nsbeta2+]
| Assignee | ||
Updated•26 years ago
|
Whiteboard: [nsbeta2+][6/01] → [nsbeta2+][6/01] Waiting for bug 34896 to land
| Assignee | ||
Comment 4•26 years ago
|
||
Mike has most of Ender Lite (bug 34896) checked in, but disabled. Several of us
are testing with it turned on, to check for problems. Can someone please
provide a test case for this bug, so that I can see whether Ender Lite will
solve it?
Whiteboard: [nsbeta2+][6/01] Waiting for bug 34896 to land → [nsbeta2+][6/01] Waiting for bug 34896 to land, NEED TESTCASE
Comment 5•26 years ago
|
||
Akkana, just talked with Kathy, a good test case to use would be the named
anchor dialog, the text field has a tooltip.
Removing NEED TESTCASE from whiteboard
Whiteboard: [nsbeta2+][6/01] Waiting for bug 34896 to land, NEED TESTCASE → [nsbeta2+][6/01] Waiting for bug 34896 to land
| Assignee | ||
Comment 6•26 years ago
|
||
Sorry for being dense, but what do right-mouse events have to do with tooltips?
Should a tooltip come up when I right-mouse over the text field?
The real question is, are context menus supposedly attached to text fields, so
if I right mouse and the event works, I should see a context menu? Or are they
disabled waiting for the event problem to be fixed?
| Assignee | ||
Comment 7•25 years ago
|
||
Putting NEED TESTCASE back on whiteboard, waiting to see what tooltips and
context menus have in common.
Whiteboard: [nsbeta2+][6/01] Waiting for bug 34896 to land → [nsbeta2+][6/01] Waiting for bug 34896 to land, NEED TESTCASE
Comment 8•25 years ago
|
||
the initial problem talked about context menus and popup -- aren't tooltips
popups?
Setting to [nsbeta2+][6/15]
Whiteboard: [nsbeta2+][6/01] Waiting for bug 34896 to land, NEED TESTCASE → [nsbeta2+][6/15] Waiting for bug 34896 to land, NEED TESTCASE
| Assignee | ||
Comment 10•25 years ago
|
||
Tooltips are popups, but I thought this bug was that the right-mouse context
click wasn't getting through to text fields (because they were explicitly
disabled due to a problem in nsGfxTextControlFrame).
I don't know how tooltips work, or why they're not working here. Are you
expecting some kind of enter event that you're not getting?
If this is a problem with popups not working, rather than with events not
getting through, then we should probably call in someone from xpfe who knows
something about how popups work, and change the summary to reflect the real
problem.
| Assignee | ||
Comment 11•25 years ago
|
||
I *think* this will be solved by ender lite. In today's build, if I right-mouse
over a text field in the browser content area, I get nothing. In today's build
with ender lite enabled, if I right mouse over a text field in the browser
content area, I get an assert:
###!!! ASSERTION: can't query for shorthand properties: 'Error', file
/builds/enderlite/mozilla/layout/html/style/src/nsCSSDeclaration.cpp, line 3906
###!!! Break: at file
/builds/enderlite/mozilla/layout/html/style/src/nsCSSDeclaration.cpp, line 3906
and then a context menu pops up rooted at the upper left of the content area.
I'm not sure what this CSS error means, but it sounds like it's unrelated to
whether the event gets through. So it looks like this bug will be fixed when
ender lite is enabled. (I'm not going to mark it fixed until that happens.)
| Assignee | ||
Updated•25 years ago
|
Whiteboard: [nsbeta2+][6/15] Waiting for bug 34896 to land, NEED TESTCASE → [nsbeta2+][6/15] Thought to be fixed when bug 34896 lands
| Assignee | ||
Comment 12•25 years ago
|
||
Ender lite is in, and when I right-click in a text field, a context menu pops
up. It pops up in the wrong place and I get a bunch of asserts, but that's
someone else's bug: the events are getting through. Marking this fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 13•25 years ago
|
||
Mass update: changing qacontact to ckritzer@netscape.com
QA Contact: janc → ckritzer
Comment 14•25 years ago
|
||
Marking VERIFIED FIXED on:
- MacOS9 2000-07-31-04-M17 Commercial
- Linux6 2000-07-29-04-M17 Commercial
- Win98 2000-07-31-04-M17 Commercial
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•