Hi, On 28.03.2014 11:28, Vishal wrote: > Hello, > > I am using QooxDoo inside a headless browser hosted by a desktop GUI window. > > I dont want users to see qx.log.Console window, when they accidentally > press F7. > > What can i do to achieve that? > > I have tried to disable the "qx.debug" variant dependency code from my > application.js. This does not solve it.
that should be enough to remove the dependency to qx.log.logger.Console. Please verify these things: Make sure you're loading the correct URL (deployment vs. development version). I lost count of how many times I've wondered why I'm not seeing my changes, only to find out I had opened the wrong URL. The only occurrence of qx.log.appender.Console in your application's code should be within Application.main, enclosed in an if block that checks qx.core.Environment.get("qx.debug"). The qx.debug variant must be disabled by the job you're using to generate the deployment version of your app ("build" by default). You can check this by running the job with the -w flag and scrolling down to the "Executing: build::build-script" section in the shell output. The "environment" map should have the key "qx.debug" with the value False. If all else fails, you can just delete the reference to qx.log.appender.Console from your Application.js. Chances are you're only using log.appender.Native (which uses the browser's own debugging console) anyway. > > Any help would be highly appreciated. > > p.s: I still want that when I debug this app, through the browser's > native window (development version), I should be able to single step > through the code etc.. > That shouldn't be affected by the log appenders at all. Regards, Daniel > > Thanks and best regards, > Vishal Sapre > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel