Opened 5 years ago

Closed 2 years ago

#2348 closed bug (WorksForMe)

webui js crashes in opera

Reported by: pigmoney Owned by: damoxc
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 Changed 5 years ago by pigmoney

  • Component changed from other to webui
  • Owner set to damoxc

comment:2 follow-up: Changed 5 years ago by Cas

  • Milestone changed from Future to not 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.

comment:3 in reply to: ↑ 2 Changed 5 years ago by pigmoney

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 Changed 5 years ago by Cas

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 Changed 2 years ago by Cas

  • Resolution set to WorksForMe
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.