-
13 Nov 2007 10:41 AM #1Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,167
- Vote Rating
- 29
[2.0rc1/2.0] Fx 2x winders TreeNode Shift+click fires window.open
[2.0rc1/2.0] Fx 2x winders TreeNode Shift+click fires window.open
using Fx, shift click any node.
http://extjs.com/deploy/dev/examples/tree/reorder.html
Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
13 Nov 2007 12:28 PM #2
Unable to reproduce issue in Firefox 2.0.7 or IE 7.
ext-base
Windows VistaAaron Conran
@aconran
Sencha Architect Development Team
-
13 Nov 2007 1:49 PM #3Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,167
- Vote Rating
- 29
Seems to work this way in Fx 2.x for XP
http://tdg-i.com/img/extjs/ffx_treenode_click.swf
you developers need to broaden your OS and browser scope. VMWare is free. it's easy to get a VM setup for just about every operating system including OS X 86 for mac testing.
Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
13 Nov 2007 1:52 PM #4
I agree. Probably need to get a nice setup of VmWare with a few instances to test in a variety of environments. We will take a look at this in Windows Xp.
Aaron Conran
@aconran
Sencha Architect Development Team
-
13 Nov 2007 3:28 PM #5
I have access to OSX, XP and Linux, including IE6/7, FF 1.5/2, Safari, etc. Haven't "upgraded" to Vista yet. The issue is not with access to platforms, it's knowing which platform people are seeing issues on when it's not specified...

-
13 Nov 2007 3:35 PM #6Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,167
- Vote Rating
- 29
Has anyone else been able to replicate?
Brian, i have the same feeling about Vista. But i feel it's important for me to be able to experience all aspects of what the user would experience. So on my OS X machine, i have VMs for XP, linux, and vista. I loathe vista.
Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
13 Nov 2007 3:37 PM #7
I confirmed it in FF XP. BTW, any reason you are shift-clicking? Multi-selection is not allowed on that tree. Do you know if it still does it using the MultiSelectionModel? I don't have a test case handy.
-
13 Nov 2007 3:40 PM #8
I am running Parallels, but on a MacBook Pro. Unfortunately, I got the first gen version right when they came out, so it's limited to 2Gb RAM, which somewhat sucks when running XP. Vista would bring it to a grinding halt
. I plan on buying a Mac Pro desktop soon so I can pimp it out with RAM, but I'm waiting for the new release expected shortly after Intel starts putting out their new 45 nanometer CPUs.
-
13 Nov 2007 6:12 PM #9Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,167
- Vote Rating
- 29
Shift click was an accidental find.
I am using this as an group paging interface for my employer and noticed this purely by accident.
I have a MBP -- dunno if it's 1st gen but I know this machines' limit is 3 gigs. I have 2 gigs on my beast now. Saving up for a 8 core mac pro - which is now 3,399 refurb'ed.
For browser testing, i use XP - 512MB Ram and vista at 768MB ram. for browser testing - no special software other than bare OS, it's perfect.
What's awesome is you can just 'pause' the VM, which will just save the RAM state to disk. This way you don't ahve to boot,etc. Also, parallels does a great job at optimizing the windows guest OS's w/ the compressor.
woah - waayyy off topic.

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
10 Dec 2007 2:34 PM #10
TreeNode shift+click follows link in new window
TreeNode shift+click follows link in new window
Same issue here - using Ext-2.0 on Firefox/Linux shift+click opens tree node link in new window.
1) open http://extjs.com/deploy/dev/examples/tree/reorder.html (on FF2/Linux here)
2) shift+click the tree root
3) see link followed in new window
My fix (without knowing any better) is to include shift in the modifiers that stop the event for the default tree node UI. My diff for TreeNodeUI.js looks like:
I am using a Ext.tree.MultiSelectionModel (though the example doesn't). Since shift has no functionality there, the patch seems safe to me - though I wouldn't be surprised to hear that there is some reason that ctrl is supposed to stop the event but shift isn't.Code:--- widgets/tree/TreeNodeUI.js 2007-12-10 15:07:39.000000000 -0700 +++ widgets/tree/TreeNodeUI_shifted.js 2007-12-10 15:10:52.000000000 -0700 @@ -194,7 +194,7 @@ if(!this.disabled && this.node.attributes.href && a){ this.fireEvent("click", this.node, e); return; - }else if(a && e.ctrlKey){ + }else if(a && (e.ctrlKey || e.shiftKey)){ e.stopEvent(); } e.preventDefault();
I'm interested in hearing any feedback to the above modification (and/or advice on how to build - haven't seen that yet).
Tim


Reply With Quote