Closed
Bug 35100
Opened 25 years ago
Closed 25 years ago
can't type after using <popup>, e.g., the colorpicker
Categories
(Core :: DOM: Editor, defect, P1)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: sujay, Assigned: saari)
References
Details
(Whiteboard: [nsbeta2+] will verify after 40324 is fixed)
using 4/7 build of netscape 2000040709
1) launch netscape
2) launch composer
3) enter text
4) do not highlight text, but use color picker to change color(upper left icon)
5) type some more
now notice that you don't get your caret back...so you can't see the new color
or any text for that matter cause you've lost the caret..
all platforms.
okay I meant that the caret is visible blinking, but you're stuck and can't do
anything...
Updated•25 years ago
|
Summary: lose caret after chaning color of text → lose caret after changing color of text
Comment 2•25 years ago
|
||
->cmanske
Assignee: beppe → cmanske
Summary: lose caret after changing color of text → can't type after changing color of text
Target Milestone: --- → M16
Comment 3•25 years ago
|
||
The problem isn't the colorpicker, it's the <popup> that contains the
colorpicker. I think it is a box-related problem.
Summary: can't type after changing color of text → can't type after using <popup>, e.g., the colorpicker
Comment 5•25 years ago
|
||
Note that this is causing a crash on UNIX, as reported in 35475.
Comment 6•25 years ago
|
||
apparently this occurs in the AIM composer window as well.
Comment 7•25 years ago
|
||
Needs more investigation, but colorpicker is horked now because of other
problems with XUL <stack>.
Status: NEW → ASSIGNED
Comment 8•25 years ago
|
||
updating priority and severity for beta2 radar
Comment 10•25 years ago
|
||
*** Bug 35947 has been marked as a duplicate of this bug. ***
Comment 11•25 years ago
|
||
After talking to Chris and David Hyatt, we realize this problem is because
<popup> is stealling keyboard focus and not returning it.
Assignee: cmanske → saari
Severity: major → critical
Status: ASSIGNED → NEW
Whiteboard: [nsbeta2+] → [nsbeta2+] blocker
Assignee | ||
Comment 12•25 years ago
|
||
Wait a minute, the popup should only be stealing keystrokes for the period of
time that it is popped up. You sould be able to type after using it. Does this
happen with normal menus too?
Status: NEW → ASSIGNED
Comment 13•25 years ago
|
||
No, there seems to be no problem with <menupopup>, only <popup>.
Assignee | ||
Comment 14•25 years ago
|
||
The popup takes focus when you click on it. I thoght we were creating OS
windows that couldn't do that at all?
Assignee | ||
Comment 15•25 years ago
|
||
Neat, this is a stack bug. However, there are 2 different work arounds, both of
which are appropriate to do. 1) use ignorekeys="true" for the two colorpicker
popups. 2) modifiy the popup listener to set PreventDefault so it cannot open
two popups on the same event.
Comment 16•25 years ago
|
||
Unfortunately, we do want to have keyboard input in a textfield just under
the colorpicker in the <popup>. Will "ignore keys" kill that?
Assignee | ||
Comment 17•25 years ago
|
||
ignorekeys simply kills the keyboard navigation for the popup, which is too
specific to menus to work with the colorpicker anyway. So no, this won't kill
that, it will actually get you closer to having it work.
Assignee | ||
Comment 18•25 years ago
|
||
I'm still protesting putting a text field in a popup however. You have crossed
into the realm of dialogs in my opinion. Plus, there will still be bugs with
typing in that field. It doesn't work on my Mac build even with these changes.
Assignee | ||
Comment 19•25 years ago
|
||
This bug is fixed now, the colorpicker will not wedge keyboard events.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 20•25 years ago
|
||
Thanks. So should I use ignorekeys="true"?
Assignee | ||
Comment 21•25 years ago
|
||
Yes you should as you will avoid creating the listener that you don't want
anyway. Or I can add it once my build is complete.
Comment 22•25 years ago
|
||
Thanks - your fix works for not stealing key events, of course.
I added the "ignorekeys" and it didn't help with the textfield working,
but that's another matter!
Reporter | ||
Comment 24•25 years ago
|
||
Charley told me to reopen this one...
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Comment 25•25 years ago
|
||
*** Bug 39390 has been marked as a duplicate of this bug. ***
Comment 26•25 years ago
|
||
Note that 39390 is a subtle variant that is truly weird: Simply mousing-over
the colorpicker buttons, which triggers a tooltip, causes the keyboard focus
to be lost. Tooltips are <popup>s, correct? But why doesn't this happen with
tooltips over other buttons? The only thing different about the colorpicker
button is that it *would* launch a popup if clicked on, which isn't the case
in 30390.
Assignee | ||
Comment 27•25 years ago
|
||
Fixed this again, but we still need to add "ignorekeys" for the colorpicker
popups.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Comment 28•25 years ago
|
||
Thanks for fixing this!
The colorpicker popups already do have ignorekeys="true"
Assignee | ||
Comment 29•25 years ago
|
||
If they have ignorekeys="true" then there is another bug, because I watched the
code fail that test. Well, maybe I seeing the tooltip. Hrm. Nevermind.
Reporter | ||
Comment 30•25 years ago
|
||
will verify using 5/24 build.
Whiteboard: [nsbeta2+] blocker → [nsbeta2+] will verify using 5/24 build.
Reporter | ||
Comment 31•24 years ago
|
||
will verify after 40324 is fixed
Whiteboard: [nsbeta2+] will verify using 5/24 build. → [nsbeta2+] will verify after 40324 is fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•