Skip to content
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 text from JetBrains IDEs tries to upload the text to i.nuuls.com instead of pasting text #1688

Closed
RAnders00 opened this issue May 16, 2020 · 8 comments · Fixed by #2855
Labels
bug Something isn't working as intended, or works in a confusing/unintuitive way for the user

Comments

@RAnders00
Copy link
Collaborator

RAnders00 commented May 16, 2020

Describe the bug

To reproduce

  1. copy text from a JetBrains IDE (IntelliJ IDEA, Android Studio, PyCharm, etc...) - text can be from the terminal, the editor area, or the execution console output, and probably other places too
  2. Paste the text into the chatterino input box
  3. Popup for nuuls image uploader opens and no text is pasted into the input box

Screenshots
https://streamable.com/44fcqk
image

Chatterino version
Chatterino Nightly 2.1.7 (commit d9aab1f, )

Operating system
Windows 10. Seems to only affect Windows

Additional information

Was confirmed to affect another user, using Android Studio.

@RAnders00 RAnders00 added bug Something isn't working as intended, or works in a confusing/unintuitive way for the user needs triage and removed needs triage labels May 16, 2020
@Mm2PL
Copy link
Collaborator

Mm2PL commented May 16, 2020

@RAnders00
Copy link
Collaborator Author

This is a screenshot of InsideClipboard:

image

And as text, as the program exports it:

==================================================
Format ID         : 1
Format Name       : CF_TEXT
Handle Type       : Memory
Size              : 87
Index             : 4
==================================================

==================================================
Format ID         : 7
Format Name       : CF_OEMTEXT
Handle Type       : Memory
Size              : 87
Index             : 8
==================================================

==================================================
Format ID         : 13
Format Name       : CF_UNICODETEXT
Handle Type       : Memory
Size              : 174
Index             : 3
==================================================

==================================================
Format ID         : 16
Format Name       : CF_LOCALE
Handle Type       : Memory
Size              : 4
Index             : 7
==================================================

==================================================
Format ID         : 49295
Format Name       : Rich Text Format
Handle Type       : Memory
Size              : 337
Index             : 2
==================================================

==================================================
Format ID         : 49569
Format Name       : HTML Format
Handle Type       : Memory
Size              : 727
Index             : 1
==================================================

==================================================
Format ID         : 49574
Format Name       : UniformResourceLocator
Handle Type       : Memory
Size              : 87
Index             : 5
==================================================

==================================================
Format ID         : 50023
Format Name       : JAVA_DATAFLAVOR:application/x-java-jvm-local-objectref; class=com.intellij.codeInsight.editorActions.FoldingData
Handle Type       : Memory
Size              : 345
Index             : 6
==================================================

@Mm2PL
Copy link
Collaborator

Mm2PL commented May 16, 2020

==================================================
Format ID         : 49574
Format Name       : UniformResourceLocator
Handle Type       : Memory
Size              : 87
Index             : 5
==================================================

This seems to cause this behavior. Could you post the data?

@RAnders00
Copy link
Collaborator Author

The data is exactly the text I copied.

image

@Mm2PL
Copy link
Collaborator

Mm2PL commented May 20, 2020

note to self: solving this would require checking urls more before deciding if they should be accepted

@Mm2PL
Copy link
Collaborator

Mm2PL commented Jun 11, 2020

seems to not occur now on Chatterino 2.1.7 (commit d9aab1f6e) on Ubuntu.

@RAnders00
Copy link
Collaborator Author

RAnders00 commented Sep 7, 2020

When image uploader is disabled, the text is also not pasted like normal
image

And I cannot confirm that this has been resolved by itself. Just tried it with latest nightly. My JetBrains tools are also up-to-date. I am on Windows 10

@zneix
Copy link
Collaborator

zneix commented Sep 7, 2020

I encounter the same issue as randers do when trying to paste code from Android Studio on Windows 1909, using latest nightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended, or works in a confusing/unintuitive way for the user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants