-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pasting image into RTE sent both URL and attachment #3475
Comments
This worked fine for me on chrome and firefox - pasting an image uploaded without displaying the URL, and the confirmation had focus inasmuch as pressing enter confirmed the upload. Do you have a link to an example of the URL being uploaded (or a room for me to mine to track it down)? |
Okay, so Matthew demonstrated IRL that there is something peculiar going on here. To reproduce:
The alt text gets pasted into the text area, stealing the focus from the modal dialogue. |
Tried reproducing, copying an image with/without alt text using right click > Copy Image worked fine - nothing got pasted, upload was prompted. Copying an image by highlighting and then Ctrl+C only ever pasted the Alt text (or nothing if none) Windows 10 |
i wonder if the new modal dialog focus stuff magically fixed this. will check |
When I tried (Mac, Chrome 58, /develop) I found that copying (right click, copy) the image with alt text:
The same process for images without alt text worked fine (including focusing the modal) |
I can't repro on Ubuntu/Chrome so I reckon this is platform-specific to macOS. |
Does anyone who experienced this bug have High DPI enabled? Apparently Chrome had a bug that got fixed in Chome 56 at some point - https://bugs.chromium.org/p/chromium/issues/detail?id=667223 (I realise that @lampholder and @t3chguy are using 58) |
My macbook air doesn't have high DPI enabled but is still experiencing the problem on Chrome (59 now) |
@ara4n does Slate solve this one? (i couldn't reproduce in the first place) |
it does, which makes my life so much better :) fixed by matrix-org/matrix-react-sdk#1890 |
:D |
...and the upload confirmation had no focus
The text was updated successfully, but these errors were encountered: