Closed Bug 40163 Opened 26 years ago Closed 23 years ago

mac -- drag-select in <textfield> loses the selection when you drag outside the dialog

Categories

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

PowerPC
All
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: jrgmorrison, Assigned: kinmoz)

Details

(Keywords: helpwanted, platform-parity)

Overview Description: While selecting text in a <textfield> in a dialog, if you move the mouse past the boundary of a dialog window _to_the_left_, you will partially lose the selection (i.e., part of it remains highlighted, but part of it loses the highlight). This is on the mac only. It doesn't happen when you move outside on the right. Steps to Reproduce: 1) Bookmarks -> Manage Bookmarks 2) Context-click on a bookmark to bring up the properties dialog 3) click down and release in the Location: <textfield> 4) click and drag in this textfield, and continue the drag past the boundaries of the dialog. Actual Results: part of the selection is lost when you leave the boundaries of the dialog Expected Results: selection should remain in effect Reproducibility: always Build Date & Platform Bug Found: 2000052208 mac Additional Builds and Platforms Tested On: DOES NOT OCCUR on win32/linux for 2000052208 Additional Information: If you do a command-x, you will cut the text that is highlighted (in other words, it is the underlying selection that changes not just the visible highlight) I've also seen some other odd behaviour on the mac for selection in the input fields. In addition there is an XP bug #40153 filed for a problem in the initial drag-select in an input field.
assigning to kin
Assignee: beppe → kin
Target Milestone: --- → M17
Accepting bug.
Status: NEW → ASSIGNED
John, I can't reproduce this using a current build, can you please look at this again and reopen if you see this
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Yes, I still see this with today's mac build (as noted this is mac-only and has to do with the particular way that mac deals with selection when the mouse is dragged outside the textfield). You can also see this behaviour in the "Home Page" textfield in the Preferences panel for Navigator ... select part of the text then drag the mouse out past the left hand border of the Preferences dialog; as you leave the dialog window's boundaries the selection will "invert". [Not a major defect, but a defect nonetheless].
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Accepting bug.
Status: REOPENED → ASSIGNED
I think this bug is invalid; this is expected behavior. What is happening is the selection is grabbing either everything from the caret to the beginning or everything to the end. This is determined by checking if you are "above" or "below" the edit area. If you are above, you get the first part, if you are below, you get the ending. What I see in 4.x matches what I see in mozilla.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Keywords: pp
Resolution: --- → INVALID
Reopening. Yes, what you describe is expected behaviour. However, Kin and I looked at this on my system, and it was a lateral move outside the window that caused this to flip over. Kin said he knew what was probably happening.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Move to M18.
Target Milestone: M17 → M18
low priority
Target Milestone: M18 → M19
Accept bug again. ;-)
Status: REOPENED → ASSIGNED
moving to future, adding helpwanted
Keywords: helpwanted
Target Milestone: M19 → Future
OS: All
So does kin really know why this is happening? Does it really need to be fixed to make Mac users happy? Inquiring minds want to know. :-)
I can't answer those questions (not being Kin, and not being a leading authority of Mac users). It's a small defect, so ...
I think this reflects a possibly serious event handling problem though.
WFM 20030311 OSX.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.