Jump to content

Cannot paste image in editor

Moonzy

Browser, version and OS: Chrome Windows 10

 

Steps to reproduce/what were you doing before it happened?

finish typing a message in editor, try to paste image from clipboard (screenshot)

nothing would happen, right click and paste wouldn't do anything

have to refresh the page to be able to paste image (and re-type the message sometimes, it's not cached)

only 1 LTT tab open, in DM when this last occurred, but it has occurred in multiple places such as posting SU from profile

 

What did you expect to happen?

image to post and embed

 

Link to a page where it happened, if applicable: 

DM, SU, and normal thread editor afaik

-sigh- feeling like I'm being too negative lately

Link to comment
Share on other sites

Link to post
Share on other sites

Happened on mobile too, on chrome.

 

Edit: works now, at least on mobile.

Link to comment
Share on other sites

Link to post
Share on other sites

Next time it happens, can you open the dev tools (f12) to the console tab, and see if anything is logged there, and also try pasting again to see if that causes any more logs.

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

  • 4 weeks later...
On 3/5/2021 at 6:57 AM, colonel_mortis said:

Next time it happens, can you open the dev tools (f12) to the console tab, and see if anything is logged there, and also try pasting again to see if that causes any more logs.

this is the error: (the 5 repeating ones)

Spoiler

image.thumb.png.6de5fdf8b8447bf29a5e215b63b754c1.png

i think i successfully made a reply with image right before this one, but i cant be too sure if i refreshed

-sigh- feeling like I'm being too negative lately

Link to comment
Share on other sites

Link to post
Share on other sites

On 3/28/2021 at 10:00 AM, Moonzy said:

this is the error: (the 5 repeating ones)

  Hide contents

image.thumb.png.6de5fdf8b8447bf29a5e215b63b754c1.png

i think i successfully made a reply with image right before this one, but i cant be too sure if i refreshed

If you could expand the exceptions (especially the first ones that are just uncaught e, but the NOT_INIT_ERR may be useful too), that would be helpful - the NOT_INIT_ERR logs are the direct issue but I believe they're being used by the previous ones.

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, colonel_mortis said:

If you could expand the exceptions (especially the first ones that are just uncaught e, but the NOT_INIT_ERR may be useful too), that would be helpful - the NOT_INIT_ERR logs are the direct issue but I believe they're being used by the previous ones.

image.png.8e0b02b5b79523c9723f9045cad3182b.png

 

still have the tab open

-sigh- feeling like I'm being too negative lately

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Moonzy said:

image.png.8e0b02b5b79523c9723f9045cad3182b.png

 

still have the tab open

Thanks. I've managed to reproduce it now (the behaviour is the same, although I'm not getting the same logs), and I've reported it to IPS. However, it is a fairly fundamental issue with the way JS works with dialogs and stuff, so I don't know how likely it is to be fixed; certainly not until the next IPS update (coming "spring", I'm reading more like August).

 

The issue is triggered if you open a dialog containing an editor (eg report, status update), then try to paste an image in an editor not in the dialog. You should be able to work around it for now by refreshing the page after closing a dialog. If you do find other places where this is happening, please do let me know.

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, colonel_mortis said:

If you do find other places where this is happening, please do let me know.

in this instance, it happened in DM, which isnt a dialog right?

-sigh- feeling like I'm being too negative lately

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Moonzy said:

in this instance, it happened in DM, which isnt a dialog right?

No, but the screenshot of the logs is showing the same symptoms, and I wasn't able to reproduce it just using the messenger - I had to open some other dialog to trigger it. Did you definitely not open any dialogs at any time while using the messenger?

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

Actually no you're probably right - just using the messenger can cause that behaviour with the logs, but doesn't necessarily cause issues with uploading. It may still be the same root cause, but I'm not sure how to trigger it.

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

32 minutes ago, colonel_mortis said:

Did you definitely not open any dialogs at any time while using the messenger?

in that tab, perhaps while viewing a photo before replying to the message

-sigh- feeling like I'm being too negative lately

Link to comment
Share on other sites

Link to post
Share on other sites

  • 3 weeks later...

i think i have found a way to repeat it

 

in DM, open the editor, then edit a post, but cancel the edit

then paste image in the editor, it should trigger the error

 

edit: it works when i tried it here too

-sigh- feeling like I'm being too negative lately

Link to comment
Share on other sites

Link to post
Share on other sites

Thanks, that's really helpful. I've reported that repro to IPS, although given that they haven't replied to the original ticket from 3 weeks ago I don't have high hopes for a prompt resolution.

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×