Skip to content
This repository has been archived by the owner on Oct 29, 2018. It is now read-only.

Unable to paste an image to chat from the clipboard #563

Closed
Grief opened this issue Apr 11, 2017 · 13 comments
Closed

Unable to paste an image to chat from the clipboard #563

Grief opened this issue Apr 11, 2017 · 13 comments

Comments

@Grief
Copy link

Grief commented Apr 11, 2017

ScudCloud Version

ScudCloud 1.52
Python 3.5.3
Qt 5.7.1
PyQt 5.7
SIP 4.18.1

Distro and Desktop info

Ubuntu Zesty+KDE Neon

ISSUE

I cannot CTRL+V an image from the clipboard to the chat anymore since one of the recent Qt updates (probably). Also, I cannot get context menu with right click in the message text box (that which contains 'cut', 'copy' and 'paste'). Nothing happens when I click text box with right button, until I select some text.

@raelgc
Copy link
Owner

raelgc commented Apr 11, 2017

You're right, more one side effect from the migration to Qt5 :(

I'll investigate.

@Grief
Copy link
Author

Grief commented Apr 11, 2017

@raelgc I was one of the first who tried qt5 port and it was working well. I suspect that something changed in Qt5 recently. By the way, I remember there was an issue with spell checking in qt5 - mistakes were not highlighted with red. I see highlighting now but it is totally misplaced.

@Grief
Copy link
Author

Grief commented Apr 11, 2017

@raelgc your fix for right click is working now 👍 , but I am still not able to paste images :(

@raelgc
Copy link
Owner

raelgc commented Apr 11, 2017

@Grief Yeap, Qt version included in Ubuntu received several "fixes", and they broken a lot of working stuff. Mainly the image pasting, red marking and zoom scale.

@raelgc
Copy link
Owner

raelgc commented Apr 11, 2017

Interestingly, if you paste the image while the cursor is not in the message area, it'll work.

@Grief
Copy link
Author

Grief commented Apr 12, 2017

@raelgc I confirm that. For me this workaround is sufficient, thanks!

raelgc added a commit that referenced this issue Apr 19, 2017
@cayetanobv
Copy link

@raelgc thanks for this workaround! (#563 (comment))

@raelgc
Copy link
Owner

raelgc commented Apr 19, 2017

Soon I'll publish a fix for it (it's ready, waiting to be merged and published).

@cayetanobv
Copy link

@raelgc these is awesome!! Thanks again for your great work with scudcloud.

@cayetanobv
Copy link

@raelgc @Grief With 1.57 it works fine again (with the cursor in the message area). Thanks.

@raelgc
Copy link
Owner

raelgc commented Apr 21, 2017

Thank you all for raising this issue and the feedback!

@akanarsky
Copy link

akanarsky commented Feb 20, 2018

@raelgc it is not working again in 1.65 (I actually tried master) - Linux Mint 18.3
The workaround works though (paste when the cursor not in the message area)

@raelgc
Copy link
Owner

raelgc commented Mar 14, 2018

@akanarsky Slack is constantly changing their JS code, which is hard to follow. Need to debug and investigate the reason why it's not accepting the content when pasting with cursor in the message area.

Can you open a separate issue, detailing it's happening only when cursor is in the message input?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants