Opened 11 years ago

Closed 9 years ago

#2348 closed bug (WorksForMe)

webui js crashes in opera

Reported by: pigmoney Owned by: Damien Churchill
Priority: critical Milestone: not applicable
Component: Web UI Version: 1.3.6
Keywords: Cc:

Description

in opera UI is loaded, but login popup is not displayed. Tried from chrome browser with all going OK.

Client is Opera Version 12.15, Build 1748, Platform Win32, System Windows 7
Popups and all blocking features disabled as this is my home server.


Deluge is installed from standard repo:
[root@server /var/lib/deluge/.config/deluge]# deluged -v
deluged: 1.3.6
libtorrent: 0.16.8.0
[root@server /var/lib/deluge/.config/deluge]# deluge-web -v
deluge-web: 1.3.6
libtorrent: 0.16.8.0
[root@server /var/lib/deluge/.config/deluge]# uname -a
Linux server.home 3.9.6-200.fc18.x86_64 #1 SMP Thu Jun 13 18:56:55 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

according to opera's dragonfly debugger, the exception is on line 13651 of ext-all.js, code looking like:

if (this.frame) {
  a.insertHtml("afterBegin", String.format(Ext.Element.boxMarkup, this.baseCls));
  this.createElement("header", h.firstChild.firstChild.firstChild);
  this.createElement("bwrap", h);
  k = this.bwrap.dom;
  var c = h.childNodes[1],
      b = h.childNodes[2];
  k.appendChild(c); '''<--- error here'''

Error text: Unhandled DOMException: HIERARCHY_REQUEST_ERR

Call stack:
onRender ext-all.js:13651
onRender ext-all.js:25578
render ext-all.js:8629
init ext-all.js:26145
initialize deluge-all.js:8212
(anonymous) deluge-all.js:8352
(anonymous) ext-all.js:169
Ext.util.DelayedTask ext-all.js:1332
(global)

Change History (5)

comment:1 by pigmoney, 11 years ago

Component: otherwebui
Owner: set to Damien Churchill

comment:2 by Calum, 11 years ago

Milestone: Futurenot applicable

This is not an issue in Deluge code and although it points to error in ExtJS code I would suggest you raise the issue with Opera as it only is occurring in their browser and there have been no problems like this with Opera before this point.

in reply to:  2 comment:3 by pigmoney, 11 years ago

Replying to Cas:

This is not an issue in Deluge code and although it points to error in ExtJS code I would suggest you raise the issue with Opera as it only is occurring in their browser and there have been no problems like this with Opera before this point.

Well, thanks for pointing at some direction. Although I'm not in deep js knowledge and my lame attempts to twist the code plots failed, but something catches my attention at last:

/*
 * Ext JS Library 3.4.0
 * Copyright(c) 2006-2011 Sencha Inc.
 * licensing@sencha.com
 * http://www.sencha.com/license
 */

So it is past after outdated. Considering the fast pace of changes in the browsers world. There are V4 on their site, but I don't know is it have proper license and the value of use to this project.

comment:4 by Calum, 11 years ago

The version of ExtJS is irrelevant here and ExtJS 4 is completely different.

I have just tested with Opera 12.15 Build 1748 on Windows XP and don't see any issue.

You should try reinstalling Opera.

comment:5 by Calum, 9 years ago

Resolution: WorksForMe
Status: newclosed
Note: See TracTickets for help on using tickets.