[RFC] drag and drop image insertion

Note: We are moving the topics of this forum and it will be deleted at some point

Publish your own request for comments/change or patches for the next version of phpBB. Discuss the contributions and proposals of others. Upcoming releases are 3.2/Rhea and 3.3.
User avatar
prototech
Former Team Member
Posts: 53
Joined: Mon Mar 12, 2007 12:25 am

Re: [RFC] drag and drop image insertion

Post by prototech » Mon May 12, 2014 8:24 pm

Mess wrote:Calling it drag and drop is a little bit of a stretch
You drag a file, you drop it, and it starts uploading automatically. What exact behavior would need to be added for it to qualify for your definition of "drag and drop?"
leschek wrote:Then it must be some problem with my browser. It seems it works with IE 11, but not with Firefox Portable 29.0.1. Do I need to install some plugin to use this feature?
This should certainly work in Firefox. The only thing that would be required for it is to have Javascript enabled.

leschek
Registered User
Posts: 161
Joined: Tue Aug 28, 2012 1:30 pm

Re: [RFC] drag and drop image insertion

Post by leschek » Mon May 12, 2014 8:54 pm

prototech wrote:
leschek wrote:Then it must be some problem with my browser. It seems it works with IE 11, but not with Firefox Portable 29.0.1. Do I need to install some plugin to use this feature?
This should certainly work in Firefox. The only thing that would be required for it is to have Javascript enabled.
It seems that Javascript in my Firefox is enabled. Checked it on a few sites (here) and all of them shows me that JavaScript is enabled. I have a new PC and maybe I forgot to install something - I use external HD with portable apps, so I didn't install many programs.

User avatar
Mess
Registered User
Posts: 197
Joined: Wed Jun 13, 2012 10:14 am

Re: [RFC] drag and drop image insertion

Post by Mess » Mon May 12, 2014 9:15 pm

prototech wrote:
Mess wrote:Calling it drag and drop is a little bit of a stretch
You drag a file, you drop it, and it starts uploading automatically. What exact behavior would need to be added for it to qualify for your definition of "drag and drop?"
I would expect it to be dropped where I release the mouse button? Meaning I would expect it to be in the text box. Like placed inline as others have suggested.

Just providing feedback here, put the knives away. ;)

User avatar
prototech
Former Team Member
Posts: 53
Joined: Mon Mar 12, 2007 12:25 am

Re: [RFC] drag and drop image insertion

Post by prototech » Mon May 12, 2014 9:32 pm

Thank you for clarifying. ;) As I mentioned before, this was something that was postponed, I just haven't had a chance to get around to it. I created a new ticket for this since the old one seems to have vanished into thin air.

@leschek: Are you dropping the same file in IE11 and FF Portable? What type of file is it? Plupload currently ignores the dropped file if it doesn't have an allowed extension, without throwing an error (already reported to them, although they don't seem willing to change that behavior).

User avatar
nickvergessen
Former Team Member
Posts: 733
Joined: Sun Oct 07, 2007 11:54 am
Location: Stuttgart, Germany
Contact:

Re: [RFC] drag and drop image insertion

Post by nickvergessen » Tue May 13, 2014 6:39 am

prototech wrote:Plupload currently ignores the dropped file if it doesn't have an allowed extension, without throwing an error (already reported to them, although they don't seem willing to change that behavior).
They fixed it: https://github.com/moxiecode/plupload/i ... t-41131888
So we should update when they make the next release
Member of the Development-TeamNo Support via PM

leschek
Registered User
Posts: 161
Joined: Tue Aug 28, 2012 1:30 pm

Re: [RFC] drag and drop image insertion

Post by leschek » Tue May 13, 2014 3:26 pm

prototech wrote:@leschek: Are you dropping the same file in IE11 and FF Portable? What type of file is it? Plupload currently ignores the dropped file if it doesn't have an allowed extension, without throwing an error (already reported to them, although they don't seem willing to change that behavior).
Yes. It is the very same file - small picture (about 350x160px and 15kB) with extension .jpg. I tried also another portable browsers (Maxthon and Chrome) and they behave same as FF portable. I really think there is something missing on my system.

User avatar
keith10456
Registered User
Posts: 523
Joined: Sat Apr 22, 2006 10:29 pm
Contact:

Re: [RFC] drag and drop image insertion

Post by keith10456 » Tue May 13, 2014 4:09 pm

leschek wrote:
prototech wrote:@leschek: Are you dropping the same file in IE11 and FF Portable? What type of file is it? Plupload currently ignores the dropped file if it doesn't have an allowed extension, without throwing an error (already reported to them, although they don't seem willing to change that behavior).
Yes. It is the very same file - small picture (about 350x160px and 15kB) with extension .jpg. I tried also another portable browsers (Maxthon and Chrome) and they behave same as FF portable. I really think there is something missing on my system.
When writing a Reply or New Topic, after you click the Attachment tab, do you see the text, "If you wish to attach one or more files enter the details below. You may also attach files by dragging and dropping them in the message box."? It should be right above the "Add files" button.

leschek
Registered User
Posts: 161
Joined: Tue Aug 28, 2012 1:30 pm

Re: [RFC] drag and drop image insertion

Post by leschek » Tue May 13, 2014 4:23 pm

keith10456: Yes I know how to use it. It works with my IE 11 (non portable), but not with any of my portable browsers (from portableapps).

Post Reply