New issue
Advanced search Search tips

Issue 590518 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Compat



Sign in to add a comment

Some scripts not working properly

Reported by ole...@olegon.ru, Feb 28 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36

Example URL:
http://olegon.ru/

Steps to reproduce the problem:
Click on edit link [правка]
or
Post message
or
Press Ctrl-B to bold font

What is the expected behavior?
Open edit window
or
Normal post the message
or
Insert [b] [/b] codes in editor window

What went wrong?
I need to click twice on link and get 
"Uncaught TypeError: Cannot read property 'wysiwyg_mode' of undefined"

Sometimes message posted twice, and page jump upside

[b] codes not works at all...

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? Yes 46.0.2490.80-1.fc23.R.x86_64

Does this work in other browsers? Yes 

Chrome version: 48.0.2564.109  Channel: stable
OS Version: Fedora
Flash Version: Shockwave Flash 20.0 r0

This problem exists since chromium-47.0.2526.106-2.fc23.R.x86_64, when downgraded to 46.0.2490.80-1.fc23.R.x86_64 it's all ok again except [b] hotkeys. In Firefox and Chrome problem is not reproducing. Problem is stable at different machines, including Incognito.
 

Comment 1 by ole...@olegon.ru, Mar 12 2016

After upgrade on 49 is all ok again, but Ctrl-B not works :( In FF it works very well.

Comment 2 by ajha@chromium.org, May 2 2016

Cc: ajha@chromium.org
Labels: Needs-Feedback
olegon@: Do you still see this issue on the latest stable(50.0.2661.94). If yes, could you please provide any test credentials to sign in and check the issues.

Appreciate your response!

Comment 3 by ole...@olegon.ru, May 3 2016

thank you for attention! Please, visit https://olegon.ru/showthread.php?t=24534 (using username, I sent to you by email), scroll down to textarea with name vB_Editor_QR_textarea, and try to press Ctrl-B, Ctrl-I and Ctrl-U in it (may try with selection). It's no script error in console, but [b] and other is not appeared :( And in Mozilla browsers, even Midori (!) it works.
​​
This is standart VBulletin3 (forum) feature, so many sites is affected...
Project Member

Comment 4 by sheriffbot@chromium.org, May 3 2016

Labels: -Needs-Feedback Needs-Review
Owner: ajha@chromium.org
Thank you for providing more feedback. Adding requester "ajha@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by ajha@chromium.org, May 9 2016

Labels: -Needs-Review M-52 OS-Mac OS-Windows
Owner: ----
Status: Untriaged (was: Unconfirmed)
Able to reproduce this on the latest stable(50.0.2661.94) and the latest canary(52.0.2729.0) on Windows-7, Mac OS 10.11.4 and Linux Ubuntu 14.04.

Selecting the text and Ctrl+B doesn't insert the [b] [/b] to the selected text. Same behavior is observed on the older chrome version: 30.0.1549.0.

Marking this as Untriaged and attaching the screen-cast of the behavior from older chrome version.


590518.mp4
717 KB Download
Project Member

Comment 6 by sheriffbot@chromium.org, Jun 1 2016

Labels: -M-52 M-53 MovedFrom-52
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 7 by sheriffbot@chromium.org, Jul 15 2016

Labels: -M-53 MovedFrom-53
This issue has been moved once and is lower than Pri-1. Removing the milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Untriaged)
The problematic code in vbulletin is:

        var A = C.charCode ? C.charCode : C.keyCode;
        var B;
        switch (String.fromCharCode(A).toLowerCase()) {
        case "b":
            B = "bold";
            break;
        case "i":
            B = "italic";
            break;
        case "u":
            B = "underline";
            break;
        default:
            return
        }

The problem is C.charCode returns '2' for Chrome and Edge whereas Firefox returns '98'. This is just fundamentally one of the problems with this attribute. KeyboardEvent.key was designed to replace it and should be used in vbulletin to avoid this interop difference between FireFox and Chrome, Edge.

Sign in to add a comment