-
Notifications
You must be signed in to change notification settings - Fork 8
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
Copying a message that contains only a link will also copy the html tags. #27
Comments
@StuntsPT thanks for reporting! |
I'd look into it myself, but I've been a lot busier than what I had anticipated... and I still have #5 on my list... |
fixed :) |
Thanks! |
@StuntsPT it's not online yet since I'm not finished with the convergence modifications. Will push both soon to the feature-25 branch. |
Cool! Thanks for the heads up. |
@StuntsPT it's online now: https://github.com/tim-sueberkrueb/ubuntu-hangups/tree/feature-25 :) |
Woha! Commit 9a5ff62 is huge! |
@StuntsPT yeah, you're absolutely right, it's better and easier to follow. Will try to adapt a better committing style :) The important changes regarding this issue are: // https://github.com/tim-sueberkrueb/ubuntu-hangups/blob/feature-25/ui/ChatListItem.qml#L201
MimeData {
id: textMimeData
color: "green"
text: modelData.text // -> no-html text
} The model now holds a html and plain-text version of the message. The html is displayed while the plain text version gets send to the clipboard when the copy action is triggered. Relevant backend code: |
Thanks! That clears it up. |
Which kind of defeats the purpose of being able to copy&paste a link to the browser.
Tapping on the link also does not call the browser, but that's for another issue.
The text was updated successfully, but these errors were encountered: