id summary reporter owner description type status priority milestone component version resolution keywords cc blockedby blocking 7648 Dialog: exception thrown in show() under Konqueror lucidity "dijit.Dialog,show throws a TypeError exception during normal behaviour in Konqueror 3.5.9: ""Value undefined (result of expression _window.getSelection) is not an object. Cannot be called."" This is a test case to reproduce: {{{ dijit.Dialog Konqueror Exception Test Case
Hello world!
}}} It seems that the method isCollapsed in dijit/_base/focus.js calls the getSelection method from the window object (_window, which is actually dojo.global). However the getSelection method does not exist in the window object on Konqueror. It seems to me the easy fix for this is to, as is done in other places in dojo, would be to had a simple condition to check the existence of a getSelection element in the window object. However, I think it would be highly interesting to provide a centralized, browser-agnostic system for doing text selection tasks in dojo. After looking around in the dojo code base, it seems many methods and approach are taken, haphazardly." defect closed high tbd Dijit 1.2beta wontfix isCollapsed, Konqueror, dojo.global, getSelection dominique.archambault@…