Hey,

some of my users have reported that the context menu in my table does
not work under Windowx / Firefox 3.5.x - as I don't have Windows at home
I never ran into this. Just checked it on a machine at work to which I
have remote access and yes, if I click the right mouse button, nothing
happens (not even the native context menu comes up).

My qx version is 1.0.2 and the code is:

_handleTableMenu: function(col, row, table, tm, menu) {

      var app = qx.core.Init.getApplication();
      var path;
      if(row != null)
        path = tm.getRowData(row).path;
      var cpybtn = new qx.ui.menu.Button("Copy",
"icon/22/actions/edit-copy.png");

      cpybtn.addListener("execute", function() {
            app.clipboard.removeAll();
            app.clipboard.push(path);
            app.clip_action = "copy";
            }, this);

      var aclbtn = new qx.ui.menu.Button("Edit Access Control List");
      var cutbtn = new qx.ui.menu.Button("Cut",
"icon/22/actions/edit-cut.png");
      var delbtn = new qx.ui.menu.Button("Delete",
"icon/22/actions/edit-delete.png");
      var renbtn = new qx.ui.menu.Button("Rename");

      menu.add(aclbtn);
      menu.add(cutbtn);
      menu.add(cpybtn);
      menu.add(renbtn);
}

I have removed the event handler code and other unnecessary stuff. On
Ubuntu / Firefox 3.5.x/3.6.x everything works.

Is that a known problem?

Thanks in advance

Jörg


------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to