Page MenuHomePhabricator

Cannot select text for copy - happens intermittently
Closed, ResolvedPublic

Description

Author: nkomura

Description:
In IE8 on Windows 7

Intermittently, text highlight for copy does not work. The similar issue has been reported at Village Pump of Japanese Wikipedia.

Script warning that the script is slowing down browsing the page, pops up and prompts to turn off the script.


Version: unspecified
Severity: critical
OS: other
URL: http://en.wikipedia.org

Details

Reference
bz22485

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:57 PM
bzimport set Reference to bz22485.

nkomura wrote:

The problem is reported on IE7 on Vista and IE8 on XP SP3, but does not occur with IE6.

wikibugs wrote:

Wiki_bug_2010-02-12_22485.pdf

Test link:http://prototype.wikimedia.org/deployment-en/
Version:r62243

Able to re-produce the bug. Sections covered by {{ }} can be selected and the other text is not able to.

This is not always producible.But happens.

Bug 22447 raise from the same issue.

Attached:

wikibugs wrote:

(In reply to comment #2)

Created an attachment (id=7108) [details]
Wiki_bug_2010-02-12_22485.pdf

Test link:http://prototype.wikimedia.org/deployment-en/
Version:r62243

Able to re-produce the bug. Sections covered by {{ }} can be selected and the
other text is not able to.

This is not always producible.But happens.

Bug 22447 raise from the same issue.

Tested Environments :
Mozilla/4.9(compatible;MSIE 8.0; Windows NT 6.1; Trident/4.0;SLCC2;.NET CLR 2.0.50727;.NET CLR 3.5.30729;.NET CLR 3.0.30729;Media Center PC 6.0)

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)

wikibugs wrote:

Wiki_bug_2010-02-16_22485.pdf

Tested link: http://prototype.wikimedia.org/deployment-en/
Version : r62529

IE8 in Windows server
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)

When user click on the editor a browser error shows. Please refer the attachment.

IE 8 in Windows 7
Mozilla/4.9(compatible;MSIE 8.0; Windows NT 6.1; Trident/4.0;SLCC2;.NET CLR 2.0.50727;.NET CLR 3.5.30729;.NET CLR 3.0.30729;Media Center PC 6.0)

When user click on editor, the javascript error shows, but the user can continue select text

IE 7
Browser (User-Agent): Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.04506)

When user click on editor, the javascript error shows, but the user can continue select text

Attached:

wikibugs wrote:

(In reply to comment #4)

Created an attachment (id=7132) [details]
Wiki_bug_2010-02-16_22485.pdf

Tested link: http://prototype.wikimedia.org/deployment-en/
Version : r62529

IE8 in Windows server
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)

When user click on the editor a browser error shows. Please refer the
attachment.

IE 8 in Windows 7
Mozilla/4.9(compatible;MSIE 8.0; Windows NT 6.1; Trident/4.0;SLCC2;.NET CLR
2.0.50727;.NET CLR 3.5.30729;.NET CLR 3.0.30729;Media Center PC 6.0)

When user click on editor, the javascript error shows, but the user can
continue select text

IE 7
Browser (User-Agent): Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0;
SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR
3.5.30729; .NET CLR 3.0.04506)

When user click on editor, the javascript error shows, but the user can
continue select text

Another Scenario : if a user copy and paste a text from the editor to the same editor in IE8, and try to select the pasted text, sometimes it not get selected.

(In reply to comment #4)

Created an attachment (id=7132) [details]
Wiki_bug_2010-02-16_22485.pdf

Tested link: http://prototype.wikimedia.org/deployment-en/
Version : r62529

IE8 in Windows server
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)

When user click on the editor a browser error shows. Please refer the
attachment.

IE 8 in Windows 7
Mozilla/4.9(compatible;MSIE 8.0; Windows NT 6.1; Trident/4.0;SLCC2;.NET CLR
2.0.50727;.NET CLR 3.5.30729;.NET CLR 3.0.30729;Media Center PC 6.0)

When user click on editor, the javascript error shows, but the user can
continue select text

IE 7
Browser (User-Agent): Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0;
SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR
3.5.30729; .NET CLR 3.0.04506)

When user click on editor, the javascript error shows, but the user can
continue select text

These JS errors were fixed in r62580.

You can reproduce this consistently by clicking on the table of contents. The first few items in the TOC will restore selection ability, while all others will break it. There may be some selection bugs that are causing this to happen.

Now that we use classified <p> tags instead of adding in <span> tags, this has gone away. We understood it to be the result of setting the selection to within an empty element.

wikibugs wrote:

Wiki_2010-03-16_IEerror.pdf

Please refer the screen print,

An error occur in Windows XP and Windows Server machine IE versions.

Environments used:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)

Attached:

wikibugs wrote:

(In reply to comment #9)

Created an attachment (id=7204) [details]
Wiki_2010-03-16_IEerror.pdf

Please refer the screen print,

An error occur in Windows XP and Windows Server machine IE versions.

Environments used:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)

therefore re-open the bug