Hi Omri, Benjamin,

I've tried using firebug to manually set cursor:pointer on every involved
element with no luck; AFAICT this is a known bug/feature of FF (see [1]) ­
the cursor can't be changed.

UploadMgr works by positioning an input[type=file] with opacity:0 in top of
and completely covering the widget (i.e. in this case, the atom) and when
the user thinks they're clicking on the widget they're actually clicking on
the input button.  

In [2] (which claims to be a solution for "all browsers" but actually does
not work on Chrome and Opera), it's possible to hide (with display:none) the
input[type=file] and then simulate the user clicking on input[file] when the
user clicks on the widget; given that Chrome does not have this
cursor:pointer issue, we could browser detect and fix this.

Please go ahead and file a bug report; if you come up with a working
solution in the mean time please drop me a line and I'll include it.

[1] 
http://stackoverflow.com/questions/1537223/change-cursor-type-on-input-type-
file
[2] 
http://stackoverflow.com/questions/1537223/change-cursor-type-on-input-type-
file/8667296#8667296

John

From:  Benjamin Dreux <[email protected]>
Reply-To:  qooxdoo Development <[email protected]>
Date:  Tuesday, 22 May 2012 16:07
To:  qooxdoo Development <[email protected]>
Subject:  Re: [qooxdoo-devel] Using a qx.ui.basic.Atom as a widget for the
UploadMgr

I just tryed what you sayed, it defined the pointer property of the atom, it
works on chrome, but not with firefox.

I also set cusor property to 'pointer' for other atom next the one with
updaload behavior.
This one works perfectly with chrome and firefox.

2012/5/22 Benjamin Dreux <[email protected]>
> Currently i'm dooing the same thing with this class
> 
> qx.Class.define("xxxx.ui.UploadAtom",{
> extend:qx.ui.basic.Atom,
> include:com.zenesis.qx.upload.MUploadButton
> });
> 
> I've checked on macos/chrome
> The expected cursor is displayed.
> But on macos/firefox the text select cursor is used.
> 
> 2012/5/22 omrihar <[email protected]>
>> Hi John,
>> 
>> that's exactly what I did - actually I either used the qooxdoo property
>> "cursor" or used the css property. in both cases, after adding the atom as a
>> widget to the UploadMgr, it did not display a cursor but rather the same as
>> it would while hovering above text.
>> Is it possible to create a playground example using a contribution?
>> (I'm using FF 9 on Ubuntu)
>> 
>> Thanks,
>> Omri
>> 
>> --
>> View this message in context:
>> http://qooxdoo.678.n2.nabble.com/Using-a-qx-ui-basic-Atom-as-a-widget-for-the
>> -UploadMgr-tp7569013p7570884.html
>> Sent from the qooxdoo mailing list archive at Nabble.com.
>> 
>> 
----------------------------------------------------------------------------->>
-
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> 
> -- 
> Benjamin Dreux
> Analyste-Programmeur
> Chaire de logiciel libre-Finance Social et solidaire
> UQAM
> Montréal



-- 
Benjamin Dreux
Analyste-Programmeur
Chaire de logiciel libre-Finance Social et solidaire
UQAM
Montréal
----------------------------------------------------------------------------
-- Live Security Virtual Conference Exclusive live event will cover all the
ways today's security and threat landscape has changed and how IT managers
can respond. Discussions will include endpoint security, mobile security and
the latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___________________
____________________________ qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to