Closed Bug 146575 Opened 22 years ago Closed 3 years ago

LDAP autocomplete password dialog triggers weird loss of focus

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dmosedale, Unassigned)

References

Details

(Whiteboard: [need info])

Apply the patch in bug 135778.

Configure mail/news autocompletion to work against local addressbooks and an
LDAP server which requires authentication (ie has a bind DN set in the prefs page).

In the compose window addressing widget, type a string which will cause at least
1 match in a local addressbook.

The autocomplete menu may or may not drop down, depending on the number of matches.

An auth prompt dialog will pop up.  The textbox will not have have focus, and
will be extremely difficult to give focus to.  Clicking in the textbox won't do
it.  The only way I've been able to give focus to the textbox at all is by using
my window manager shortcut (alt-tab) to cycle through windows.

I'm using sawfish with click-to-focus on linux.
Depends on: 135778
Keywords: nsbeta1
Is this linux-only?
Nav triage team needs info: 

dmose, 
Does this occur on all platforms?  Does this problem occur when users aren't
using LDAP (i.e., only local addressbooks)?
Whiteboard: [need info]
I don't know whether this is linux only; i'll endeavor to figure that out
tommorrow.  It is specific to authenticated LDAP; if that's not in use, this bug
won't be seen.  However, if it is in use, it makes authenticated LDAP extremely
difficult to use.
This does not happen on Windows.
Blocks: 148891
No longer depends on: 135778
blizzard, would you be able to look at this?
Assignee: hyatt → blizzard
Depends on: 135778
Summary: LDAP authentication triggers weird loss of focus → LDAP autocomplete passwd dialog triggers weird loss of focus
Blocks: 154188
Lightly edited log of conversation about this bug:

<dmose> blizzard: any chance you could take a look at 
http://bugzilla.mozilla.org/show_bug.cgi?id=146575 ?
<dmose> it no longer requires applying a patch to reproduce; the code is now
checked in
<blizzard> dmose: is there a grab in effect when that auth dialog pops up?
<blizzard> dmose: I wonder.
<blizzard> dmose: you should track mozarea_focus_in and mozarea_focus_out
<blizzard> dmose: and CaptureRollupEvents()
<blizzard> dmose: in nsWindow.cpp
<dmose> blizzard: there could well be a grab in effect, yeah
<blizzard> dmose: "don't do that"
<dmose> heh
<blizzard> dmose: serious
<blizzard> dmose: don't launch a dialog when you've got a grab
<dmose> every other platform seems to handle this situation fine
<blizzard> dmose: a grab is a grab is a grab
* dmose sighs
<dmose> well, let me verify about the grab
<dmose> how would i tell?
<blizzard> dmose: Whether or not there's a PR_TRUE argument to CaptureRollupEvents
<dmose> alright
<blizzard> dmose: other platforms might be a little less sensitive to changes
like this, that's all
<blizzard> dmose: it's not for lack of trying
<blizzard> dmose: I've spent months of my life trying to get this crap right
<dmose> mmmm, fun fun
<dmose> alright, well i will investigate further and see what i can figure out
<dmose> thanks for the hints
<blizzard> dmose: no problem
adt: nsbeta1-
Keywords: nsbeta1nsbeta1-
Summary: LDAP autocomplete passwd dialog triggers weird loss of focus → LDAP autocomplete password dialog triggers weird loss of focus
Assignee: blizzard → nobody
QA Contact: shrir → xptoolkit.xul
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets

Hey Dan,
Is this issue still reproducible for you or should we close it?

Flags: needinfo?(dmosedale)

I'd say close it.

Flags: needinfo?(dmosedale)

Marking this as Resolved > Worksforme based on the last comment.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.