Project

General

Profile

Bug #2043

Cliquer/Glisser ne marche pas sous firefox 4 sous MAC

Added by yann delcambre over 8 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
High
Start date:
05/30/2011
Due date:
% Done:

100%

Estimated time:
Navigateur:
Tous
Votre version de Silverpeas:
5.6
Système d'exploitation:
Votre base de données:
PostgreSQL

Description

Cliquer/Glisser ne marche pas sous firefox 4 sous MAC .

Quand on glisse un document, dans la fenetre java (qui semble s'etre bien chargé), il ne se passe rien.


Related issues

Related to Silverpeas Core - Bug #1040: Chrome + MacOs + JUploadClosed09/21/2010

Actions
Related to Silverpeas Core - Bug #1039: Safari + MacOs + JUpload sur Silverpeas 5.2+ Closed09/21/2010

Actions
Related to Silverpeas Core - Bug #4764: Glisser/Déposer impossible sous MACClosed07/25/2013

Actions
Related to Silverpeas Core - Feature #5710: Glisser / déposer en HTML5Closed06/20/2014

Actions

History

#1

Updated by Nicolas Eysseric over 8 years ago

  • Tracker changed from Bug to Support
  • Status changed from New to Feedback

A priori, il ne s'agit pas d'un problème de Silverpeas mais bien d'un problème Firefox/Mac.
Plus d'info ici notamment : http://support.mozilla.com/fr/questions/753187

#2

Updated by yann delcambre about 8 years ago

N'y a t'il pas une solution pour mes utilisateurs?

Le nombre de mise à jour est maintenant presque total et ils ne peuvent plus utiliser le cliquer/glisser silverpeas.

#3

Updated by François Cedelle about 8 years ago

J'attends aussi une solution à ce pb depuis un certains temps...

En attendant, deux moyens de contournement :

- Utiliser le copié/collé à la place du glissé/déposé. (Clique droit sur l'applet java, coller)
- Utiliser Safari. Il y a un message d'erreur après chaque glissé/déposé, mais en fait ça marche. Il suffit de rafraichir l'onglet de prévisualisation...

#4

Updated by Laurent Loiseau about 8 years ago

A priori c'est un problème qui vient de l'intégration de java et de Firefox sous Mac OS :
https://bugzilla.mozilla.org/show_bug.cgi?id=588455

#5

Updated by Emmanuel Hugonnet about 8 years ago

Le problème semble aussi se poser sur Safari 5.1
http://lists.apple.com/archives/java-dev/2011/Jul/msg00177.html
http://lists.apple.com/archives/java-dev/2011/Jul/msg00070.html
<quote>
As a workaround, you can detach the applet from the web page by holding down Cmd-Shift and dragging. The detached applet should respond correctly any DnD operations.
</quote>

#6

Updated by yann delcambre almost 8 years ago

y a t'il un action de prévu pour que le service de Cliquer/Glisser soit fonctionnel?

#7

Updated by Emmanuel Hugonnet almost 8 years ago

C'est un problème venant de chez Apple qu'il ne nous est pas possible de gérer. Aucune action n'est possible actuellement, à part faire en sorte que les clients Apple se plaignent du fait qu'Apple fournisse une version limitée et buggée du plugin Java.

#8

Updated by yann delcambre almost 8 years ago

il doit être possible de reprendre la fonctionnalité avec des langages plus standards et intégrés au navigateur comme javascript ou html5.

Est il possible de désactiver la fenêtre de cliquer/déposer quand un utilisateur se connecte a partir d'un poste apple?

#9

Updated by Emmanuel Hugonnet almost 8 years ago

HTML 5 devrait le permettre cependant le support n'est pas identique selon le navigateur et la norme est loin d'être définie (on parle de 2013).

#10

Updated by Emmanuel Hugonnet almost 8 years ago

http://css.dzone.com/articles/drag-and-drop-uploading

Ainsi que l'indique cet article l'upload via Drag and Drop ne sera possible qu'à partir de la version 10 d'Internet Explorer et il n'y a pas de support pour Opera.

#11

Updated by yann delcambre over 7 years ago

J'ai retesté depuis un mac.
L'applet java ne détecte plus le dépôt du fichier.
C'est le navigateur (firefox, chrome, safari) qui ouvre directement le document dans la page web.

#12

Updated by Emmanuel Hugonnet over 7 years ago

Comme indiqué c'est un bug de la nouvelle implémentation du plugin Java par Apple donc cela touche tous les navigateurs sur Mac OS X.

#13

Updated by yann delcambre over 7 years ago

Comme indiqué cela n'a plus le même comportement.
Avant il ne se passait rien. Maintenant la détection du dépôt n'est plus "trapé" et c'est le navigateur qui ouvre le fichier à la place.

#14

Updated by François Cedelle over 7 years ago

Bonjour,

Avec Firefox 12 et Chrome 18, nous avons toujours la même erreur.
Alors que sur le site de démo de JUpload,http://jupload.sourceforge.net/advanced_js_demo.html
l'import par copier/coller semble fonctionner bien, sans afficher d'erreur...

L'implémentation faite dans Silverpeas semble donc à l'origine du problème.

#15

Updated by Emmanuel Hugonnet over 7 years ago

  • Assignee set to Emmanuel Hugonnet

Avez vous des traces dans la console Java de votre navigateur ?
Pourriez vous nous fournir les traces :
http://jupload.sourceforge.net/howto-support.html#Give_the_debug_output

#16

Updated by François Cedelle over 7 years ago

La console java reste muette sur le site JUpload
Et voici ce que donne leur console de debug :

00127 13:53:48.648 wjhk.jupload2.JUploadApplet [DEBUG] Action : paste
00128 13:53:48.656 wjhk.jupload2.JUploadApplet [DEBUG] Creation of the DefaultFileData for /Users/felix/Desktop/Dossier-Hebergement-Mutualise-Multi-Techno.V2-1.odt(root: /Users/felix/Desktop)
00129 13:53:53.677 wjhk.jupload2.JUploadApplet [DEBUG] Action : Envoyer
00130 13:53:53.677 wjhk.jupload2.JUploadApplet [DEBUG] DefaultFileUploadThread created
00131 13:53:53.677 wjhk.jupload2.JUploadApplet [DEBUG] Using wjhk.jupload2.upload.FileUploadThreadHTTP
00132 13:53:53.678 wjhk.jupload2.JUploadApplet [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
00133 13:53:53.678 FileUploadManagerThreadImpl thread [DEBUG] Start of the FileUploadManagerThreadImpl
00134 13:53:53.678 FilePreparationThread [DEBUG] ============== Start of file preparation (Dossier-Hebergement-Mutualise-Multi-Techno.V2-1.odt)
00135 13:53:53.679 PacketConstructionThread [DEBUG] Start of PacketConstructionThread
00136 13:53:53.679 FileUploadThreadHTTP [DEBUG] Start of the FileUploadThread
00137 13:53:53.679 FilePreparationThread [DEBUG] wjhk.jupload2.upload.FilePreparationThread.prepareFiles(): before call to beforeUpload()
00138 13:53:53.679 FilePreparationThread [DEBUG] ============== End of file preparation (Dossier-Hebergement-Mutualise-Multi-Techno.V2-1.odt)
00139 13:53:53.679 FilePreparationThread [DEBUG] wjhk.jupload2.upload.FilePreparationThread.anotherFileIsReady(): before call(1) to newlyPreparedFileData.getUploadLength()
00140 13:53:53.679 FilePreparationThread [DEBUG] wjhk.jupload2.upload.FilePreparationThread.checkIfNextPacketIsReady(): before call(2) to currentFileData.getUploadLength()
00141 13:53:53.683 PacketConstructionThread [DEBUG] Poisonned UploadFileData received, PacketContructionThread will exit normally
00142 13:53:53.683 PacketConstructionThread [DEBUG] PacketConstructionThread: end of loop, the thread is about to finish
00143 13:53:53.683 FileUploadManagerThreadImpl thread [DEBUG] Waiting for fileUploadThread to die
00144 13:53:53.683 PacketConstructionThread [DEBUG] End of PacketConstructionThread
00145 13:53:53.683 FileUploadThreadHTTP [DEBUG] file Dossier-Hebergement-Mutualise-Multi-Techno.V2-1.odt: content=27445 bytes, getAdditionnalBytesForUpload=998 bytes
00146 13:53:53.684 FileUploadThreadHTTP [DEBUG] chunkHttpParam: jupart=0&jufinal=1
00147 13:53:53.684 FileUploadThreadHTTP [DEBUG] [initByteArrayEncoder] proxy=DIRECT, proxy.type=DIRECT, useProxy=false, url.host=jupload.sourceforge.net, url.port=-1
00148 13:53:53.684 FileUploadThreadHTTP [DEBUG] [onAppendHeader] Start
00149 13:53:53.685 FileUploadThreadHTTP [DEBUG] [onAppendHeader] Header appended; Cookie:
00150 13:53:53.685 FileUploadThreadHTTP [DEBUG] [onAppendHeader] Header appended; User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0
00151 13:53:53.685 FileUploadThreadHTTP [DEBUG] [onAppendHeader] End
00152 13:53:53.685 FileUploadThreadHTTP [DEBUG] [HTTPConnectionHelper append] Content-Type: multipart/form-data; boundary=
00153 13:53:53.685 FileUploadThreadHTTP [DEBUG] [HTTPConnectionHelper append] ---------------------------pefp46e1ulq
00154 13:53:53.686 FileUploadThreadHTTP [DEBUG] [HTTPConnectionHelper append]
00155 13:53:53.686 FileUploadThreadHTTP [DEBUG] [HTTPConnectionHelper append] Content-Length:
00156 13:53:53.687 FileUploadThreadHTTP [DEBUG] [HTTPConnectionHelper append] 28443
00157 13:53:53.687 FileUploadThreadHTTP [DEBUG] [HTTPConnectionHelper append]
00158 13:53:53.687 FileUploadThreadHTTP [DEBUG] [HTTPConnectionHelper append]
00159 13:53:53.687 FileUploadThreadHTTP [DEBUG] [HTTPConnectionHelper append]
00160 13:53:53.688 FileUploadThreadHTTP [DEBUG] Using non SSL socket, direct connection
00161 13:53:53.689 FileUploadThreadHTTP [DEBUG] === main header (len=338):
00161 13:53:53.689 FileUploadThreadHTTP [DEBUG] POST /upload_dummy.html HTTP/1.0\r\n
00161 13:53:53.689 FileUploadThreadHTTP [DEBUG] Host: jupload.sourceforge.net\r\n
00161 13:53:53.689 FileUploadThreadHTTP [DEBUG] Accept: */*\r\n
00161 13:53:53.689 FileUploadThreadHTTP [DEBUG] Accept-Encoding: identity\r\n
00161 13:53:53.689 FileUploadThreadHTTP [DEBUG] Connection: close\r\n
00161 13:53:53.689 FileUploadThreadHTTP [DEBUG] Cookie: \r\n
00161 13:53:53.689 FileUploadThreadHTTP [DEBUG] User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0\r\n
00161 13:53:53.689 FileUploadThreadHTTP [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------pefp46e1ulq\r\n
00161 13:53:53.689 FileUploadThreadHTTP [DEBUG] Content-Length: 28443\r\n
00161 13:53:53.689 FileUploadThreadHTTP [DEBUG] \r\n
00162 13:53:53.689 FileUploadThreadHTTP [DEBUG] === main header end
00163 13:53:53.690 FileUploadThreadHTTP [DEBUG] --- fileheader start (len=952):
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] -----------------------------pefp46e1ulq\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Disposition: form-data; name="mimetype0"\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Transfer-Encoding: 8bit\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Type: text/plain; charset=UTF-8\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] \r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] application/octet-stream\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] -----------------------------pefp46e1ulq\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Disposition: form-data; name="pathinfo0"\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Transfer-Encoding: 8bit\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Type: text/plain; charset=UTF-8\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] \r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] /Users/felix/Desktop\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] -----------------------------pefp46e1ulq\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Disposition: form-data; name="relpathinfo0"\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Transfer-Encoding: 8bit\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Type: text/plain; charset=UTF-8\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] \r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] \r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] -----------------------------pefp46e1ulq\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Disposition: form-data; name="filemodificationdate0"\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Transfer-Encoding: 8bit\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Type: text/plain; charset=UTF-8\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] \r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] 24/02/2012 14:29:34\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] -----------------------------pefp46e1ulq\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Disposition: form-data; name="File0"; filename="Dossier-Hebergement-Mutualise-Multi-Techno.V2-1.odt"\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] Content-Type: application/octet-stream\r\n
00164 13:53:53.690 FileUploadThreadHTTP [DEBUG] \r\n
00165 13:53:53.691 FileUploadThreadHTTP [DEBUG] --- fileheader end
00166 13:53:53.691 FileUploadThreadHTTP [DEBUG] in UploadFileData.uploadFile (amount:27445, getUploadLength(): 27445)
00167 13:53:53.692 FileUploadThreadHTTP [DEBUG] [HTTPConnectionHelper append]
00167 13:53:53.692 FileUploadThreadHTTP [DEBUG] -----------------------------pefp46e1ulq--
00168 13:53:53.692 FileUploadThreadHTTP [DEBUG] --- filetail start (len=46):
00169 13:53:53.692 FileUploadThreadHTTP [DEBUG] \r\n
00169 13:53:53.692 FileUploadThreadHTTP [DEBUG] -----------------------------pefp46e1ulq--\r\n
00170 13:53:53.693 FileUploadThreadHTTP [DEBUG] --- filetail end
00171 13:53:53.693 FileUploadThreadHTTP [DEBUG] wjhk.jupload2.upload.helper.ProgressBarManager.anotherFileHasBeenSent(): before call to newlyUploadedFileData.getUploadLength()
00172 13:53:53.693 FileUploadThreadHTTP [DEBUG] -------- Response Headers Start --------
00173 13:53:54.413 FileUploadThreadHTTP [DEBUG] HTTP/1.0 200 OK
00174 13:53:54.413 FileUploadThreadHTTP [DEBUG] Server: Apache/2.2.3 (CentOS)
00175 13:53:54.414 FileUploadThreadHTTP [DEBUG] Last-Modified: Fri, 24 Dec 2010 14:00:59 GMT
00176 13:53:54.414 FileUploadThreadHTTP [DEBUG] ETag: "9-498286a74dcc0"
00177 13:53:54.415 FileUploadThreadHTTP [DEBUG] Accept-Ranges: bytes
00178 13:53:54.415 FileUploadThreadHTTP [DEBUG] Cache-Control: max-age=172800
00179 13:53:54.416 FileUploadThreadHTTP [DEBUG] Expires: Thu, 19 Apr 2012 11:53:53 GMT
00180 13:53:54.416 FileUploadThreadHTTP [DEBUG] Content-Type: text/html
00181 13:53:54.416 FileUploadThreadHTTP [DEBUG] Content-Length: 9
00182 13:53:54.417 FileUploadThreadHTTP [DEBUG] Date: Tue, 17 Apr 2012 11:53:54 GMT
00183 13:53:54.417 FileUploadThreadHTTP [DEBUG] X-Varnish: 1853801809
00184 13:53:54.417 FileUploadThreadHTTP [DEBUG] Age: 0
00185 13:53:54.418 FileUploadThreadHTTP [DEBUG] X-Cache: MISS from cache.avignon.inra.fr
00186 13:53:54.418 FileUploadThreadHTTP [DEBUG] X-Cache-Lookup: MISS from cache.avignon.inra.fr:8080
00187 13:53:54.419 FileUploadThreadHTTP [DEBUG] Via: 1.1 varnish, 1.1 cache.avignon.inra.fr:8080 (squid/2.7.STABLE3)
00188 13:53:54.419 FileUploadThreadHTTP [DEBUG] Connection: close
00189 13:53:54.419 FileUploadThreadHTTP [DEBUG]
00190 13:53:54.420 FileUploadThreadHTTP [DEBUG] --------- Response Headers End ---------
00191 13:53:54.420 FileUploadThreadHTTP [DEBUG] -------- Response Body Start --------
00192 13:53:54.420 FileUploadThreadHTTP [DEBUG] SUCCESS
00193 13:53:54.420 FileUploadThreadHTTP [DEBUG] -------- Response Body End --------
00194 13:53:54.421 FileUploadThreadHTTP [DEBUG] HTTP status: 200 OK
00195 13:53:54.421 FileUploadThreadHTTP [DEBUG] After do upload
00196 13:53:54.422 FileUploadThreadHTTP [DEBUG] End of the FileUploadThread
00197 13:53:54.425 FileUploadManagerThreadImpl thread [INFO] Upload finished normally. 1 file(s) uploaded in 0 seconds. Average upload speed: 2744 (kbytes/s)

Dans Silverpeas, au chargement de l'applet voici ce que donne la console java :

Module Java 1.6.0_31
Utilisation de la version JRE 1.6.0_31-b04-415-11M3635 Java HotSpot(TM) 64-Bit Server VM
Répertoire de départ de l’utilisateur = /Users/felix[WARN] java.lang.NumberFormatException when getting the buildNumber, while parsing 'true'). Will return -1
[WARN] java.lang.NumberFormatException when getting the buildNumber, while parsing 'true'). Will return -1
JSException (class netscape.javascript.JSException: null) in DefaultUploadPolicy, trying default values.
no navigator found, reading 'debug_cookie' from system properties (null)
JSException (class netscape.javascript.JSException: null) in DefaultUploadPolicy, trying default values.
no navigator found, reading 'debug_agent' from system properties (null)
[WARN] java.lang.NumberFormatException when getting the buildNumber, while parsing 'true'). Will return -1

Après, un clic droit/coller, c'est le navigateur qui retourne une erreur (fenetre popup) :
java.lang.illegalArgumentException in JUploadPanelImpl.doStartUpload()

#17

Updated by Miguel Moquillon almost 6 years ago

  • Status changed from Feedback to Closed

La version de Silverpeas ici n'est plus supportée.
Il semblerait néanmoins qu'il y ait encore des problèmes avec l'applet du glisser/déposer sous MacOS X, ce pb est désormais traité par le bug #4764.

#18

Updated by yann delcambre almost 6 years ago

Bonjour,

Merci de ne pas fermer mon bug , mais plutot de le rattacher à l autre pour ne pas perdre la tracabilité.

Merci,

Yann DELCAMBRE

#19

Updated by Miguel Moquillon almost 6 years ago

  • Status changed from Closed to Feedback
#20

Updated by Nicolas Eysseric over 4 years ago

  • Tracker changed from Support to Bug
  • Assignee deleted (Emmanuel Hugonnet)
  • Target version set to Version 5.15
  • Navigateur changed from Firefox 4.x to Tous
  • Votre base de données set to PostgreSQL
#21

Updated by Nicolas Eysseric about 4 years ago

  • Status changed from Feedback to In progress...
  • Assignee set to Yohann Chastagnier
#22

Updated by Nicolas Eysseric almost 4 years ago

  • Status changed from In progress... to Closed
  • % Done changed from 0 to 100

Grâce à la feature #5710 (HTML5), le glisser/déposer fonctionne bien sous MacOS que ce soit avec Safari ou Firefox.

Also available in: Atom PDF