Closed Bug 68994 Opened 25 years ago Closed 25 years ago

urlbar and other dialog text fields can't be selected/clicked in

Categories

(Core :: DOM: Editor, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: bbaetz, Assigned: rubydoo123)

References

Details

(Keywords: regression, smoketest, Whiteboard: FIX IN HAND)

Attachments

(1 file)

Sometime today, the urlbar no longer works, and I can't click it to select text. I can click at the end (but not anywhere else), and delete text. bryner also sees this, and pinkerton says that smfr was seeing this as well.
*** Bug 68995 has been marked as a duplicate of this bug. ***
URL field no longer detects insertion point when clicked on, meaning -drag-select no longer works. -double-click selection no longer works. -CAN select by using context-menu "select all", but .. -selection color is missing. Typing in the field works, and one can maneuvre with arrow-keys.
Goes for editor-fields in mailcompose as well ('to' and 'subject')
..and everywhere else. (filepicker, prefs, all dialogs with text input fields..) Modifying summary.
Summary: urlbar/dialog text field can't be selected/clicked in → urlbar and other dialog text fields can't be selected/clicked in
Assignee: akkana → beppe
Keywords: smoketest
Adding smoketest keyword. Backing out akkana's changes to /editor locally didn't help, but there were other changes to editor as well which I somehow didn't notice, so I'm reassigning to the default module owner.
*** Bug 69013 has been marked as a duplicate of this bug. ***
OS: Linux → All
I also see this in my Mac build this morning. One interesting thing I notice is that it does work in bugzilla forms but not in xul text elements...
Priority: -- → P1
Hardware: PC → All
Target Milestone: --- → mozilla0.9
Simon saw this problem from his build yesterday which was pulled around 2:30pm PST. I have tried backing out several people's checkins from yesterday but haven't found the culprit yet. Trying hyatt's css changes now (which will take a while to rebuild).
since it is still possible to move and type in the text fields, this is not a blocker. reducing severity and removing smoketest keyword
Severity: blocker → critical
Keywords: smoketest
*** Bug 69061 has been marked as a duplicate of this bug. ***
regression
Keywords: regression
*** Bug 69067 has been marked as a duplicate of this bug. ***
*** Bug 69073 has been marked as a duplicate of this bug. ***
If hitting delete works, but drag-select with the mouse doesn't, then the problem is likely not in editor code. As a data point, I do not see this with my linux build pulled sometime around 10:30am Thursday morning. What platforms has this been seen on (besides Mac)? When were the builds pulled? Opt as well as debug? Maybe we can narrow down the time of the checkin that caused this.
I see this on both opt and debug builds on Linux and I first saw it in a build I pulled at 8:30PM yesterday. I think smfr said he pulled sometime around noon, but I'm not sure.
I pulled sometime before the mailnews checkin at 18:05. (I know this because I repulled to see if it had been fixed, and ran into a compile problem with that checkin). I only got home just before 7pm Eastern, so I probably pulled sometime arround 4:30 PST. Linux debug.
*** Bug 69089 has been marked as a duplicate of this bug. ***
*** Bug 69087 has been marked as a duplicate of this bug. ***
Yesterday's gcc2.95 build, which is has a timestamp of 10:06 on ftp.mozilla.org didn't have this problem (I pulled it shortly after midday CST)... today's does.
Just wanted to add that the problem started for me when I downloaded the first nightly that was uploaded on Thursday 15 in the morning PST for win32.
i dont see this on a moz mac debug build from a pull of midnight on thursday night.
*** Bug 69152 has been marked as a duplicate of this bug. ***
dups are coming from everywhere -> mostfreq
Keywords: mostfreq
*** Bug 65275 has been marked as a duplicate of this bug. ***
this is really bad, blocker.
Severity: critical → blocker
Keywords: smoketest
In xul.css, try taking this line: textfield[autocomplete="true"] { -moz-binding: url(chrome://global/content/autocomplete.xml#autocomplete); } and adding to it... textfield[autocomplete="true"] { -moz-binding: url(chrome://global/content/autocomplete.xml#autocomplete); -moz-user-select: text; }
Doesn't seem to help in my build.
This seems to have been caused by revision 1.44 of xul.css, checked in by hyatt%netscape.com with comment "Not part of build." Hmmm.
I traced into nsFrame::HandlePress() in nsFrame.cpp and the cause is this: // check whether style allows selection // if not, don't tell selection the mouse event even occurred. PRBool selectable; PRUint8 selectStyle; rv = IsSelectable(&selectable, &selectStyle); if (NS_FAILED(rv)) return rv; // check for select: none if (!selectable) return NS_OK; "selectable" is false, so we abort here
Good work David! That definitely caused this problem. r=cmanske or r=dbaron if you want me to check it in. Anyone want to sr=?
Whiteboard: FIX IN HAND
As I was saying before lots of mid-air collisions... I think we should backout hyatt unless someone comes up with another fix in the next few minutes, so that we get this bug off the radar and hyatt can figure out the problem at his leisure. Backing out that one-line change doesn't seem to show any ill effects in my tree.
sure. a=ben@netscape.com for this removal until hyatt can figure out why textfields aren't working.
Marking this bug as fixed, since the change is checked in. Filed bug 69184 on hyatt to remind him to reinstate the backed-out change once he's fixed the problems it caused.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
*** Bug 69181 has been marked as a duplicate of this bug. ***
*** Bug 69224 has been marked as a duplicate of this bug. ***
*** Bug 69257 has been marked as a duplicate of this bug. ***
Yes ,thanks for backing me out. I did not mean to check that patch into the build.
*** Bug 69232 has been marked as a duplicate of this bug. ***
*** Bug 69237 has been marked as a duplicate of this bug. ***
*** Bug 69297 has been marked as a duplicate of this bug. ***
*** Bug 69301 has been marked as a duplicate of this bug. ***
verified in 3/8 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: