Page MenuHomePhabricator

Text selection is offset one line from cursor location
Closed, DeclinedPublic

Description

Chrome Version 67.0.3396.87 (Official Build) (64-bit)
MacOS 10.13.5 (17F77)

This is a weird one, and I haven't figured out how to reproduce it, but opening this task to record my observations.

I got into a state where as I was trying to select text by dragging the mouse over it, I was getting text selected one line below where my mouse cursor was.

. This was entirely reproducible within that editing session, but I haven't yet been able to reproduce it in another window.

Note: the attached screenshot was taken with Grab and timed screen capture. I'm not sure how faithfully that reproduces the cursor location, but the image is a reasonable representation of what was happening.

If I moved the cursor up and down a few pixels, it acted as if the cursor hotspot was at the very bottom of the drawn cursor icon. Normally, for the insertion I-bar, the hotspot is the vertical center of the icon.

Event Timeline

Restricted Application added a project: Community-Tech. · View Herald TranscriptJun 18 2018, 12:47 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Aklapper changed the task status from Open to Stalled.Jun 18 2018, 12:50 PM

Thanks for reporting this.
Does this also happen when using safemode? See https://www.mediawiki.org/wiki/Help:Locating_broken_scripts for more information.

Could you also elaborate how MediaWiki-extensions-CodeMirror is involved here?

If I see it again, I'll try to repro it with safe mode.

I don't know for sure that CodeMirror is that cause. I'm basing that simply on CodeMirror being recently enabled, and this is the first time I've noticed this. I tend to blame newly observed breakage on the most recent changes :-)

I don't know for sure that CodeMirror is that cause. I'm basing that simply on CodeMirror being recently enabled, and this is the first time I've noticed this. I tend to blame newly observed breakage on the most recent changes :-)

Try turning CodeMirror off (the highlighter icon in the toolbar, just before the "Advanced" menu).

Niharika triaged this task as Low priority.Jun 18 2018, 10:45 PM
Niharika removed a project: Community-Tech.
Niharika added a subscriber: Niharika.

It'd be good to have the steps to reproduce in the task description once we figure them out.

Vvjjkkii renamed this task from Text selection is offset one line from cursor location to nqaaaaaaaa.Jul 1 2018, 1:03 AM
Vvjjkkii changed the task status from Stalled to Open.
Vvjjkkii raised the priority of this task from Low to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from nqaaaaaaaa to Text selection is offset one line from cursor location.Jul 2 2018, 4:54 AM
CommunityTechBot changed the task status from Open to Stalled.
CommunityTechBot lowered the priority of this task from High to Low.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
Aklapper closed this task as Declined.Jul 18 2018, 9:34 AM

Unfortunately closing this report for the time being, as nobody could reproduce so far and as no further information to reproduce has been provided.

@RoySmith: If you can still make this happen and find steps to reproduce, please set the status of this report back to "Open" via the Add Action...Change Status dropdown. Thanks!